1
1
Fork 0
mirror of https://github.com/azur1s/bobbylisp.git synced 2024-09-28 07:17:41 +00:00
bobbylisp/README.md

22 lines
355 B
Markdown
Raw Normal View History

2022-01-21 23:43:50 +00:00
# vl
another lisp dialect
```lisp
(fun factorial [x]
(if (<= x 1)
1
(* x (factorial (- x 1)))))
(def times 7)
(do
(print (factorial times)))
```
Progress:
- [X] Lexer & Parser
2022-01-22 21:36:13 +00:00
- [ ] Syntax checker & Type checker
- [ ] Compiler
Problems:
- Parser only detect the first error and quit.
- Parser can't detect `(()))` syntax error.