1
1
Fork 0
mirror of https://github.com/azur1s/bobbylisp.git synced 2024-10-16 02:37:40 -05:00
bobbylisp/README.md

355 B

vl

another lisp dialect

(fun factorial [x]
    (if (<= x 1)
        1
        (* x (factorial (- x 1)))))

(def times 7)
(do
    (print (factorial times)))

Progress:

  • Lexer & Parser
  • Syntax checker & Type checker
  • Compiler

Problems:

  • Parser only detect the first error and quit.
  • Parser can't detect (())) syntax error.