1
1
Fork 0
mirror of https://github.com/azur1s/bobbylisp.git synced 2024-09-28 05:27:35 +00:00
Another lisp dialect (mirror)
Go to file
2022-02-11 18:07:32 +07:00
example refactor: .vl -> .blsp 2022-02-11 18:07:32 +07:00
src refactor: .vl -> .blsp 2022-02-11 18:07:32 +07:00
.gitignore refactor: .vl -> .blsp 2022-02-11 18:07:32 +07:00
Cargo.lock refactor: .vl -> .blsp 2022-02-11 18:07:32 +07:00
Cargo.toml refactor: .vl -> .blsp 2022-02-11 18:07:32 +07:00
README.md fix: rename 2022-02-11 18:07:32 +07:00

bobbylisp

another lisp dialect

; example/s.blsp
(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.