Bye-bye camlp4

Written by samoht (Thomas Gazagnaire)
Classified under: project donejanitor
Published: 2016-08-24 (last updated: 2016-08-24)

My goal yesterday was to compile mirage-www without camlp4. That goal is not fully reached yet, but at least the mirage command-line tool will not force a dependency to camlp4 anymore and the HTML templating engine (CoW) is now camlp4-free. To do so, I've just have released cow.2.0.0 which now defines (untyped) XML/HTML/JSON combinators that cowabloga and mirage-www now use. The result it now online at (if you see any style breaks, please report them!).

There are still many libraries to port, but most of the ports should be easy using the camlp4-to-ppx converter. Pull-requests are welcome!