Cameleon2: Principles

In order to benefit from Cameleon2, one must know the way it works.
The goal of Cameleon2 is to offer tools to make the development of OCaml (and eventually other languages) applications easier. So Cameleon2 comes with:
To open views or use other features, the user uses Cameleon2 "commands". These commandes looks like simple shell script commands: a command name followed eventually by arguments. These commands can be associated to menus, buttons in the button bar and keyboard shortcuts. One can also launch a command "by hand" by using the "eval" predefined command. More commands can be defined by using plugins. The last way to launch a command is to use the "-e" option of Cameleon2 from the shell:
cameleon2.{x,byte} -e "open_view /work/cameleon2 modules"
Then the command is launched, eventually by an already launched cameleon2 (see the server). For information, the above command opens a "modules" view on the directory "/work/cameleon2".
Various views are available by default. More can be added using plugins.
The views are open with the command
open_view ressource_name view_name
The view "view_name" is then open on the ressource "ressource_name". If the view does not exist, an error message is display in the log window; this log window is displayed with the command
log_window
The following views are available:
ocamldoc -dump dump.odoc -I ... module1.ml module2.mli module2.ml ...
open_view my_view multiview /work/cameleon2 cvstree /work/caml-get modules
To complete...
Cameleon2: Principles
