LISP-like interpreted language implemented in Python.
This package can be installed through PyPI:
$ pip install amalgam-lisp
This makes the amalgam
command-line script available.
$ amalgam # To invoke the REPL
$ amalgam hello.am # To load and run a file
$ amalgam --expr="(+ 42 42)" # To evaluate an expression
Install the following dependencies:
Clone and then navigate to the repository:
$ git clone https://github.com/PureFunctor/amalgam-lisp.git
$ cd amalgam-lisp
Install the dependencies for the project:
$ poetry install
$ poetry run pre-commit install
This project uses nox
for automating various tasks like running tests and building documentation.
$ nox
Alternatively, tests, coverage reports, and the documentation can be generated manually.
$ poetry run coverage run -m pytest
$ poetry run coverage report -m
$ poetry run coverage html
$ poetry run sphinx-build docs docs/build