mikaelpatel / Arduino-Shell

RPN Postscript/Forth Command Shell for Arduino
19 stars 5 forks source link

Enhance: Improved loop control structure #31

Closed mikaelpatel closed 8 years ago

mikaelpatel commented 8 years ago

The loop control structure could be improved to:

low high { loop-block } loop

And the loop block should receive the current index as top of stack.

mikaelpatel commented 8 years ago

Please see commit https://github.com/mikaelpatel/Arduino-Shell/commit/e6f910e5ef395a626d02e8af9dd5c7128099c5ff.

dpharris commented 8 years ago

nice!