Re: make interactive fails with gforth 0.6.2 and picforth-1.2.4
Alex Holden <[email protected]> Tue, 07 Dec 2004 12:27:35 +0000
| Newsgroups | gmane.comp.lang.forth.picforth |
|---|---|
| Message-ID | <[email protected]> |
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