Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/tatut/toplis

TOy Prolog LISp
https://github.com/tatut/toplis

Last synced: 3 days ago
JSON representation

TOy Prolog LISp

Awesome Lists containing this project

README

        

# TOPLIS

TOPLIS is a TOy Prolog LISp implementation.

This is an exercise in minimal lisp implementation and should not be used for anything
other than learning purposes!

## Running

Run with SWI-Prolog and invoke the goal `repl.` to start a REPL session.

```
% swipl toplis.pl
...
?- repl.
|: (def plus (a b) (+ a b))
=> plus
|: (plus (* 4 10) 2)
=> 42
```

Run the test suite with the goal `run_tests(toplis).`