Dylan Baker
cf57876795
Implement compiler
Just strings and numbers for now
5年前
Dylan Baker
80c7326df2
Implement missing closing “/) errors
5年前
Dylan Baker
bd4aa9d124
Fix error handling and bug where let bindings stay in scope
5年前
Dylan Baker
369853af3e
Replace compiler with evaluator
This class exposes two functions. `evalNode` take an AST node and evaluates it down to simplest terms. `eval` takes an array of AST nodes and calls evalNode on each of them. I don’t think we’re quite ready to be producing HTML yet so let’s not get ahead of ourselves.
5年前
Dylan Baker
7a9b1a6727
Create simple compiler class
Just numbers and strings for now
5年前
Dylan Baker
90d84dbb6f
Prettier
5年前
Dylan Baker
4b3ce29206
Remove resolver and compiler, add define to parser
5年前
Dylan Baker
91730231df
Saving state
5年前
Dylan Baker
681a88a755
Clean up unused stuff
5年前
Dylan Baker
581c99f794
Rewrite AST and compiler to be more normal
5年前
Dylan Baker
64e2ab8eb0
Implement some very basic error handling
It's a little hacky and not very clean but it's
working for now.
5年前
Dylan Baker
4ae6bd884b
Implement CLI
5年前