-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
Support lookahead assertions. Given a lookahead expression and a contingent sequence, here's what has to happen:
Make a lookahead state at the engine level. It will essentially be a normal expression state of [lookahead, contingent] with a bit of special sauce in handling success and failure.
- When
lookaheadsucceeds it must fail thelookaheadexpression, causingcontingentto become the best alternative - When
lookaheadfails the entire lookahead state must fail.
Metadata
Metadata
Assignees
Labels
No labels