caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* Re: [Caml-list] how to generate ocaml ast?
       [not found] <1095780421.1793530.1291717442907.JavaMail.root@zmbs3.inria.fr>
@ 2010-12-07 18:09 ` Daniel de Rauglaudre
  0 siblings, 0 replies; only message in thread
From: Daniel de Rauglaudre @ 2010-12-07 18:09 UTC (permalink / raw)
  To: caml-list

Hi,

On Tue, Dec 07, 2010 at 11:24:02AM +0100, Nicolas Ojeda Bar wrote:

> I am writing a compiler for a small language into ocaml.
> I can generate ocaml code and then compile that, but I was wondering
> if there was a way to directly generate ocaml AST and compile or
> execute that using camlp[45]?

With Camlp[45], you can make the OCaml compiler consider your
programs in your 'small language' as valid OCaml sources.

-- 
Daniel de Rauglaudre
http://pauillac.inria.fr/~ddr/


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-12-07 18:09 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <1095780421.1793530.1291717442907.JavaMail.root@zmbs3.inria.fr>
2010-12-07 18:09 ` [Caml-list] how to generate ocaml ast? Daniel de Rauglaudre

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).