• Joined on 2024-10-17
omicron commented on issue omicron/oas#16 2025-04-16 11:33:19 +00:00
grammar doesn't work for single instruction zero operands

fixed by #17

omicron deleted branch fix_parser_bugs from omicron/oas 2025-04-16 11:32:48 +00:00
omicron pushed to main at omicron/oas 2025-04-16 11:32:48 +00:00
00272d69bf Add regression test for parse zero operands at eof
2385d38608 Prune the parse tree of NODE_NEWLINE after parsing succeeds
242fd9baa5 Fix grammar not being able to disambiguate some instructions
1574ec6249 Fix parse_consecutive behavior when the token stream runs out
Compare 4 commits »
omicron merged pull request omicron/oas#17 2025-04-16 11:32:47 +00:00
Fix zero operand parser bugs
omicron created pull request omicron/oas#17 2025-04-16 11:32:20 +00:00
Fix zero operand parser bugs
omicron pushed to fix_parser_bugs at omicron/oas 2025-04-16 11:19:35 +00:00
00272d69bf Add regression test for parse zero operands at eof
2385d38608 Prune the parse tree of NODE_NEWLINE after parsing succeeds
242fd9baa5 Fix grammar not being able to disambiguate some instructions
1574ec6249 Fix parse_consecutive behavior when the token stream runs out
Compare 4 commits »
omicron created branch fix_parser_bugs in omicron/oas 2025-04-16 11:19:35 +00:00
omicron opened issue omicron/oas#16 2025-04-16 00:09:00 +00:00
grammar doesn't work for single instruction zero operands
omicron opened issue omicron/oas#15 2025-04-15 23:22:34 +00:00
the last instruction fails to parse if it's a zero operand instruction
omicron opened issue omicron/oas#14 2025-04-15 13:52:28 +00:00
first encoding pass should estimate/determine instruction size
omicron opened issue omicron/oas#13 2025-04-15 12:48:44 +00:00
operand_size_t is in between exact values and masks, clean that up
omicron pushed to encoding_start at omicron/oas 2025-04-14 22:06:50 +00:00
7b2cee0533 Add first encoding pass
3a164de8d4 Add register and number values to AST nodes
32ca7b942c Add initial limited opcode data
43ea0042b6 Add registers data table
Compare 4 commits »
omicron opened issue omicron/oas#12 2025-04-14 21:47:47 +00:00
Add error list of some kind
omicron pushed to encoding_start at omicron/oas 2025-04-09 17:51:01 +00:00
b16ba10b0d Add symbols tests
678e71129d initial symbol table implementation
fba3cd6660 Add .import and .export to the input test file
cf59c1e75b Make main properly return with failure on parsing errors
c932c3c609 Add .import and .export directive to the grammar and parser
Compare 8 commits »
omicron closed issue omicron/oas#10 2025-04-08 23:21:09 +00:00
parsing error for comment followed by label
omicron commented on issue omicron/oas#10 2025-04-08 23:21:09 +00:00
parsing error for comment followed by label

Fixed by #11

omicron deleted branch parse_issue_10 from omicron/oas 2025-04-08 23:20:46 +00:00
omicron pushed to main at omicron/oas 2025-04-08 23:20:46 +00:00
92c63092a1 Add regression test for trivia at the head of tokenlist
5560de2904 Make sure parse skips past initial trivia in the tokenlist
Compare 2 commits »
omicron merged pull request omicron/oas#11 2025-04-08 23:20:44 +00:00
parse_issue_10
omicron created pull request omicron/oas#11 2025-04-08 23:20:28 +00:00
parse_issue_10