We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi, I want to make a grammar with Python-style indentation. In Python:
def stuff(): if True: if True: for i in range(2): print(i) print("YAY")
How would I make INDENT and DEDENT tokens using better-parse? I couldn't find any better-parse examples or tests showcasing how to do this.
INDENT
DEDENT
The text was updated successfully, but these errors were encountered:
Hey, Have you figured it out how to do it?
Sorry, something went wrong.
I wasn't able to unfortunately.
@Cormanz @OnufryKlaczynski Please take a look at this comment: #63 (comment) I hope it helps, let me know if it does!
No branches or pull requests
Hi, I want to make a grammar with Python-style indentation. In Python:
How would I make
INDENT
andDEDENT
tokens using better-parse? I couldn't find any better-parse examples or tests showcasing how to do this.The text was updated successfully, but these errors were encountered: