caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Adrien <camaradetux@gmail.com>
To: "Dario Teixeira" <darioteixeira@yahoo.com>
Cc: caml-list@inria.fr
Subject: Re : [Caml-list] Syntax highlighting and Ocaml/PHP integration
Date: Wed, 1 Oct 2008 17:45:16 +0200	[thread overview]
Message-ID: <666572260810010845m38930d5embd281d7da5287b49@mail.gmail.com> (raw)
In-Reply-To: <650721.83058.qm@web54605.mail.re2.yahoo.com>

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


  parent reply	other threads:[~2008-10-01 15:45 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-01 15:21 Dario Teixeira
2008-10-01 15:27 ` [Caml-list] " Martin Jambon
2008-10-01 15:27 ` Dave Benjamin
2008-10-01 15:45 ` Adrien [this message]
2008-10-01 15:47   ` Re : Re : " Adrien
2008-10-03 15:22 ` Dario Teixeira

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=666572260810010845m38930d5embd281d7da5287b49@mail.gmail.com \
    --to=camaradetux@gmail.com \
    --cc=caml-list@inria.fr \
    --cc=darioteixeira@yahoo.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).