Naive LISP implementation in PHP.
PHP
Switch branches/tags
Nothing to show
Pull request Compare This branch is 84 commits behind igorw:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src/Igorw/Ilias
tests/Igorw/Ilias
.gitignore
LICENSE
README.md
composer.json
phpunit.xml.dist

README.md

Ilias

Naive LISP implementation in PHP. For something more complete, check out Lisphp.

Usage

use Igorw\Ilias\Lexer;
use Igorw\Ilias\Reader;
use Igorw\Ilias\Environment;
use Igorw\Ilias\Program;

$program = new Program(
    new Lexer(),
    new Reader()
);

$env = Environment::standard();
$value = $program->evaluate('(+ 1 2)', $env);
var_dump($value);