Changes between Version 2 and Version 3 of NQPDocs
- Timestamp:
- 11/21/09 19:21:53 (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
NQPDocs
v2 v3 2 2 3 3 * Looping constructs 4 {{{ 5 19:50:32 < cconstantine> How would I loop through an iterable backwards in NQP? 6 19:50:52 <@dukeleto> cconstantine: code sample? 7 19:51:28 < cconstantine> In an action for my gramar I want to loop through the child nodes backwards 8 19:52:02 < cconstantine> rule cons { [<term> ]* {*}} <---- loop through the <term>s backwards 9 }}}