mirror of
https://github.com/zoriya/HAL.git
synced 2025-12-05 22:26:34 +00:00
master
HAL
A lisp interpreter in Haskell based on Chez-Scheme. This was a thrid year project at Epitech.
Supported features
- Ints, Floats, Bools, Symbols & Strings
- Cons (aka lists)
- Procedures (via a define or a lambda)
- REPL (Read, Evaluate, Print & Loop)
- Strange shenanigans of Chez-Scheme (for example
'(quote 3)yields'3)
Builtins
- define, let, lambda
- quote
- cons, car, cdr
- eq?, atom?
- +, -, *, div, mod, <
Usage
./hal [-i] [FILES]
-i: to use REPL feature
[FILES]: list of files to run. If -i is specified, the files are run before prompting the user
Authors
Description
Languages
Haskell
96%
NewLisp
4%