Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add combinators h_skip, h_seek, h_tell #193

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

pesco
Copy link

@pesco pesco commented Nov 24, 2019

Packrat only for now.

Obviously, h_skip could be implemented for regular and CF backends, too. The same probably goes for h_tell because it doesn't actually match anything. It's a fancy h_action on epsilon, basically.

Finally, if one wanted to be perverse, even h_seek can probably be made to work for the other backends. After all, it's just altering the timeline in terms of what input will appear after it... Anyway, that's not what this PR is about. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant