Commit c82a29e
Fix parser bugs for quoted table names, nd-arrays, extractMaybeString, and resumeWal toSql
- Use stringOrQualifiedName subrule in INSERT, CREATE TABLE, and RENAME TABLE for quoted table names
- Group array subscripts by bracket pair for correct nd-array vs chained access
- Fix extractMaybeString to handle identifier subrule and IdentifierKeyword token
- Fix resumeWalToSql dual emission with else-if
- Fix arrayAccessToSql to combine subscripts as [s1, s2] for nd-arrays
- Add typecheck CI step, sort grammar lists alphabetically
- Add tests and proof tests for all fixes
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 62f0dba commit c82a29e
File tree
14 files changed
+899
-434
lines changed- .github/workflows
- src
- grammar
- parser
- tests
14 files changed
+899
-434
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| 22 | + | |
| 23 | + | |
22 | 24 | | |
23 | 25 | | |
24 | 26 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | 1 | | |
10 | 2 | | |
11 | 3 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | 1 | | |
6 | 2 | | |
7 | 3 | | |
| |||
0 commit comments