Age | Commit message (Collapse) | Author | |
---|---|---|---|
2023-11-01 | Parser now uses updated lexer | Aryadev Chavali | |
Much simpler, uses a switch case which is a much faster method of doing the parsing. Though roughly equivalent in terms of LOC, I feel that this is more extensible | |||
2023-10-31 | Use standardised signed version of word type from base.h | Aryadev Chavali | |
2023-10-31 | parse_word deals with characters now | Aryadev Chavali | |
Just takes the character literally as a number. | |||
2023-10-31 | Changed asm/parser instruction push-reg->push.reg | Aryadev Chavali | |
2023-10-28 | asm/parser supports all opcodes, introduced parse errors | Aryadev Chavali | |
Introduced some functions to parse differing types of opcodes. Use the same style of a.b.c... for namespacing or type specification for certain opcodes. Bit hacky and not tested, but does work. Parse errors can be reported with an exact location using the token column, line. | |||
2023-10-26 | Implemented a rudimentary parser with support for 4 instruction types | Aryadev Chavali | |
2023-10-26 | Unified literal for numbers, main program now tokenises | Aryadev Chavali | |
2023-10-25 | Started working on a parser | Aryadev Chavali | |
No implementations yet |