* Toy implementation of Zope's TAL for OCaml
@ 2006-03-02 15:04 Bruno De Fraine
0 siblings, 0 replies; only message in thread
From: Bruno De Fraine @ 2006-03-02 15:04 UTC (permalink / raw)
To: caml-list
Hello,
I made a toy implementation of Zope's TAL (Template Attribute
Language) for OCaml, conveniently named 'Octal'. It is built on top
of Camlp4 and Xml-Light. The purpose of TAL is to have a template
that is a valid XML or HTML document that already renders like the
resulting document.
The approach employed by Octal is to preprocess the TAL template and
produce an OCaml function that takes the template parameters and that
returns the generated XML document. As such, the template is
precompiled into an evaluated form and template parameters can be
type-checked by OCaml. Octal is realized as a Camlp4 quotation.
Source code and a README with more information is available from:
http://ssel.vub.ac.be/svn-gen/bdefrain/octal/
Best regards,
Bruno De Fraine
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2006-03-02 15:04 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-03-02 15:04 Toy implementation of Zope's TAL for OCaml Bruno De Fraine
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox