https://github.com/lautis/lisp-prolog
Implementation of a toy Lisp using Prolog
https://github.com/lautis/lisp-prolog
Last synced: 2 months ago
JSON representation
Implementation of a toy Lisp using Prolog
- Host: GitHub
- URL: https://github.com/lautis/lisp-prolog
- Owner: lautis
- License: mit
- Created: 2010-12-14T16:00:53.000Z (over 14 years ago)
- Default Branch: master
- Last Pushed: 2016-01-12T21:27:48.000Z (over 9 years ago)
- Last Synced: 2025-02-10T08:44:22.831Z (4 months ago)
- Language: Prolog
- Homepage:
- Size: 3.91 KB
- Stars: 4
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.markdown
- License: LICENSE.txt
Awesome Lists containing this project
README
Yet another toy Lisp implementation. Written in Prolog.
Developed on SWI-Prolog.
run("(defun factorial (a)
(if (eq 1 a)
1
(* a (factorial (- a 1)))))
(factorial 5)", R).
R = 120.