Changes between Version 2 and Version 3 of NQPDocs

Show
Ignore:
Timestamp:
11/21/09 19:21:53 (5 years ago)
Author:
dukeleto
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • NQPDocs

    v2 v3  
    22 
    33   * Looping constructs 
     4{{{ 
     519:50:32 < cconstantine> How would I loop through an iterable backwards in NQP? 
     619:50:52 <@dukeleto> cconstantine: code sample? 
     719:51:28 < cconstantine> In an action for my gramar I want to loop through the child nodes backwards 
     819:52:02 < cconstantine> rule cons { [<term> ]* {*}}  <---- loop through the <term>s backwards 
     9}}}