Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
* Looking for a nail
@ 1999-01-24 21:06 Miles Egan
  1999-01-24 23:01 ` Lyn A Headley
  1999-01-25 12:45 ` Michel Schinz
  0 siblings, 2 replies; 22+ messages in thread
From: Miles Egan @ 1999-01-24 21:06 UTC (permalink / raw)
  To: caml-list

I've been working with OCaml on my own for the past two weeks or so and
think I'm finally ready to take on a real project.  I feel like I've just come
upon a beautiful new hammer and I want to find some nails to hit with it.

I'd like to work on something that might help raise OCaml's visibility among
the Linux hacker community.  A few projects have occurred to me already:

1.  Extend OCaml's Unix library.  What's already there is very useful, but
there are quite a few functions missing.  I'd be happy to help fill this out,
although I'm new enough to OCaml and functional programming that I'm still not
sure if some Unix functions were omitted because of their stateful semantics.

2.  Build a GTK+ wrapper.  I know there was some discussion of this earlier. 
Is anyone still working on this?  I think a robust, comprehensive GTK+
interface would make OCaml a stronger candidate for a lot of burgeoning
open-source projects.  Again, I'm new enough to this that I'm still not sure if
languages like OCaml are a good fit for GUI work, but it seems to me that
OCaml's mix of imperative and functional features should provide enough
flexibility for something like this.

3.  Rewrite some of the GNU build tools, autoconf, automake etc. in OCaml.  It
seems to me that OCaml would be a marvelous language for building these kinds
of tools; their current m4 / perl implementation seems inelegant to me.  On the
other hand, the FSF seems to favor scheme, so they may not be receptive to
OCaml implementations ( I haven't asked ).

I'd appreciate any criticisms of these projects or any suggestions for others. 
My goal is to do my small part to promote OCaml ( while having fun hacking
with it ) and to try to show the open-source community what a boon a tool like
OCaml can be.  With a bit of luck, maybe one day I can earn a living writing
OCaml instead of C++. :)

--
miles




^ permalink raw reply	[flat|nested] 22+ messages in thread
* Re: Looking for a nail
@ 1999-01-25 20:53 Hendrik Tews
  1999-01-26 19:20 ` Ian T Zimmerman
                   ` (3 more replies)
  0 siblings, 4 replies; 22+ messages in thread
From: Hendrik Tews @ 1999-01-25 20:53 UTC (permalink / raw)
  To: Caml Mailing List

Hi,

   Miles> hammer and I want to find some nails to hit with it.
   
1. Bringing ocamletags to live again. I keep a copy, which
compiles under 2.01 and reads 2.01 files, but does not create
much tags for classes. I am willing to through this into the
pool (if Francois Rouaix agrees).

2. The yacc and lex interface of ocaml could be a tuned up. Some
ideas:

- use a oo interface for lexers and parsers, this would provide a
much butter way of adding state information to lexers and parsers
[cf Christian Lindig's mail "Proposal for new Lexing Module
(long)" from Mon, 18 Jan 1999] 
by simply inheriting from the library classes.

- adding start conditions a la flex to ocamllex

- adding a tool for generating perfect hash functions for keyword
recognition a la gperf; It would be great, if the hash function
generator could read the set of keywords from annotations in the
.mly file. I have a rather primitive version, which could be used
as a starting point.

Bye,

Hendrik




^ permalink raw reply	[flat|nested] 22+ messages in thread
* RE: Looking for a nail
@ 1999-01-28 13:32 Don Syme
  1999-01-29  0:25 ` Markus Mottl
  1999-01-31 18:43 ` John Whitley
  0 siblings, 2 replies; 22+ messages in thread
From: Don Syme @ 1999-01-28 13:32 UTC (permalink / raw)
  To: caml-list


> I'm not sure this is such a good idea for CAML. The non-OO part of
> CAML is quite mature, while the OO part is more like research. Forcing
> everybody to use CAML as an OO language is IMHO not a very nice thing.
> I do not use the OO part of CAML at all right now, and I'm pretty sure
> I'm not the only one. I think we need more experience with the OO part
> of CAML (or, more fundamentally with OO programming in a functional
> language) before choosing to use it for basic types.

Yes, I'd be interested to see a really convincing use of the utility of the
OO features, e.g. a program or library which is manifestly shorter, cleaner
and/or simpler when expressed with OO rather than the core features.  I
guess people can take this as a challenge if they like :-)  I'm open to be
convinced - but I'm not convinced yet.

That said, Xavier mentions the match between COM & Ocaml, which is a good
sign!

Cheers,
Don

------------------------------------------------------------------------
At the lab:                                     At home:
Microsoft Research Cambridge                    11 John St
St George House                                 CB1 1DT
Cambridge, CB2 3NH, UK
Ph: +44 (0) 1223 744797                         Ph: +44 (0) 1223 722244
http://research.microsoft.com/users/dsyme
email: dsyme@microsoft.com
   "You've been chosen as an extra in the movie
        adaptation of the sequel to your life"  -- Pavement, Shady Lane
------------------------------------------------------------------------




^ permalink raw reply	[flat|nested] 22+ messages in thread
* Re: Looking for a nail
@ 1999-01-29  0:45 Frank A. Christoph
  0 siblings, 0 replies; 22+ messages in thread
From: Frank A. Christoph @ 1999-01-29  0:45 UTC (permalink / raw)
  To: caml-list

>Another interesting project would be a Corba interface, as Gnome and KDE
>want to use Corba. Then Ocaml would be one of the most elegant ways to
>write desktop applications.

It's almost not worth mentioning because it's completely untested, but since everyone else is getting in on the act, I'll say that I have a mostly-complete CORBA IDL lexer and parser (but no compiler) lying around (written in Ocaml, of course). If anyone wants to use it as a starting point, send me some mail.

--FC


^ permalink raw reply	[flat|nested] 22+ messages in thread

end of thread, other threads:[~1999-02-03 11:02 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-01-24 21:06 Looking for a nail Miles Egan
1999-01-24 23:01 ` Lyn A Headley
1999-01-25  8:44   ` Jean-Christophe Filliatre
1999-01-25 20:45     ` Markus Mottl
1999-01-25 13:36   ` mattwb
1999-01-25 20:48     ` Trevor Jim
1999-01-25 21:57   ` Gerd Stolpmann
1999-01-25 12:45 ` Michel Schinz
1999-01-25 20:37   ` Markus Mottl
1999-01-28  9:54     ` Michel Schinz
1999-01-28 14:13       ` Markus Mottl
1999-01-25 20:53 Hendrik Tews
1999-01-26 19:20 ` Ian T Zimmerman
1999-01-28  1:30   ` John Prevost
1999-01-28 20:10   ` Hendrik Tews
1999-01-27  1:29 ` Jacques GARRIGUE
1999-01-27  8:27 ` Jean-Christophe Filliatre
1999-01-28  9:34 ` Cuihtlauac ALVARADO
1999-01-28 13:32 Don Syme
1999-01-29  0:25 ` Markus Mottl
1999-01-31 18:43 ` John Whitley
1999-01-29  0:45 Frank A. Christoph

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox