Skip to content


Subversion checkout URL

You can clone with
Download ZIP


Error Handling #2

achyan opened this Issue · 4 comments

2 participants


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


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

What type of error are you wanting more information about?


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!


Thanks for the feedback.

How do you use Amotoen? As a lein dependency?


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.