Dylan Baker
d46f25c589
Run prettier
пре 6 година
Dylan Baker
d60e736fec
Allow using special characters in literals
пре 6 година
Dylan Baker
4ae6bd884b
Implement CLI
пре 6 година
Dylan Baker
69dc0975d0
Manage the whitespace produced by the compiler
пре 6 година
Dylan Baker
564b4808e9
Allow using variables as attribute values
пре 6 година
Dylan Baker
ef0845237f
Allow whitespace while between quotes
What was happening was that spaces were allowed in
all literals to account for quoted strings, but
this meant that two identifiers in a row would get
parsed as a single literal. This commit sets a
flag to allow whitespace in literals when a quote
is encountered and then unsets that flag at the
next quote.
пре 6 година
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.
пре 6 година
Dylan Baker
f7d7e9f46f
Fix up some stuff and add a test for parser
пре 7 година
Dylan Baker
a6b691807d
Handle nested expressions
пре 7 година
Dylan Baker
0bd9afe74b
Fix broken lexer test
пре 7 година
Dylan Baker
d746573773
Fix lexer
пре 7 година
Dylan Baker
bdf7527409
WIP Parser
пре 7 година
Dylan Baker
5c8194cc44
Package lock
пре 7 година
Dylan Baker
fdee6a6367
Use classes after all
пре 7 година
Dylan Baker
22512cf334
Somehow I wasn't initializing variables?
пре 7 година
Dylan Baker
cd6eccabb1
Update prettier config
пре 7 година
Dylan Baker
190d19a7a1
Initial commit
пре 7 година