Skip to content

colis-anr/morsmall

Repository files navigation

Morsmall -- A concise AST for POSIX shell

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.

Downloading, building and installing

Download

Clone the repository

git clone https://github.com/colis-anr/morsmall

Download the latest release

cf releases

Install dependencies

Morsmall depends on the following software:

Build

make

Run tests

make tests

Install

make install

This target recognises the environment variables PREFIX and LIBDIR.

Uninstall

make uninstall

This target recognises the environment variables PREFIX and LIBDIR.