From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id NAA07951; Thu, 20 Dec 2001 13:30:17 +0100 (MET) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: (from weis@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id NAA31617 for caml-list@pauillac.inria.fr; Thu, 20 Dec 2001 13:30:17 +0100 (MET) Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id JAA02371 for ; Thu, 20 Dec 2001 09:22:42 +0100 (MET) Received: from deathonastick.org (dslpppb236.phnx.uswest.net [63.224.147.236]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id fBK8Men13694 for ; Thu, 20 Dec 2001 09:22:41 +0100 (MET) Received: (from awwaiid@localhost) by deathonastick.org (8.11.4/8.11.4) id fBK8JSR23758 for caml-list@inria.fr; Thu, 20 Dec 2001 08:19:28 GMT Date: Thu, 20 Dec 2001 08:19:27 +0000 From: Brock To: caml-list@inria.fr Subject: [Caml-list] MacroHTML Message-ID: <20011220081927.B23748@deathonastick.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk 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 suggestions. 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: http://deathonastick.org/projects/ocaml/archive/mhtml-2001.12.20.tar.gz http://deathonastick.org/projects/ocaml/mhtml/ Have a lovely day, --Brock PS: My email is acting freaky, if you would like to email me personally try rbw3@cet.nau.edu ------------------- Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr