summaryrefslogtreecommitdiff
path: root/src/tokenizer.rs
Commit message (Collapse)AuthorAge
* Rewrite assemblerBen Bridle2024-10-28
| | | | | | | | | | This is an almost complete rewrite of the entire assembler from the ground up, with a different parsing strategy and a whole new symbol resolution mechanism for automatically including library files. The assembly syntax has also been slightly modified, with padding tokens now being prefixed with '#' instead of '$', and a block-style anonymous-label syntax which uses the '{' and '}' characters.
* Update instruction set to match final specificationBen Bridle2024-09-03
|
* Add mnemonics for alternate debug instructionsBen Bridle2024-06-09
|
* Change instruction names to match updated Bedrock specificationv2.0.0Ben Bridle2024-01-20
| | | | | | | | | - The LKD and SKD operations have been removed - SHF/SHC have been moved to after LDD/STD - SWP/ROT/DUP/OVR have been rearranged to be DUP/OVR/SWP/ROT - NOT/AND have been rearranged to be AND/NOT - PSK has been added, placed after PSH - SPL has been added, placed after POP
* Change op-codes for JMP and JCN instructionsBen Bridle2023-12-19
| | | | | | The JMP and JSR op-codes no longer include a * character, and the double-mode JCN op-codes have been changed to JSN to reflect a change in the instruction set of the Bedrock processor.
* Implement null-terminated stringsBen Bridle2023-11-26
| | | | | | Double-quoted strings are automatically terminated by null bytes, with single-quoted strings maintaining the prior non-terminated string behaviour.
* Tidy up code and commentsBen Bridle2023-11-26
|
* Implement name-spaced macrosBen Bridle2023-11-26
|
* Change operation mnemonics to reflect spec changesBen Bridle2023-11-26
|
* Implement string literalsBen Bridle2023-11-26
|
* Added detection of cyclic macro references, and made assembler binary usableBen Bridle2023-05-08
|
* About to refactor parser to be a struct with a method for each stageBen Bridle2023-05-06