norswap / autumn

A Java parser combinator library written with an unmatched feature set.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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 👍

Fixed by 8f2ca9b