Hi Enoch,
On 10/11/2012 09:03 PM, Enoch wrote:
> This brings me to a more fundamental question which you, as Amforth's
> BDFL, I feel, need to address.
>
> Amforth-shell.py turns the use of frt "&34 constant PORTA" definitions
> in the code unnecessary as the shell script does these substitutions
Hello Matthias,
It was a short Python hacking, it turned out that I did not like it
myself too :-)
#py simply triggers the eval code in the patched amforth-shell.py.
Yes, the code sent to the device is being modified by the shell
according to the python expression that is embedded in the frt code
Enoch,
> Please find attached a patch to Keith's shell script for your
> consideration. I took the lazy approach of using Python's eval() option
> and it was quite easy:
I've difficulties to understand you approach. Do you change
the forth code, that gets sent to the controller with the
condition