Dylan Baker
c833db2f94
LOL I forgot how Lisp works
преди 5 години
Dylan Baker
3e5a873054
Prettier :/
преди 5 години
Dylan Baker
b83126524d
Make all functions lambdas for now
преди 5 години
Dylan Baker
bffecce670
Add lambdas
преди 5 години
Dylan Baker
90d84dbb6f
Prettier
преди 5 години
Dylan Baker
4b3ce29206
Remove resolver and compiler, add define to parser
преди 5 години
Dylan Baker
3b6525e29f
Prettier
преди 5 години
Dylan Baker
f77ad26a69
Allow empty strings
преди 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
802884b135
Runn prettier
преди 5 години
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 години
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 години
Dylan Baker
ebc21f694d
Redo map as each, still playing with the syntax
преди 5 години
Dylan Baker
db64e79472
Implement mapping
преди 5 години
Dylan Baker
d46f25c589
Run prettier
преди 5 години
Dylan Baker
564b4808e9
Allow using variables as attribute values
преди 5 години
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 години
Dylan Baker
f7d7e9f46f
Fix up some stuff and add a test for parser
преди 6 години
Dylan Baker
a6b691807d
Handle nested expressions
преди 6 години
Dylan Baker
bdf7527409
WIP Parser
преди 6 години