├── package.json ├── CONTRIBUTING.md ├── docs ├── 99-problems.org └── post.txt ├── test ├── index.html ├── qHint.js └── tests.js ├── rpl.js ├── tpl.js ├── repl.js ├── LICENSE ├── thoughts.org ├── README.md ├── .gitignore ├── core-tests.lisp ├── core.lisp ├── index.html ├── tut.txt └── lisp.js /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "torilisp", 3 | "description": "an ersatz lisp for little birds", 4 | "author": "fogus", 5 | "version": "0.0.1", 6 | "dependencies": { 7 | "immutable": "4.0.0-rc.9" 8 | } 9 | } 10 | 11 | -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | Thanks for contributing to ToriLisp! To get started: 2 | 3 | 1. Fork the repo, do work in a feature branch. Please include acceptance tests. 4 | 2. Add relevant, passing tests to core-test.lisp and test/tests.js 5 | 3. Issue a pull request. 6 | 7 | If you have any questions, open an issue. 8 | -------------------------------------------------------------------------------- /docs/99-problems.org: -------------------------------------------------------------------------------- 1 | #+TITLE: 99 ToriLisp Problems 2 | #+AUTHOR: Fogus 3 | #+LANGUAGE: en 4 | 5 | * 99 Problems 6 | 7 | This document is an implementation of the [[https://sites.google.com/site/prologsite/prolog-problems][99 Prolog Problems]] for ToriLisp. 8 | 9 | ** TODO 1.01 Find the last element of a list. 10 | 11 | #+name: p1_01 12 | #+begin_src lisp :tangle 99-problems.lisp :noweb yes 13 | 14 | #+end_src 15 | 16 | ** TODO 1.02 Find the last but one element of a list. 17 | 18 | #+name: p1_02 19 | #+begin_src lisp :tangle 99-problems.lisp :noweb yes 20 | 21 | #+end_src 22 | -------------------------------------------------------------------------------- /test/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |
4 | 5 |