Skip to content

Latest commit

 

History

269 Commits

Folders and files

Repository files navigation

MadLisp

MadLisp is a Lisp interpreter written in PHP.

Requirements

The project requires PHP 8.3 or newer and Composer.

Quickstart

Create a new directory and require the project using composer:

$ mkdir mylisp
$ cd mylisp
$ composer require peklaiho/madlisp

Use the vendor/bin/madlisp executable to start the interpreter. Start the REPL with the -r option:

$ vendor/bin/madlisp -r
>

You can evaluate Lisp code interactively inside the REPL:

> (+ 1 2 3)
6

Alternatively you can evaluate a file that contains Lisp code:

$ echo "(+ 1 2 3)" > mylisp.mad
$ vendor/bin/madlisp mylisp.mad
6

Documentation

The full documentation is available on the project website.

Status

The language seems stable at this point so I am releasing it as 1.0. Please report any issues.

License

MIT

About

Lisp interpreter for the MadLisp language

Topics

Resources

Stars

5 stars

Watchers

1 watching

Forks

Releases

Used by

Contributors

Languages