Skip to content

Parsing fix: preserve the stream when backtracking in list combinator#1428

Merged
fblanqui merged 5 commits into
Deducteam:masterfrom
sacerdot:fix_parser
Jun 26, 2026
Merged

Parsing fix: preserve the stream when backtracking in list combinator#1428
fblanqui merged 5 commits into
Deducteam:masterfrom
sacerdot:fix_parser

Conversation

@sacerdot

@sacerdot sacerdot commented Jun 26, 2026

Copy link
Copy Markdown
Collaborator

In the list combinator, preserve the stream using a zipper-on-steroids to implement backtracking.

TODO:

  • add KO tests

Comment thread src/parsing/lpParser.ml Outdated
Comment thread src/parsing/lpParser.ml Outdated
Comment thread src/parsing/lpParser.ml
Comment thread src/parsing/lpParser.ml Outdated
@sacerdot sacerdot requested a review from fblanqui June 26, 2026 12:36
@fblanqui fblanqui merged commit 1388e61 into Deducteam:master Jun 26, 2026
24 checks passed
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.

2 participants