finesse.script.memoize.memoize_left_rec

finesse.script.memoize.memoize_left_rec(func)[source]

Memoize a left-recursive parsing method.

This is similar to @memoize but loops until no longer parse is obtained. Inspired by https://github.com/PhilippeSigaud/Pegged/wiki/Left-Recursion