Browse thread
Syntax highlighting and Ocaml/PHP integration
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: | 2008-10-01 (15:45) |
From: | Adrien <camaradetux@g...> |
Subject: | Re : [Caml-list] Syntax highlighting and Ocaml/PHP integration |
Hi, You might try Highlight[1] and Caml2html[2]. I know I've tried Highlight but I simply can't remember how the result looked like, most probably because I needed to write to a tex file (I still don't know if there's anything with color support). Caml2html generates nice pages but only supports the ocaml language, it's written in ocaml however. OK, tried hightlight again... Its output is less colorized than vim's but still alright and this can be changed. It's GPLv2. The drawback is that it's written in C++ so probably not the best solution if you want to hack it. (* I've been going through (p)7zip to write bindings, why does C++ have to be that horrible ? *) The code might be perfectly understandable though, I've not looked at it. [1] http://www.andre-simon.de/doku/highlight/highlight.html [2] http://martin.jambon.free.fr/caml2html.html --- Adrien Nader