[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Mirari template


Today I tried to use templates to generate the main.ml with Mirari instead of putting the source code as strings in the program.

You can checkout git://github.com/vbmithr/mirari branch template.

Basically, I added a template/main.ml file which is an OCaml file (the former generated main.ml) with optcomp directives in it.

Mirari has been modified to output a settings.ml file instead, that is included by the templated main.ml.

I don't know if it is useful or not, I just started that because I didn’t like very much the idea to have the generated code embedded in mirari.ml, and that I needed to modify it to experiment a bit with the UNIX backend.

What do you think about it, if anything ?





Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.