Skip to content

Rewrite compiler with better in-code error handling #23

@WireWhiz

Description

@WireWhiz

Right now most of the time I'm returning identical error messages through both the formatted emitter system and through anyhow results.

In the future this should be changed so that we only return detailed errors through the emitter system, and results return customized simple enums for each particular grammar concept. That way it's easier to write fallback behavior and less effort to maintain.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions