aboutsummaryrefslogtreecommitdiff
path: root/tests/main.amal
AgeCommit message (Collapse)Author
2020-07-25Add arithmetic (binop) parsingdec05eba
2020-07-25Add variable declaration without assignmentdec05eba
2020-07-25Readd requirement for semicolon, makes things much simpler (for user as well)dec05eba
2020-07-25Use 'fn' to define closure to make parsing/reading the language easierdec05eba
It caused issues when you have parentheses to surround math expression, for example: ((func() + 34) * 54) is easier to parse if closure has to begin with 'fn'. Also removed requirement for semicolons. Semicolons can't even be used optionally yet.
2020-07-25Add string, variable and number. Fix identifier match against const and vardec05eba
2020-07-25Fix crash in parser import, optimize tokenizer_consume_if to not reparse if ↵dec05eba
already parsed
2020-07-25Use multiple threads to parsedec05eba