You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Now, let's say you have a state that is itself a valid parse, but which also allows for more tokens to be generated (notice I removed the trailing whitespace):
p.next_lex('token1')
[]
The text was updated successfully, but these errors were encountered:
Minimum example:
Now, this works for incomplete parses, e.g.
Now, let's say you have a state that is itself a valid parse, but which also allows for more tokens to be generated (notice I removed the trailing whitespace):
The text was updated successfully, but these errors were encountered: