From: Enoch <ix...@ho...> - 2013-03-17 09:30:24
|
Hello Matthias, Matthias Trute <mt...@we...> writes: > Hi Enoch, > >>> : cvariable variable -1 allot ; >> >> Implementation is not the issue -- education is (i.e., please be >> reminded that the AVR is an 8bit µC). > > I hope you like > http://amforth.sourceforge.net/TG/recipes/RAM-Efficiency.html > > Matthias > PS: the recipe deserves more ideas ;) Testing that clever code snippet that you found -- : uses ( flag -- ) 0= IF POSTPONE \ THEN ; revealed that amforth-shell.py needs to be patched again (as it did not understand what that backslash is doing). Here's the patch for your perusal (including some necessary doc work): http://pastebin.com/fDjrjHbN Regards, Enoch. |