From: Richard Jones <rich@annexia.org>
To: Joel Reymont <joelr1@gmail.com>
Cc: caml-list List <caml-list@inria.fr>
Subject: Re: [Caml-list] camlp4 and quotations for c#: Two parsers needed?
Date: Thu, 1 May 2008 22:25:43 +0100 [thread overview]
Message-ID: <20080501212543.GA631@annexia.org> (raw)
In-Reply-To: <EEB40DEB-42CE-448F-A745-B65CE37E696D@gmail.com>
On Mon, Jan 28, 2008 at 10:59:15AM +0000, Joel Reymont wrote:
> I would like to introduce statements in C# into my OCaml code and have
> camlp4 convert them to my C# AST at compile time. I would also like to
> reuse the same parser used by camlp4 to parser regular C# files.
>
> Is it possible to share a parser this way or do I need a special
> parser for quotations and another parser to read C# files?
You might want to look at the implementation of PG'OCaml. It passes
SQL statements off to the database for parsing.
Rich.
--
Richard Jones
Red Hat
prev parent reply other threads:[~2008-05-01 21:25 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-28 10:59 Joel Reymont
2008-01-28 10:58 ` [Caml-list] " Jon Harrop
2008-01-28 14:34 ` Nicolas Pouillard
2008-05-01 21:25 ` Richard Jones [this message]
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=20080501212543.GA631@annexia.org \
--to=rich@annexia.org \
--cc=caml-list@inria.fr \
--cc=joelr1@gmail.com \
/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