Snippets available here are pieces of code that one can use to modify the behaviour of Chamo or add new functionalities. The simplest way to use them is to place them in the file ~/.cameleon2/chamo.init.ml so that the code is evaluated when chamo.byte is launched.
There are two ways to retrieve these snippets:
which contains links to the pieces of code. Then it's just a matter of copy/pasting
the code somewhere to use it.
:
the archive containing the snippets is available from http://home.gna.org/cameleon/cameleon_snippets.cga.
The two following commands can be used to successively add this archive
to the known caml-get archives and add the code of module Greek_ocaml into the file ~/.cameleon2/chamo.init.ml.
caml-get update http://home.gna.org/cameleon/cameleon_snippets.cga caml-get print Cameleon.Greek_ocaml -f ~/.cameleon2/chamo.init.ml
By now, the following snippets are available:






