|
0d1ee74ca6
|
Give a better error message when a referenced ptype has not been declared
|
2024-05-09 17:35:27 -04:00 |
|
|
f3e4941ad8
|
Allow rule terms to be marked as optional
|
2024-05-09 11:56:13 -04:00 |
|
|
494afb7307
|
Allow specifying the start rule name
|
2024-05-05 12:39:00 -04:00 |
|
|
153f9d28f8
|
Allow user to specify AST node prefix or suffix
Add ast_prefix and ast_suffix grammar statements.
|
2024-05-04 21:49:13 -04:00 |
|
|
cb06a56f81
|
Add AST generation - #22
|
2024-04-22 20:51:27 -04:00 |
|
|
2b28ef622d
|
Add specs to fully cover cli.rb
|
2024-04-06 14:37:15 -04:00 |
|
|
3eaf0d3d49
|
allow one line user code blocks - close #21
|
2024-04-02 17:44:15 -04:00 |
|
|
918dc7b2bb
|
fix generator hang when state transition cycle is present - close #20
|
2024-04-02 14:27:08 -04:00 |
|
|
5b2cbe53e6
|
Add backslash escape codes - close #19
|
2024-03-29 16:45:54 -04:00 |
|
|
fad7f4fb36
|
Allow user termination from lexer code blocks - close #15
|
2024-03-29 13:45:08 -04:00 |
|
|
24af3590d1
|
Allow user to terminate the parser - close #13
|
2024-01-03 22:32:10 -05:00 |
|
|
f152cd9da1
|
Turn on simplecov to measure code coverage
|
2023-09-25 19:38:55 -04:00 |
|
|
db6dc0e099
|
Add dspec task to test distributable script
|
2023-09-24 18:54:19 -04:00 |
|
|
3c8794058f
|
Add C backend - close #4
|
2023-08-24 09:40:01 -04:00 |
|
|
c4bcb465da
|
Remove std.stdio import and printing of unexpected tokens
|
2023-07-17 21:57:31 -04:00 |
|
|
d39fa61af0
|
Remove D language reference from test names
|
2023-07-15 14:19:30 -04:00 |
|
|
6333762414
|
Add user guide math expression example
|
2023-07-14 20:32:50 -04:00 |
|
|
653b4e00f6
|
Add testutils module with assert_eq()
|
2023-07-14 15:48:44 -04:00 |
|
|
5ce562cbc3
|
Allow configuring API prefix - close #9
|
2023-07-13 18:06:24 -04:00 |
|
|
424ddfe55a
|
Output position info for various error return codes - close #10
|
2023-07-12 19:22:44 -04:00 |
|
|
83a4037740
|
Return a lexer error on unexpected input - close #3
|
2023-07-08 10:36:58 -04:00 |
|
|
9895733a05
|
Switch unit tests from gdc to ldc2
|
2023-06-29 19:16:36 -04:00 |
|
|
e2100f6ccd
|
Move JSON parser source to standalone file
|
2023-01-16 14:59:43 -05:00 |
|
|
dbc5560aec
|
Add JSON parser test case
|
2022-11-14 23:07:10 -05:00 |
|
|
62451f3a92
|
Allow multiple test files to be compiled
|
2022-11-14 21:00:49 -05:00 |
|
|
8dc27686aa
|
Rename result_type to ptype, parser result to pvalue
|
2022-11-12 13:29:10 -05:00 |
|
|
bca0a14371
|
Allow storing a result value for a token from a lexer code block
|
2022-10-16 21:40:25 -04:00 |
|
|
ca8a360c0e
|
Provide matched text to lexer user code block
|
2022-10-15 13:37:34 -04:00 |
|
|
623c644e74
|
Work on real D strings instead of ubyte pointer and length
Also fix a couple UTF-8 decoder bugs!
|
2022-10-15 13:32:33 -04:00 |
|
|
de93d23585
|
Add test for non-LALR grammar failing to generate parser
|
2022-10-13 05:17:06 -04:00 |
|
|
ad09ff039a
|
Add spec to test parsing lists
|
2022-10-13 05:02:05 -04:00 |
|
|
727c8cd1ea
|
Execute rule user code blocks when reducing the rule
|
2022-10-13 04:56:50 -04:00 |
|
|
02be6de48e
|
Add lexer modes and $mode() code expansion
|
2022-10-09 22:49:01 -04:00 |
|
|
66d654b6b9
|
Add $token() user code block expansion
|
2022-10-02 10:43:47 -04:00 |
|
|
43fb74fe4b
|
Capture and verify stdout results from tests
|
2022-10-02 10:31:07 -04:00 |
|
|
01ef4fc27c
|
Rename some test files
|
2022-10-02 10:10:04 -04:00 |
|
|
e7e30c4f28
|
Add pattern statement
|
2022-09-30 21:05:18 -04:00 |
|
|
04367db0ac
|
Add forward slashes around patterns and parse more robustly
|
2022-09-28 23:05:01 -04:00 |
|
|
672098ad32
|
Execute user code blocks assigned to tokens
|
2022-09-24 17:31:40 -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 |
|
|
df8088c3c6
|
Clean up rule format in grammar files
|
2022-06-05 16:28:35 -04:00 |
|
|
fe607291f4
|
Use .propane extension for test grammars
|
2022-06-05 15:18:55 -04:00 |
|
|
ddadc2008b
|
Rename to propane
|
2022-05-28 20:20:03 -04:00 |
|