Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
[Caml-list] MacroHTML
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Brock <awwaiid@d...>
Subject: [Caml-list] MacroHTML
Howdy all,

I've written a very simple macro pre-processor for html in ocaml which may be
of interest to some here. The idea is to make the macros look and feel just
like normal html. It also has a few other small random features along the same
lines (includes, import of the result of a shell command, things like that). I
intend to keep it very simplistic, though I always welcome ideas and

It may have some code that could be useful for other tasks as well, it does do
a rough parse of the html breaking it into balanced tags for instance. The code
is not production quality (in my opinion), and as always feel free to suggest
better algorithms if you take a look at it.

And the links are:

Have a lovely day,

PS: My email is acting freaky, if you would like to email me personally
Bug reports:  FAQ:
To unsubscribe, mail  Archives: