diff --git a/Makefile b/Makefile deleted file mode 100644 index b58d63f..0000000 --- a/Makefile +++ /dev/null @@ -1,18 +0,0 @@ -NAME = hal - -all: $(NAME) - -$(NAME): - stack build - ln -fs `stack path --local-install-root`/bin/$(NAME)-exe $(NAME) - -clean: - stack clean - -fclean: - stack clean - $(RM) $(NAME) - -re: fclean all - -.PHONY: all clean fclean re $(NAME) \ No newline at end of file diff --git a/README.md b/README.md index 9075e42..da1ca00 100644 --- a/README.md +++ b/README.md @@ -1 +1,28 @@ # HAL + +A lisp interpreter in Haskell based on [Chez-Scheme](https://github.com/cisco/chezscheme). 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](https://en.wikipedia.org/wiki/Read%E2%80%93eval%E2%80%93print_loop) (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 + - [Zoe Roux](https://github.com/AnonymusRaccoon/HAL) +