SkillAgentSearch skills...

Ilias

Naive LISP implementation in PHP.

Install / Use

/learn @igorw/Ilias
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

Ilias

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

Check out the s-expression blog posts explaining the implementation of Ilias.

Usage

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

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

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

will output:

int(3)
View on GitHub
GitHub Stars23
CategoryDevelopment
Updated6mo ago
Forks4

Languages

PHP

Security Score

82/100

Audited on Sep 17, 2025

No findings