Files
HAL/README.md
2021-12-06 11:20:25 +01:00

771 B

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