In my project when using Nearley.js and moo.js together, after multiple times of parsing, sometimes the parser would throw an error.
I find that is due to moo.js, when it resets, the queuedText is not handled.
I think when it comes to reset and save, queuedText should be no different than queuedToken .
In my project when using Nearley.js and moo.js together, after multiple times of parsing, sometimes the parser would throw an error. I find that is due to moo.js, when it resets, the
queuedText
is not handled. I think when it comes to reset and save,queuedText
should be no different thanqueuedToken
.