···11# zexa
2233-Pyu's Extension Language
44-55-## TODO
66-77-- [X] Implement lexer
88-- [X] Implement parser and AST
99-- [X] Environment
1010-- [X] Interpreter
1111-1212-## Syntax
1313-1414-The syntax looks like Lisp:
1515-1616-```lisp
1717-;; this is a comment
1818-1919-(add 3 4) ; + is a function, it takes 1 or more arguments
2020-(sub 4 3)
2121-(mul 4 3)
2222-(div 4 3) ; all these functions corrospond to their respective mathematical operators
2323-2424-nil ; null, no value, etc.
2525-1 ; number
2626-"foobar" ; string
2727-:foobar ; atom
2828-'foobar ; quoted symbol
2929-foobar ; symbol, usually evaluates to a defined variable or nil
3030-3131-;; defun is a macro that defines a function
3232-(defun hello (x)
3333- ;; function body here
3434- )
3535-3636-```
33+This branch contains the Zig rewrite of Zexa.