Dylan Baker
ebae8a3536
Rework main parser logic
The way that we were doing it before was going to
make it very difficult to implement any sort of
error handling or extension to the language.
5 years ago
Dylan Baker
d82d4ed612
Don't wrap eaches in an empty function call node
Because I was assuming that every expression
started with a literal, calls to `each` were
getting wrapped by a functionCall node with no
functionName, which was subsequently ignored by
the compiler. This removes all of that uselessness
5 years ago
Dylan Baker
ebc21f694d
Redo map as each, still playing with the syntax
5 years ago
Dylan Baker
db64e79472
Implement mapping
5 years ago
Dylan Baker
d46f25c589
Run prettier
5 years ago
Dylan Baker
564b4808e9
Allow using variables as attribute values
5 years ago
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.
5 years ago
Dylan Baker
f7d7e9f46f
Fix up some stuff and add a test for parser
6 years ago
Dylan Baker
a6b691807d
Handle nested expressions
6 years ago
Dylan Baker
bdf7527409
WIP Parser
6 years ago