Will Lillis
253003ccf8
fix(generate): warn users when extra rule can lead to parser hang
...
When a *named* rule in the extras is able to match the empty string,
parsing can hang in certain situations (i.e. near EOF).
(cherry picked from commit ac171eb280 )
2025-08-29 23:32:57 -04:00
Will Lillis
94b55bfcdc
perf: reorder expensive conditional operand
...
(cherry picked from commit 5ed2c77b59 )
2025-07-12 20:17:47 +02:00
Will Lillis
d7529c3265
perf: reserve Vec capacities where appropriate
...
(cherry picked from commit 1e7d77c517 )
2025-07-09 22:33:57 -04:00
WillLillis
23e0891cd5
fix(cli): improve error message for nonterminals used in token rule
2025-01-13 01:12:20 -05:00
Amaan Qureshi
52ef2992aa
feat(generate): properly filter out unused rules
2025-01-12 04:47:59 -05:00
WillLillis
867433afd7
feat(rust): use thiserror for generate crate
...
Co-authored-by: Amaan Qureshi <amaanq12@gmail.com>
2025-01-05 00:27:12 -05:00
Max Brunsfeld
201b41cf11
feat: add 'reserved word' construct
...
Co-authored-by: Amaan Qureshi <amaanq12@gmail.com>
2024-12-23 03:06:32 -05:00
Amaan Qureshi
274e60a523
fix: clippy lints
2024-11-16 03:20:59 -05:00
Amaan Qureshi
49bda0e2c5
fix(generate): filter out unused rules in other spots
2024-10-03 19:32:09 -04:00
Amaan Qureshi
99a0ddc4c2
fix(generate): remove unused rules
2024-10-03 16:40:51 -04:00
Amaan Qureshi
31f24395b4
feat: move generate logic to its own crate
2024-09-27 17:04:21 -04:00