Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Error Handling #2

Open
achyan opened this Issue · 4 comments

2 participants

@achyan

Hi Richard, is there a way to identify the line on which an error occurred?

@richard-lyman

Not easily, but I've been wanting to improve the error feedback.

What type of error are you wanting more information about?

@achyan

If a document doesn't match the grammar, I'd want to know at what point of the parsing the text could no longer be matched to the grammar. It'd be nice to know the line number, or at least the line of text that failed and the attempted rules that failed to match. Thanks!

@richard-lyman

Thanks for the feedback.

How do you use Amotoen? As a lein dependency?

@achyan

Yes, that would be my approach. I haven't started using it though. I'm still evaluating whether or not it can satisfy all my requirements, and having line numbers in error messages is pretty important.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.