Dylan Baker
91730231df
Saving state
před 5 roky
Dylan Baker
3b6525e29f
Prettier
před 5 roky
Dylan Baker
681a88a755
Clean up unused stuff
před 5 roky
Dylan Baker
a3e6a6df66
Move list of selfclosing tags into its own module
před 5 roky
Dylan Baker
60c6d9a24a
Don't include ="" for attributes with empty string
před 5 roky
Dylan Baker
20ab139ca7
Add doctype to list of self closing tags
I added upper and lowercase because that seemed
preferable to always casting every html function
name to lowercase.
před 5 roky
Dylan Baker
581c99f794
Rewrite AST and compiler to be more normal
před 5 roky
Dylan Baker
802884b135
Runn prettier
před 5 roky
Dylan Baker
31f584d688
Allow for self-closing tags
před 5 roky
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
před 5 roky
Dylan Baker
ebc21f694d
Redo map as each, still playing with the syntax
před 5 roky
Dylan Baker
db64e79472
Implement mapping
před 5 roky
Dylan Baker
d46f25c589
Run prettier
před 5 roky
Dylan Baker
69dc0975d0
Manage the whitespace produced by the compiler
před 5 roky
Dylan Baker
564b4808e9
Allow using variables as attribute values
před 5 roky
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.
před 5 roky