peklaiho/madlisp
最新稳定版本:v1.0.1
Composer 安装命令:
composer require peklaiho/madlisp
包简介
Lisp interpreter for the MadLisp language.
关键字:
README 文档
README
MadLisp is a Lisp interpreter written in PHP.
Requirements
The project requires PHP 7.4 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
统计信息
- 总下载量: 1.54k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 4
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2024-05-18