* [Caml-list] Dynamic HTML: DTD validation with phantom types
@ 2003-04-30 1:20 Thorsten Ohl
0 siblings, 0 replies; only message in thread
From: Thorsten Ohl @ 2003-04-30 1:20 UTC (permalink / raw)
To: caml-list
The source code and a trivial example are currently the only
documentation, but some people might find
http://theorie.physik.uni-wuerzburg.de/~ohl/xhtml/
useful anyway. In short, it is a translation of most XHTML 1.1
modules into a set of phantom types that allow the O'Caml typechecker
to validate dynamically generated HTML pages.
This is nothing spectacular, but might inspire somebody to create
_really_ cool hacks:
1) Since I just did a straightforward manual translation of the
DTD, an automatic translator is possible.
2) Camlp4 hacks could be very neat ...
3) ... perhaps including even a DTD parser!
Enjoy,
-Thorsten
--
Thorsten Ohl, Physics Dept., Wuerzburg Univ. -- ohl@physik.uni-wuerzburg.de
http://theorie.physik.uni-wuerzburg.de/~ohl/ [<=== PGP public key here]
-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-04-30 1:20 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-04-30 1:20 [Caml-list] Dynamic HTML: DTD validation with phantom types Thorsten Ohl
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox