Re:The Power of Prolog
by Karrot_Kream on Thursday April 06, 2017 @04:02AM
(#14048779)
I typically wrap up a left recursive rule as another rule, and then have this rule choose between the base case and the recursive case. This is a pretty standard technique to break down left recursive rules though, and has nothing to do with Prolog, and everything to do with writing parsers.
[ Parent
| on HN ]
There are no comments on this comment yet.