[PicForth] make interactive fails with gforth 0.6.2 and picforth-1.2.4

Alex Holden alex at linuxhacker.org
Tue Dec 7 13:27:35 CET 2004


Anwar Puthu wrote:
> I'm trying to use the interactive shell to get a feel for picforth.

Unfortunately PicForth doesn't yet support an umbilical mode so 
'interactive' only interacts with the compiler not the target. You can 
compile a word and then disassemble it to see what code was generated, 
but you can't compile a word then interactively run it to see if it 
works as expected on the target.

> This is what the interaction looks like:
> =========================================================
> ~/pic/picforth-1.2.4$ make interactive
> gforth-0.6.2 picforth.fs -e 'host picquit'

I don't know what 'host picquit' is supposed to do. Try just running
"gforth-0.6.2 picforth.fs" on the command line. Gforth will go into 
interactive mode with the compiler loaded. You can define Picforth words 
and use the include command to load libraries etc. then run commands 
like 'words' 'map' and 'dis' to see what code has been generated.

-- 
------------ Alex Holden - http://www.linuxhacker.org ------------
If it doesn't work, you're not hitting it with a big enough hammer


More information about the PicForth mailing list