mikaelpatel / Arduino-Shell

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

Enhance: More operation code/syntax changes #29

Closed mikaelpatel closed 8 years ago

mikaelpatel commented 8 years ago

Time to move forward with the function definition syntax:

`fun { code-block } ; 

And function call:

`fun: 

Some other minor changes:

c ( x1..xn n -- )   drop n elements
C ( x1..xn -- )  clear stack

Last, extension is using "_" prefix only.

mikaelpatel commented 8 years ago

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