Skip to content

fogus/tori-lisp

Repository files navigation

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.

Dev

Make changes and then try them out in node or in the index.html, but run the following first:

python3 -m http.server 8888

And then visit http://localhost:8888/index.html.

References

About

an ersatz lisp for tiny birds. a code riff.

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •