Garritt McCune glm94
  • Joined on 2020-12-03
glm94 pushed to main at glm94/game-of-life 2022-06-02 22:40:21 -05:00
baa580fa24 Setup basic things
glm94 created repository glm94/game-of-life 2022-06-02 22:39:42 -05:00
glm94 pushed to parser at glm94/assm-test 2022-05-16 10:17:28 -05:00
947de1d14c Added support for declaring a variable with the '.db' directive. Address calculations still need to be done, but at the very least the variable's name is showing up in the symbols table.
glm94 pushed to parser at glm94/assm-test 2022-05-16 09:27:59 -05:00
3c4cce0883 Added assembler directives as a class of token.
glm94 pushed to parser at glm94/assm-test 2022-05-12 23:16:09 -05:00
5265666178 Got the Parser to, so far, correctly (minus memory leaks) parse out and report errors with opcodes and their parameters.
glm94 pushed to parser at glm94/assm-test 2022-05-12 16:30:11 -05:00
2de3538d80 Parser is now mostly setup for the 'peek and advance' pattern. Still having infinite loop issues somewhere though.
glm94 pushed to parser at glm94/assm-test 2022-05-12 15:26:23 -05:00
72525959f6 Reworked the tokens to include a broad class to make parameter matching a bit easier, and removed the hexadecimal distinction.
glm94 pushed to parser at glm94/assm-test 2022-05-10 16:03:31 -05:00
72abf6c4ab Started work on rewriting the Parser.
glm94 created branch parser in glm94/assm-test 2022-05-10 16:03:31 -05:00
glm94 pushed to main at glm94/assm-test 2022-05-06 13:55:30 -05:00
fbef044905 Added some simple symbol handling to the Parser.
glm94 pushed to main at glm94/assm-test 2022-05-05 15:10:18 -05:00
fc47bf2143 Fixed up the code a bit and fixed a memory leak bug (of course, there's still no good way to free Tokens but that'll be sorted out later).
glm94 pushed to main at glm94/assm-test 2022-05-05 11:12:44 -05:00
8ec0b9b216 Code cleanup. Converting a number lexeme to a proper integer setup but not done yet. So number tokens don't have a valid value.
glm94 pushed to main at glm94/assm-test 2022-05-04 22:58:17 -05:00
9fa48520c7 Added support for 'labels' in the Scanner.
glm94 pushed to main at glm94/assm-test 2022-05-04 22:37:57 -05:00
caeaaefbf0 Fixed a bug where numbers weren't being added to the token list (I'm very dumb it seems) and added hexadecimal support to the scanner.
glm94 pushed to main at glm94/assm-test 2022-05-04 16:50:54 -05:00
101f206dce Hooked up punctuation detection.
glm94 pushed to main at glm94/assm-test 2022-05-04 15:07:56 -05:00
859035da2a Updated the scanner to parse registers, assembly keywords and identifiers.
glm94 pushed to main at glm94/assm-test 2022-05-03 16:20:47 -05:00
2c9478d311 Attempting to declutter the lexer and tokenizer by rereolling them into the 'Scanner' object.
glm94 pushed to main at glm94/assm-test 2022-04-28 22:24:50 -05:00
1900b504e7 Setup the assembler to use the new file reading code.
glm94 pushed to refactor at glm94/clox 2022-04-04 14:44:20 -05:00
70a3118a99 'Minor' bug fix for the StatementList, forgot to set the capacity.
glm94 pushed to refactor at glm94/clox 2022-04-04 14:23:07 -05:00
842473742e Begun refactoring the Parser to generate a list of Stmt which the Interpreter will then execute (to be done).
73067fcc1f Added statements to the Parser, currently just the Print and Expression statements. 8.1 isn't quite done yet, maybe half way there.
bf59a98628 Updated the Makefile, set debug option for the compiler, and fixed all the warnings generated by gcc with O2 optimization option for release builds.
1e6bbb87d4 Cleaned up the Makefile, added the framework for checking for runtime errrors in the Interpreter and fixed a bug where I didn't close out the 'va_list' in the Match function in the Parser.
34557c92c3 Setup the Makefile to allow me to produce a release build and to create some directories if they're not there already.
Compare 15 commits »