Amaan Qureshi
|
ce5f5fffc1
|
chore(generate): dedup and warn about duplicate or invalid rules
|
2024-02-11 01:28:31 -05:00 |
|
Amaan Qureshi
|
78ccc39ca9
|
fix: properly error out when the word property is an invalid rule
|
2024-02-11 00:37:23 -05:00 |
|
Amaan Qureshi
|
3d68ca4583
|
fix: inherited grammar generation
|
2024-02-10 18:25:35 -05:00 |
|
Amaan Qureshi
|
993ee75d8c
|
fix: don't add extraneous exports to the json and add missing rules to the schema
|
2024-02-07 07:10:51 -05:00 |
|
Amaan Qureshi
|
000c2f4dec
|
feat: allow the grammar to log to stdout
|
2024-02-05 00:46:34 -05:00 |
|
Amaan Qureshi
|
318d4a705a
|
fix: don't add flags if they're not present
|
2023-08-13 16:28:03 -04:00 |
|
Amaan Qureshi
|
f35752e3ac
|
feat!: support the case-insensitive regex flag
|
2023-08-06 23:40:29 -04:00 |
|
Andrew Hlynskyi
|
a331607f4e
|
dsl.js: Reuse sym() in RuleBuilder
|
2021-03-10 23:06:53 +02:00 |
|
Max Brunsfeld
|
dd4cba2625
|
Allow symbols to be used in precedence lists
|
2021-03-03 13:11:05 -08:00 |
|
Max Brunsfeld
|
344797c110
|
Implement named precedence comparison
|
2021-02-24 16:02:56 -08:00 |
|
Patrick Thomson
|
683a2da055
|
Fix crash when extras function doesn't return an array.
Fixes #745, which failed due to attempting to call `map` on a
non-array. This bails out at the same spot, but with a more
illuminating error message.
|
2020-09-30 16:21:20 -04:00 |
|
Max Brunsfeld
|
a1eee4a193
|
Catch missing precedence values in JS
Fixes #305
|
2019-04-05 13:04:12 -07:00 |
|
Max Brunsfeld
|
b79bd8693b
|
Start work on handling node supertypes
|
2019-03-26 11:51:02 -07:00 |
|
Max Brunsfeld
|
f52271352b
|
Merge branch 'master' into node-fields
|
2019-03-05 08:08:05 -08:00 |
|
Max Brunsfeld
|
a20fc3c111
|
Remove unnecessary character escape processing for regexes
Fixes #289
|
2019-03-04 10:10:04 -08:00 |
|
Max Brunsfeld
|
eb1e7af5ec
|
Normalize rule argument to field function
|
2019-02-08 17:11:58 -08:00 |
|
Max Brunsfeld
|
18a13b457d
|
Get basic field API working
|
2019-02-08 15:16:56 -08:00 |
|
Max Brunsfeld
|
5c925b3868
|
cli: Check that extra rules aren't passed to functions like 'optional'
Fixes #247
|
2019-02-06 09:31:32 -08:00 |
|
Max Brunsfeld
|
31bdf5eb97
|
Fix handling of JavaScript errors
Refs #258
|
2019-01-18 09:40:09 -08:00 |
|
Max Brunsfeld
|
d52a11fd03
|
Avoid using a string literal to pass grammar path to JS
Backslashes in windows path were getting interpeted as escape characters.
|
2019-01-17 10:09:03 -08:00 |
|
Max Brunsfeld
|
e2717a6ad1
|
Preprocess regexes to allow non-standard escape sequences
Also allow unescaped curly braces to match literal curly braces when
they don't form a valid repetition operator.
|
2019-01-14 14:05:19 -08:00 |
|
Max Brunsfeld
|
f059557a9d
|
Move parser generation code in to 'generate' module within CLI crate
|
2019-01-07 10:23:01 -08:00 |
|