That's an interesting idea and I'd love to explore it. Neotoma
currently returns the first error (rather than the last) and doesn't
wrap the error on the way out, only returning what it expected at the
leaf of the tree. (For what it's worth, not many compilers give more
help than this.)
Right now I'm stuck on the internal conversion to binaries (instead of
lists) and am looking into using QuickCheck to help with that. It may
require some rewriting. There's also some changes I'd like to do with
memoization so that the memos are not out-of-process in ets (which can
be a significant performance hit for large inputs).
Sean
That's an interesting idea and I'd love to explore it. Neotoma
currently returns the first error (rather than the last) and doesn't
wrap the error on the way out, only returning what it expected at the
leaf of the tree. (For what it's worth, not many compilers give more
help than this.)
Sean
Oh, I see what you mean. That should be easy to provide, perhaps with
a flag in the grammar that says how many bytes of input to return with
the error?
Oh, I see what you mean. That should be easy to provide, perhaps with
a flag in the grammar that says how many bytes of input to return with
the error?
Sean