Skip to content
New issue

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

Detect infinitely recursing grammars #95

Open
alecthomas opened this issue Apr 12, 2020 · 2 comments
Open

Detect infinitely recursing grammars #95

alecthomas opened this issue Apr 12, 2020 · 2 comments
Labels

Comments

@alecthomas
Copy link
Owner

Sometimes, through my own idiocy, I create infinitely recursing grammars. Debugging these can be difficult, so it would be very useful if Participle could detect them.

@idcmp
Copy link

idcmp commented Aug 8, 2020

I've done this a few times in learning participle. The first time was worrying as my sample didn't return, eventually my fan spun up into high gear and my music started stuttering.

Eventually Linux's OOM killer stepped in to help me out.

@alecthomas alecthomas added the bug label Aug 18, 2020
@alecthomas
Copy link
Owner Author

Yeah definitely not ideal :\

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants