mirror of
https://github.com/azur1s/bobbylisp.git
synced 2024-10-16 02:37:40 -05:00
example | ||
src | ||
.gitignore | ||
Cargo.lock | ||
Cargo.toml | ||
README.md |
vl
another lisp dialect
(fun factorial (x)
(if (<= x 1)
1
(* x (factorial (- x 1)))))
(do
(print (factorial 7)))
Compliation flow:
Input(file) -> Parser -> Interpret(TODO)
String SExprs IO
|-> Compile(TODO)
File
Progress:
- Lexer & Parser
- Syntax checker & Type checker
- Interpreter
- Compiler
Problems:
- Parser can't detect
(()))
syntax error.