Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Syntax highlighter for OCaml
OCaml CSS
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
man
LICENSE
META
Makefile
README.md
TODO
annot.ml
annot.mli
caml2html.html.mlx
caml2html.ml.mlx
caml2html.mli.mlx
caml2html_test.ml
caml2html_test2.ml
caml2html_test2.mli
depend
hashtbl2.ml
hashtbl2.mli
history.txt
input.mli
input.mll
main.ml
output.ml
output.mli
output_latex.ml
output_latex.mli
plugin.ml
plugin.mli
style.css
tag.ml
test.ml
version.ml.mlx

README.md

Caml2html

Caml2html is a command-line tool that highlights the syntax of OCaml source code.

Requirements

Caml2html needs an OCaml compiler (>= 3.00) properly installed. GNU make is required for the compilation.

Compiling

$ make      # try "make byte" if make does not work

Compiling the library (optional):

$ make lib  # try "make bytelib" if it does not work

Installing the executable

$ make install

The program is installed in the BINDIR directory specified at the first line of the Makefile (/usr/bin by default), and is named caml2html (even for bytecode option).

Uninstalling

$ make uninstall

How to run it

Type caml2html -help, or have a look at the html documentation (caml2html.html).

Authors and license

Caml2html was originally written by Sébastien Ailleret, and is now developed by Martin Jambon. It is distributed for free under a GPL license (see LICENSE file).

Something went wrong with that request. Please try again.