Skip to content

Error Handling #2

Open
achyan opened this Issue Aug 28, 2012 · 4 comments

2 participants

@achyan
achyan commented Aug 28, 2012

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

@richard-lyman
Owner

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

What type of error are you wanting more information about?

@achyan
achyan commented Aug 28, 2012

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
Owner

Thanks for the feedback.

How do you use Amotoen? As a lein dependency?

@achyan
achyan commented Aug 28, 2012

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.