Browse thread
Generation of Java code from OCaml
[
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: | David Allsopp <dra-news@m...> |
| Subject: | RE: [Caml-list] Generation of Java code from OCaml |
Mykola Stryebkov wrote: > Hi, Richard. > > On 23 Вер 2009, at 22:57, Richard Jones wrote: <snip> > I'm going to use stringing bits of text together. But text generating > is not an issue here. The issue is how to make this stringing driven by > description of ocaml records. camlp4 would be the neatest, most stable way of doing this - as it sounds so similar in operation (if not function) to json-static, why not use its code as a reference/starting point? The alternative if you're happier with text processing and want to avoid the learning-curve for camlp4 would be to parse the output of `ocamlc -i` which is, in syntactic terms, canonical (where a source file is not) David