Skip to content

Latest commit

 

History

History
46 lines (30 loc) · 1.64 KB

README.md

File metadata and controls

46 lines (30 loc) · 1.64 KB

ToriLisp

An ersatz LISP for little birds.

An experiment in writing languages in JavaScript.

A code painting.

An alternative to solving jigsaw puzzles.

Introduction

Run the ToriLisp REPL in a command shell with:

node repl.js core.lisp core-tests.lisp

ToriLisp (TL) programs consists of expressions. The simplest expressions are things like numbers and strings, which evaluate to themselves.

鳥> 9
9

鳥> "quack"
'quack'

A more extensive walk-through of the language is given in the tut.txt file in this repository.

Notes

The seeds of ToriLisp come from Mary Rose Cook's lovely Little Lisp and takes the MIT license from it.

At the moment symbols are encoded as strings containing a single quote followed by the lexematic representation of the symbol. This encoding may change and should not be relied on to remain stable.

References