Browse thread
RE: [Caml-list] SML->OCaml
- Harrison, John R
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| From: | Harrison, John R <johnh@i...> |
| Subject: | RE: [Caml-list] SML->OCaml |
Does this version do anything about SML programs that violate OCaml's "uppercase identifier" convention? I recently tried something similar, and while it did a competent job of parsing most of the syntax of SML, it just reported errors for SML value bindings starting with an uppercase letter. It would be nice if it just mapped such names to "lowercase_XXX" or something so that the result could at least be compiled. Or is that too "context sensitive" to be easy? John. -----Original Message----- From: caml-list-admin@yquem.inria.fr [mailto:caml-list-admin@yquem.inria.fr] On Behalf Of Martin Jambon Sent: Sunday, March 06, 2005 2:16 PM To: Konstantine Arkoudas Cc: caml-list@yquem.inria.fr Subject: Re: [Caml-list] SML->OCaml On Sun, 6 Mar 2005, Konstantine Arkoudas wrote: > I'm thinking about re-implementing a fairly large SML-NJ project > (> 20K lines) in OCaml. Is anybody aware of any tools capable > of automatically translating SML code into OCaml, at least > partially? Any info would be appreciated. Thanks. It exists but it is in the "unmaintained" section of camlp4: http://camlcvs.inria.fr/cgi-bin/cvsweb/ocaml/camlp4/unmaintained/sml/ Martin -- Martin Jambon, PhD Researcher in Structural Bioinformatics since the 20th Century The Burnham Institute http://www.burnham.org San Diego, California _______________________________________________ Caml-list mailing list. Subscription management: http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list Archives: http://caml.inria.fr Beginner's list: http://groups.yahoo.com/group/ocaml_beginners Bug reports: http://caml.inria.fr/bin/caml-bugs