From command-line

March 14, 2021 ยท View on GitHub

== Zick Standard Lisp

A Lisp evaluator in Lisp.

== What's this

This is a Lisp evaluator for Zick's Lisp implementations. It supports 43 implementations as of 2021-03-14 JST.

It consists of QUOTE, IF, LAMBDA, DEFUN, SETQ, CAR, CDR, CONS, EQ, ATOM, +, *, -, /, and MOD. It provides them all, so it can run itself recursively.

== How to use

From command-line

% ./compile.sh -e "(car '(a b c))" > car.zsl % lua lualisp.lua < car.zsl a

From file

% ./compile.sh < fib5.lsp > fib5.zsl % python pylisp.py < fib5.zsl 8

Run this evaluator itself

% ./compile.sh < car.zsl > car_rec.zsl % ruby rblisp.rb < car_rec.zsl a