in reply to Re: Parse::RecDescent grammar that winds its way all the way back to start
in thread Parse::RecDescent grammar that winds its way all the way back to start

But I really hate to recurse like that.

job_statements : job_statement <commit> job_statements(?) | #NOTHING

and the less efficient

job_statements : job_statement <commit> job_statements | job_statement | #NOTHING

are both just recursive versions of

job_statements : job_statement(s?)

If you don't want the recursion, use the last.