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
:auto-whitespace feature is awesome and I will like to propose we use (abuse?) the , marker in ebnf to optionally apply its logic, i.e. add support for something like the followings:
:auto-whitespace-on-comma -> insert whitespace detector if , exists between tokens
:auto-whitespace-on-no-comma -> insert whitespace detector if , doesn't exist between tokens
The text was updated successfully, but these errors were encountered:
I'm going back through some of the instaparse issues I missed, and came across your feature request. I'd be happy to extend the default auto-whitespace parsers, but I'm not totally clear on how your idea differs from the built-in :auto-whitespace :comma option. Can you provide some example inputs and outputs that show your desired behavior? Thanks for the suggestion.
:auto-whitespace
feature is awesome and I will like to propose we use (abuse?) the,
marker in ebnf to optionally apply its logic, i.e. add support for something like the followings::auto-whitespace-on-comma
-> insert whitespace detector if,
exists between tokens:auto-whitespace-on-no-comma
-> insert whitespace detector if,
doesn't exist between tokensThe text was updated successfully, but these errors were encountered: