Dylan Baker
3b6525e29f
Prettier
5年前
Dylan Baker
681a88a755
Clean up unused stuff
5年前
Dylan Baker
a3e6a6df66
Move list of selfclosing tags into its own module
5年前
Dylan Baker
60c6d9a24a
Don't include ="" for attributes with empty string
5年前
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.
5年前
Dylan Baker
581c99f794
Rewrite AST and compiler to be more normal
5年前
Dylan Baker
802884b135
Runn prettier
5年前
Dylan Baker
31f584d688
Allow for self-closing tags
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
69dc0975d0
Manage the whitespace produced by the compiler
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年前