Dylan Baker
76c6eac9b5
Implement conditionals
Currently I'm relying on JavaScript's semantics
around truthiness. I think I'm going to retain
that ease of use (i.e. `(if list #t #f)` should
return true if the list has more than 0 elements,
etc) but I want to specify that behavior myself.
7年前
Dylan Baker
3e5a873054
Prettier :/
7年前
Dylan Baker
b83126524d
Make all functions lambdas for now
7年前
Dylan Baker
bffecce670
Add lambdas
7年前
Dylan Baker
90d84dbb6f
Prettier
7年前
Dylan Baker
4b3ce29206
Remove resolver and compiler, add define to parser
7年前
Dylan Baker
497af0aa34
Implement test helper functions
7年前
Dylan Baker
f77ad26a69
Allow empty strings
7年前
Dylan Baker
581c99f794
Rewrite AST and compiler to be more normal
7年前
Dylan Baker
64e2ab8eb0
Implement some very basic error handling
It's a little hacky and not very clean but it's
working for now.
7年前
Dylan Baker
d46f25c589
Run prettier
7年前
Dylan Baker
564b4808e9
Allow using variables as attribute values
7年前
Dylan Baker
709986560e
First try at the compiler
No variables or conditionals or anything yet, just
the basic ability to turn s-expressions into HTML.
7年前
Dylan Baker
f7d7e9f46f
Fix up some stuff and add a test for parser
7年前