Documentation mentions the method recursive(), but it does not exist in Grammar
ako opened this issue · comments
Documentation is referring to non existing functionality.
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 👍