-
-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
C-chirprelates to the cuicui_chirp file format crate specificallyrelates to the cuicui_chirp file format crate specificallyT-error handlingHas to do with how we handle errorsHas to do with how we handle errors
Description
For example, we could use it to show more error messages.
- When using commas, non-methods (such as string literals) in the method zone (suggest template call syntax if similar name, or not using commas)
- When several subsequent identifiers are found in statement position (suggest string literal or single name)
- Heuristic to parse unbalanced tokens in method position
- When using semicolons after statements
An option is also to have a secondary parser that accepts a broader syntax and logs error on encountering syntax that diverges with the main parser. We would call the secondary parser when finding syntax errors in the file. This way, we keep the "happy path" fast, while making the "sad path" more informative if a bit slower.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
C-chirprelates to the cuicui_chirp file format crate specificallyrelates to the cuicui_chirp file format crate specificallyT-error handlingHas to do with how we handle errorsHas to do with how we handle errors