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
the indentation is just another character for the parser, so there is not much different to other parsers. You can also use references to make sure the indentation on each line is correct (at least in simple cases, more complex code would probably need to check this in code).
Here is a very simple grammar to parse python-like function definition:
How would I parse python like languages where indentation is used to handle scope?
The text was updated successfully, but these errors were encountered: