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

Documentation mentions the method recursive(), but it does not exist in Grammar #9

Closed
ako opened this issue Oct 30, 2021 · 2 comments
Closed

Comments

@ako
Copy link

ako commented Oct 30, 2021

Documentation is referring to non existing functionality.

@norswap
Copy link
Owner

norswap commented Oct 30, 2021

Indeed, good catch!

I had to look it up, but I removed it here: d8b9b9b, in order to simplify things and reduce the API surface. Apparently didn't thing of checking the documentation :/ I'll update ASAP.

Btw, one can use

rule A = lazy(() -> ... this.A ...);

instead of

rule A = recursive(self -> ... self ...);

I also noticed the same problem with left_recursive which is referrenced but no longer available.

If you're reading through the documentation, feel free to open an issue for any problem you might encounter :) It's much appreciated 👍

@norswap
Copy link
Owner

norswap commented Oct 30, 2021

Fixed by 8f2ca9b

@norswap norswap closed this as completed Oct 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants