Skip to content
This repository was archived by the owner on Apr 15, 2026. It is now read-only.
This repository was archived by the owner on Apr 15, 2026. It is now read-only.

How to get usable error messages? #37

@unleashy

Description

@unleashy

Hello! Lezer is a brilliant parser generator, but one thing that is bothering me is that the strict error messages are very, very bare ("No parse at 42"), not telling much.

So my question is, is there any way to get better error messages? If not through Lezer then through some sort of algorithm I could implement in my programs? I would love some pointers, as tree nodes don’t seem to have much in the way of information for error messages.

Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions