|
a4c5546876
|
Disable parser debug output
|
2022-09-27 12:33:23 -04:00 |
|
|
4d716f6c10
|
Remove Token#c_name; use given token case in token constants
|
2022-09-25 14:48:49 -04:00 |
|
|
672098ad32
|
Execute user code blocks assigned to tokens
|
2022-09-24 17:31:40 -04:00 |
|
|
38ae5ac7a1
|
Split Token class into Token/Pattern
|
2022-09-15 22:46:44 -04:00 |
|
|
bf075a69f6
|
Test matching a semicolon
|
2022-07-23 22:25:17 -04:00 |
|
|
b682c72b17
|
Add semicolon to end of all grammar statements
|
2022-07-23 22:09:19 -04:00 |
|
|
382e17804c
|
Test SLR grammar
|
2022-06-27 21:06:03 -04:00 |
|
|
30f4cfcc99
|
Write parser log file
Fix bug of skipping rule set IDs.
Remove unneeded out_sets from ItemSet class.
|
2022-06-26 11:06:55 -04:00 |
|
|
2fbe13e071
|
Do not consume lookahead token when reducing
|
2022-06-25 21:35:54 -04:00 |
|
|
f2cc5b112e
|
Handle shifting states after reducing
|
2022-06-25 16:16:20 -04:00 |
|
|
84c4a16ce6
|
Start on Parser.parse()
|
2022-06-21 23:03:00 -04:00 |
|
|
df8088c3c6
|
Clean up rule format in grammar files
|
2022-06-05 16:28:35 -04:00 |
|
|
ba74d0a20a
|
Reduce maximum code point value to not interfere with magic code point values used by parser
|
2022-06-05 15:24:40 -04:00 |
|
|
fe607291f4
|
Use .propane extension for test grammars
|
2022-06-05 15:18:55 -04:00 |
|
|
f37801ec9e
|
Store tokens and drop tokens separately
|
2022-06-05 14:36:19 -04:00 |
|
|
7598c589fe
|
Detect other invalid UTF-8 encodings
|
2022-05-31 22:26:09 -04:00 |
|
|
ddadc2008b
|
Rename to propane
|
2022-05-28 20:20:03 -04:00 |
|
|
746ec89be8
|
Add test for a rule that can be arrived at from multiple states
|
2021-09-21 21:40:11 -04:00 |
|
|
850e639e3a
|
update identical rule spec to use lookahead symbol
|
2021-09-06 20:18:17 -04:00 |
|
|
bdb10e7afc
|
test duplicate rules
|
2021-09-05 09:50:04 -04:00 |
|
|
08e3516ad9
|
Add wikipedia LR(0) parser example test
|
2021-09-04 22:33:34 -04:00 |
|
|
6026bf1514
|
Start building following item sets
|
2021-08-29 09:41:00 -04:00 |
|
|
2e16b0bd6e
|
Start on Item and ItemSet
|
2021-08-28 09:02:19 -04:00 |
|
|
00016f16b3
|
Combine Grammar and Generator into top-level Imbecile class
|
2021-08-22 21:04:46 -04:00 |
|
|
9459883e74
|
Add Lexer class; Move LexerDFA to Lexer::DFA
|
2021-08-18 17:09:45 -04:00 |
|
|
2685c05360
|
Change rule syntax
|
2021-07-19 21:55:08 -04:00 |
|
|
c0c3353fd7
|
Test lexing empty null string returns EOF
|
2021-07-06 12:06:07 -04:00 |
|
|
3158e51059
|
Add length field to LexedToken
|
2021-07-06 11:59:35 -04:00 |
|
|
d9e4f64d2e
|
Fix returning TOKEN_EOF when lexing at EOF
|
2021-07-06 11:55:44 -04:00 |
|
|
e8df4296cc
|
Begin testing lexer
|
2021-07-06 11:09:39 -04:00 |
|
|
1271e19b50
|
Test multi-byte code point decoding
|
2021-07-06 11:02:43 -04:00 |
|
|
12e11399af
|
Add decoder tests
|
2021-07-06 10:57:06 -04:00 |
|
|
ca7d4862f9
|
Run test executable; build with unit tests
|
2021-07-06 10:03:42 -04:00 |
|
|
3c874ae4c1
|
Compile generated parser with a test file
|
2021-07-05 23:05:55 -04:00 |
|
|
a716dedeb6
|
Start on test framework to compile and run generated parser
|
2021-06-26 16:17:24 -04:00 |
|
|
61dd5bc5a0
|
Move imbecile_spec to lexer_dfa_spec
|
2021-06-26 16:01:49 -04:00 |
|
|
db70f8b94d
|
Add "drop" grammar keyword to drop patterns
|
2021-06-09 22:48:30 -04:00 |
|
|
f67dd62b20
|
Add \s to expand to whitespace characters
|
2021-06-09 22:37:00 -04:00 |
|
|
c6bac6d3a1
|
Rename TokenDFA -> LexerDFA
|
2021-06-08 13:54:46 -04:00 |
|
|
aa92970c31
|
Add some lexer tests
|
2021-06-07 22:21:52 -04:00 |
|
|
b8282e748e
|
Start on a test lexer for lexer specs
|
2021-06-07 17:17:37 -04:00 |
|
|
8473df421a
|
Add specs for CodePointRange
|
2021-05-23 20:41:40 -04:00 |
|
|
3987f08cd7
|
Add CodePointRange class
|
2021-05-23 17:52:20 -04:00 |
|
|
24054461a2
|
Merge Regex::Parser into Regex, move Unit to its own file
|
2021-05-18 16:14:42 -04:00 |
|
|
39f164a7db
|
Parse . in a regex
|
2021-05-17 17:20:56 -04:00 |
|
|
70b3e56de2
|
Store all characters as ranges; add CharacterClassUnit#to_nfa
|
2021-05-14 13:52:03 -04:00 |
|
|
2e8e72a1e8
|
Add CharacterClassUnit and use it instead of AlternatesUnit
|
2021-05-14 12:32:53 -04:00 |
|
|
201a38fb51
|
Add Parser specs
|
2021-05-11 15:29:40 -04:00 |
|
|
8cd648fc8f
|
Create spec file for Parser
|
2021-05-07 16:58:38 -04:00 |
|
|
60adffbbab
|
Add rspec
|
2021-05-07 15:16:01 -04:00 |
|