Age | Commit message (Collapse) | Author | |
---|---|---|---|
2023-10-31 | Changed asm/parser instruction push-reg->push.reg | Aryadev Chavali | |
2023-10-29 | Added a "usage" message and colours for assembler | Aryadev Chavali | |
Prints useful and pretty messages when verbose being at least 1. | |||
2023-10-28 | Introduce error reporting in asm/main | Aryadev Chavali | |
Pretty simple implementation, I've stopped printing the tokens cos I think the lexer is done. | |||
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-28 | Ignore comments (using semicolons) in lexer | Aryadev Chavali | |
Easier to do it here than at the parser. | |||
2023-10-28 | Introduced a column and line for each token | Aryadev Chavali | |
Accurate error reporting can be introduced using this. | |||
2023-10-26 | Plugged in asm/parser to asm/main | Aryadev Chavali | |
Just prints instructions so far. | |||
2023-10-26 | Implemented a rudimentary parser with support for 4 instruction types | Aryadev Chavali | |
2023-10-26 | Added support in lexer for negative numbers | Aryadev Chavali | |
Though we deal with unsigned numbers internally, it should be possible to read and manipulate negative numbers through 2s complement. Later on we'll add support for signed operations via 2s complement, so this should be allowed. | |||
2023-10-26 | asm/main now uses TOKEN_STREAM_AT | Aryadev Chavali | |
2023-10-26 | Lexer forces uppercase for symbols | Aryadev Chavali | |
2023-10-26 | Auto fill licenses | 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 | |||
2023-10-25 | Separated lexer from main file in asm | Aryadev Chavali | |
2023-10-24 | Wrote lexer for assembly | Aryadev Chavali | |
Pretty simple tokeniser, doesn't do a lot and needs to error check better. | |||
2023-10-23 | Starting development on assembly language | Aryadev Chavali | |