Parser: cover full Jai corpus
This commit is contained in:
@@ -13,12 +13,11 @@
|
||||
- Comment/uncomment support and brace matching, including `.{` and `.[`
|
||||
- Grammar-Kit parser and PSI for the whole language: declarations, procedures,
|
||||
structs, enums, unions, control flow including the `if x == { case }` switch
|
||||
form, and compiler directives. 91.9% of the 714-file Jai distribution parses
|
||||
with no syntax errors.
|
||||
form, and compiler directives. The full 714-file Jai distribution parses with
|
||||
no syntax errors; `JaiCorpusParserTest` is ratcheted at 100%.
|
||||
|
||||
### Known gaps
|
||||
|
||||
- 58 files in the Jai distribution still report a syntax error; each involves a
|
||||
construct used in only one or two files. `#asm` bodies are parsed as opaque
|
||||
blocks.
|
||||
- `#asm` bodies are parsed as opaque blocks, so their assembly instructions do
|
||||
not have inner PSI.
|
||||
- Structure view, folding, and go-to-definition are not implemented yet.
|
||||
|
||||
Reference in New Issue
Block a user