Implement for and while loop syntax-rule definitions