Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-07-25 | Add pub keyword, more import stuff, optimize hash map | dec05eba | |
Hash map now stores hash of keys to reduce the number of hash operations. Positive: faster insert/get. Negative: more space required (to store usize hash). | |||
2020-07-25 | Add struct, import caching, binop ops etc | dec05eba | |
2020-07-25 | Load @import files relative to the file that uses @import | dec05eba | |
2020-07-25 | Fail compilation on error | dec05eba | |
2020-07-25 | Add single line, multiline comments | dec05eba | |
2020-07-25 | Add check for duplicate variable names | dec05eba | |
2020-07-25 | Fix hash_map_get not returning value | dec05eba | |
2020-07-25 | Fix hash map bug with reorder nodes | dec05eba | |
2020-07-25 | Add hash map | dec05eba | |
2020-07-25 | Add arithmetic (binop) parsing | dec05eba | |
2020-07-25 | Add variable declaration without assignment | dec05eba | |
2020-07-25 | Readd requirement for semicolon, makes things much simpler (for user as well) | dec05eba | |
2020-07-25 | Use 'fn' to define closure to make parsing/reading the language easier | dec05eba | |
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-25 | Add string, variable and number. Fix identifier match against const and var | dec05eba | |
2020-07-25 | Fix crash in parser import, optimize tokenizer_consume_if to not reparse if ↵ | dec05eba | |
already parsed | |||
2020-07-25 | Use multiple threads to parse | dec05eba | |