-
-
Notifications
You must be signed in to change notification settings - Fork 48
Open
Labels
enhancementNew feature or requestNew feature or requestparserRelated to Ezno's syntax parser, AST definitions and outputRelated to Ezno's syntax parser, AST definitions and output
Description
Hi there!
I tried writing some code in the playground that had multiple parsing errors, but only the last error was surfaced to me:
// https://kaleidawave.github.io/ezno/playground/?id=32i0hs
let a =
let b =
if true {
}
// Expected OpenParentheses found Keyword(True)
I was wondering if error recovery and trying to surface multiple parser errors is something in scope for the project or not.
Since the project's focus is on static analysis and runtime performance, I imagine the friendliness of parsing errors might be more of a backlog thing (especially given that any error recovery mechanism is a best guess). But I figured I'd ask anyway since surfacing more errors can sometimes improve the live coding experience with a compiler.
Feel free to close if this issue isn't relevant. Thanks again for working on this project!
kaleidawave
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestparserRelated to Ezno's syntax parser, AST definitions and outputRelated to Ezno's syntax parser, AST definitions and output