mirror of
https://github.com/azur1s/bobbylisp.git
synced 2024-09-28 07:17:41 +00:00
17 lines
217 B
Markdown
17 lines
217 B
Markdown
# 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
|
|
- [ ] Compiler |