$Id: README 22 2003-08-18 02:26:46Z db $
OVERVIEW:
asdl2caml is a generator of Objective Caml code
by Abstract Syntax Definition Language specifications.
The generator is written solely in Objective Caml.
FEATURES:
The generator supports only ASDL module constructs.
It does not support views yet.
Output of a generator is not too pretty printed.
Use camlp4 for better results.
INSTALLATION:
You should have ocamlc, ocamlyacc and ocamllex in
your path. If you platform is supported by ocamlopt,
you should have it in your path too, to be able
to compile native-code version of asdl2caml.
1) Run ./configure.
Configure accepts the following parameters:
-bindir
Directory to install executables to.
-libdir
Directory to install library to.
By default, bindir is an ocamlc dir, and libdir
is ocaml library dir.
2) Run "make" in a directory where you untar
the distribution. Run "make opt" to compile native code
version.
3) Become root if necessary and run "make install".
This will install the following files in bindir
(chosen at configure step):
asdl2caml -- byte-code version of asdl2caml
asdl2camlo -- native code version of asdl2caml
asdl2caml-pp -- shell script that runs output of asdl2caml
through camlp4 to pretty print it.
asdl2caml and camlp4 must be in path.
asdl2camlo-pp -- the same as above, but with native-code versions .
caml-pp.sh -- shell script to pretty print ocaml files in place
caml-ppo.sh -- native-code version of the above
and the following files in libdir:
asdl.cma -- byte-code version of run-time library
asdl.cmxa -- native-code version of the above
identifier.mli -- Identifier module interface
asdlBase.cmi -- AsdlBase module interface
4) Installation is complete
LICENSE:
ASDL-to-Caml translator
Copyright (c) Dmitri Lomov, 2000. Copying Policy GNU GPL.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
Support library is free software; you can redistribute it and/or modify
it under the terms of the GNU Library Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License and GNU Library Public License
for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
AUTHOR:
Dmitri Lomov
e-mail: dsl@tepkom.ru
snail-mail:
Russia,
195030 St.-Petersburg
ul.Kubinskaya 60-46
(please in the same order as above)