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/ _______________________________________________ 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