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
I'm using Instaparse for an interactive command line REPL. I never really know when the user is done with a whole command, thanks to the ability to nest values (e.g., maplike inputs that contain the same terminator character that the command ends with.)
So I can read characters from input and build up a string but I'm not sure when to pass it to Instaparse unless I duplicate the nesting semantic outside the grammar in my reading code.
Partial parses are ideal, since I can see if any of the partials are my root production rule. As I'm doing that, I was thinking how nice it would be to offer the user a set of hints for the next allowed input.
The text was updated successfully, but these errors were encountered:
I'm using Instaparse for an interactive command line REPL. I never really know when the user is done with a whole command, thanks to the ability to nest values (e.g., maplike inputs that contain the same terminator character that the command ends with.)
So I can read characters from input and build up a string but I'm not sure when to pass it to Instaparse unless I duplicate the nesting semantic outside the grammar in my reading code.
Partial parses are ideal, since I can see if any of the partials are my root production rule. As I'm doing that, I was thinking how nice it would be to offer the user a set of hints for the next allowed input.
The text was updated successfully, but these errors were encountered: