From: "David Allsopp" <dra-news@metastack.com>
To: <caml-list@yquem.inria.fr>
Subject: RE: [Caml-list] Generation of Java code from OCaml
Date: Thu, 24 Sep 2009 09:03:52 +0100 [thread overview]
Message-ID: <001a01ca3ced$8ef58050$ace080f0$@metastack.com> (raw)
In-Reply-To: <B025ECCE-AADF-48A6-8F9B-D5C5D9FAB2E3@mykola.org>
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
next prev parent reply other threads:[~2009-09-24 8:04 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-09-23 18:15 Mykola Stryebkov
2009-09-23 19:57 ` [Caml-list] " Richard Jones
2009-09-23 22:54 ` Mykola Stryebkov
2009-09-24 8:03 ` David Allsopp [this message]
2009-09-24 9:45 ` blue storm
2009-09-24 11:18 ` Martin Jambon
2009-09-24 12:02 ` blue storm
2009-09-24 12:19 ` Martin Jambon
2009-10-03 12:16 ` Anil Madhavapeddy
2009-10-03 17:27 ` blue storm
2009-10-03 18:29 ` Anil Madhavapeddy
2009-09-26 7:37 ` ygrek
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='001a01ca3ced$8ef58050$ace080f0$@metastack.com' \
--to=dra-news@metastack.com \
--cc=caml-list@yquem.inria.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox