glm94
|
e69d4208df
|
Updated the parser and setup the opcodes.c file to include helper functions to build up an Opcode object. I don't like how this is setup at the moment but seems to be a decent way to handle things for now.
|
2025-10-16 23:43:15 -05:00 |
|
glm94
|
013925e2ba
|
Added StringVAppend to append via a format and va_args list.
|
2025-06-30 23:52:49 -05:00 |
|
glm94
|
1475601f6a
|
Marked the sync functions as noreturn so GCC knows this and fixed an incorrect function call to ParserExpectList.
|
2025-06-29 23:00:23 -05:00 |
|
glm94
|
c86c424c6f
|
Create a simple, Pascal like, string to help create messages for the parser. Added a function in the Parser that accepts many TokenTypes and reports the list of types if a sync is required.
|
2025-06-29 22:25:09 -05:00 |
|
glm94
|
39320c7b69
|
Added back a way to stringify the TokenType. Updated the way the Parser syncs and added the start of parsing of opcodes.
|
2025-06-28 23:59:14 -05:00 |
|
glm94
|
428556a7a1
|
Updated the parser to be able to correctly sync via a longjmp. Fixed a few bugs in the tokenizer, like not allowing underscores in symbol / label names and taught it how to detect a label declaration. Fixed the code that gets the register name.
|
2025-06-26 23:24:03 -05:00 |
|
glm94
|
3a5788f4ab
|
Cleaned up the TokenStringify function and started toying with ways to handle syncing in the parser.
|
2025-06-26 00:36:37 -05:00 |
|
glm94
|
b759589e84
|
Lots of changes and too much dragging my feet on this. But I think this is going in the right direction now.
|
2025-06-24 23:48:26 -05:00 |
|
glm94
|
ebfd7cf94c
|
Fixed a bug where the tokenizer wasn't parsing hexadecimal numbers correctly. Added support for tokenizing the colon and comma characters.
|
2025-01-08 23:22:43 -06:00 |
|
glm94
|
428d674f54
|
Cleaned up the TokenStringify function a bit (ignore the returning of a local variable) and updated the tokenizer to better handle new lines.
|
2025-01-08 02:40:05 -06:00 |
|
glm94
|
6d3f90183e
|
Added support for number literals and punctuation.
|
2025-01-08 01:39:10 -06:00 |
|
glm94
|
6039918707
|
Added support for string literals in the tokenizer.
|
2025-01-08 00:26:08 -06:00 |
|
glm94
|
7e70c6fd19
|
Created a tokenizer and the supporting code, currently processes text that is not a string literal.
|
2025-01-07 23:52:03 -06:00 |
|
glm94
|
2c85077031
|
Added / started some infrastructure / boilerplate code.
|
2024-10-30 00:28:11 -05:00 |
|
glm94
|
8923a2006d
|
Init
|
2024-10-24 20:58:09 -05:00 |
|