This library is a small wrapper around Morbig. Morbig provides a parser and a CST representation of POSIX shell scripts which may contain too much information for certain uses.
Morsmall provides a converter from Morbig's CST to an AST that aims to be easely understandable and manipulable. It also provides a printer from that AST to Shell.
This program is a free software licensed under the GNU General Public License, version 3. Please refer to the LICENSE.
git clone https://github.com/colis-anr/morsmall
cf releases
Morsmall depends on the following software:
- OCaml ≥ 4.04.0
- Morbig
- ppx_deriving ≥ 4.2.0
- Dune with ocaml-migrate-parsetree
- OPAM
make
make tests
make install
This target recognises the environment variables PREFIX
and LIBDIR
.
make uninstall
This target recognises the environment variables PREFIX
and LIBDIR
.