Dylan Baker
c833db2f94
LOL I forgot how Lisp works
5 anni fa
Dylan Baker
90d84dbb6f
Prettier
5 anni fa
Dylan Baker
4b3ce29206
Remove resolver and compiler, add define to parser
5 anni fa
Dylan Baker
3b6525e29f
Prettier
5 anni fa
Dylan Baker
581c99f794
Rewrite AST and compiler to be more normal
5 anni fa
Dylan Baker
c7c40f7df7
Implement number and boolean types
5 anni fa
Dylan Baker
ebc21f694d
Redo map as each, still playing with the syntax
5 anni fa
Dylan Baker
db64e79472
Implement mapping
5 anni fa
Dylan Baker
d60e736fec
Allow using special characters in literals
5 anni fa
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.
5 anni fa
Dylan Baker
0bd9afe74b
Fix broken lexer test
6 anni fa
Dylan Baker
d746573773
Fix lexer
6 anni fa
Dylan Baker
fdee6a6367
Use classes after all
6 anni fa
Dylan Baker
22512cf334
Somehow I wasn't initializing variables?
6 anni fa
Dylan Baker
190d19a7a1
Initial commit
6 anni fa