Version 3 (modified by dukeleto, 12 years ago)


Put your requests for documentation for NQP-rx (the new flavor of NQP) here.

  • Looping constructs
    19:50:32 < cconstantine> How would I loop through an iterable backwards in NQP?
    19:50:52 <@dukeleto> cconstantine: code sample?
    19:51:28 < cconstantine> In an action for my gramar I want to loop through the child nodes backwards
    19:52:02 < cconstantine> rule cons { [<term> ]* {*}}  <---- loop through the <term>s backwards