#
7163eb34 |
|
19-Jun-2008 |
Anthony Fox <anthony.fox@cl.cam.ac.uk> |
Added EmitML.emitCAML for exporting to Ocaml. This has required a fair amount of hackery, none of which should effect emitML. In particular, CAML constructors must start with an uppercase letter and other values must not. Also, types can't start with a lowercase letter. Constructors are added to the constants map with ConstMapML.insert_cons. (I will eventually check-in the script for generating CAML versions of the code emitted to src/theoryML.)
|