Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Syntax highlighter for OCaml
OCaml Makefile CSS
Branch: master

Merge pull request #2 from dra27/windows-build

Handle .exe for Windows building
latest commit 8136d34ff4
@mjambon authored
Failed to load latest commit information.
man Copied manpage over from the Debian package (to do: install it as part
LICENSE First import (caml2html post 1.3.0)
META Fixed Makefile-related stuff.
Makefile Handle .exe for Windows building
README.md Trailing-whitespace cleanup
TODO Trailing-whitespace cleanup
annot.ml Trailing-whitespace cleanup
annot.mli Added support for the .annot format emitted by ocaml 3.11 (contribution
caml2html.html.mlx Trailing-whitespace cleanup
caml2html.ml.mlx Trailing-whitespace cleanup
caml2html.mli.mlx Trailing-whitespace cleanup
caml2html_test.ml Trailing-whitespace cleanup
caml2html_test2.ml Trailing-whitespace cleanup
caml2html_test2.mli First import (caml2html post 1.3.0)
depend Trailing-whitespace cleanup
hashtbl2.ml Trailing-whitespace cleanup
hashtbl2.mli Trailing-whitespace cleanup
history.txt Changed version in Makefile
input.mli Trailing-whitespace cleanup
input.mll Trailing-whitespace cleanup
main.ml Trailing-whitespace cleanup
output.ml Trailing-whitespace cleanup
output.mli Escape '<' and '>' in ocamldoc comments (patch by Hendrik Tews)
output_latex.ml Trailing-whitespace cleanup
output_latex.mli Trailing-whitespace cleanup
plugin.ml Trailing-whitespace cleanup
plugin.mli Trailing-whitespace cleanup
style.css First import (caml2html post 1.3.0)
tag.ml Trailing-whitespace cleanup
test.ml Trailing-whitespace cleanup
version.ml.mlx First import (caml2html post 1.3.0)

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.