Closed rekado closed 4 years ago
Per PR #101 I have removed the call/cc
continuations but your code still contains them as it is based on a version before the PR is merged. Can you please base your changes on the latest code? I have also added two test methods for the parser. See #115
I've rebased the commits (and fixed a bug that I introduced in the earlier versions). The tests all pass.
I'm curious if anything is blocking the merge. The tests pass and this is the foundation of further simplifications to the parser code. If there's something wrong with the results please let me know so that the tests can be adapted.
@rekado I will merge the PR after I test it locally today. Sorry for not responding sooner :)
This is a very conservative set of changes to the parser module intended to simplify and clarify the intent of the code.
With these changes the tests still pass, but the parser tests are too simple to catch any serious problems.
I thought it would make sense to simplify the code before attempting to rewrite it in terms of
read
.