Josh Holtrop josh
josh pushed to master at josh/propane 2022-06-15 23:27:22 -04:00
53d97150d1 Add RuleSet#start_token_set
josh pushed to master at josh/propane 2022-06-14 23:32:13 -04:00
74f02c1bd9 Determine the possibly-empty RuleSets
josh pushed to master at josh/propane 2022-06-14 23:01:07 -04:00
5e866b219c Clean up ItemSet#close!
josh pushed to master at josh/propane 2022-06-14 22:57:13 -04:00
a91bf2f250 Clean up parser ItemSet processing
josh pushed to master at josh/propane 2022-06-14 07:36:02 -04:00
0f1c00d1a6 Add RuleSet#could_be_empty?
291509f005 Add Rule#empty?
c1769503a8 Add Item#complete?
8b152abaa7 Add ItemSet#leading_item_sets
Compare 4 commits »
josh pushed to master at josh/propane 2022-06-07 22:25:41 -04:00
d6e5c4325d Add new start rule ending with EOF token rather than appending EOF token to all user-specified start rules
josh pushed to master at josh/propane 2022-06-06 22:31:02 -04:00
2837dfda6b Add Rule#id
josh pushed to master at josh/propane 2022-06-06 22:30:34 -04:00
03cdedef8b Add Rule#id
josh closed issue josh/propane#1 2022-06-06 14:19:31 -04:00
Drop tokens are stored in @tokens with ID key
josh closed issue josh/propane#2 2022-06-06 14:19:22 -04:00
Rule sets have IDs
josh pushed to master at josh/propane 2022-06-05 18:12:17 -04:00
9d850294a9 Clean up and comment Item and ItemSet
josh pushed to master at josh/propane 2022-06-05 16:28:39 -04:00
df8088c3c6 Clean up rule format in grammar files
josh pushed to master at josh/propane 2022-06-05 15:24:44 -04:00
ba74d0a20a Reduce maximum code point value to not interfere with magic code point values used by parser
josh pushed to master at josh/propane 2022-06-05 15:18:58 -04:00
fe607291f4 Use .propane extension for test grammars
josh pushed to master at josh/propane 2022-06-05 15:16:45 -04:00
c42c3576a5 Remove RuleSet creation from Grammar
josh pushed to master at josh/propane 2022-06-05 14:58:05 -04:00
ca6a93a4c5 Move generation logic to new Generator class
josh pushed to master at josh/propane 2022-06-05 14:40:44 -04:00
b1d5cddab4 Change Token constructor to take a Hash of all parameters
josh pushed to master at josh/propane 2022-06-05 14:36:23 -04:00
f37801ec9e Store tokens and drop tokens separately
josh pushed to master at josh/propane 2022-06-05 14:18:41 -04:00
6f1ce32775 Move Lexer::DFA#build_tables to Lexer
josh pushed to master at josh/propane 2022-06-05 10:23:37 -04:00
57a3e9d9f6 Move grammar parsing into new Grammar class