I am preparing overall knowledge on building a Forth interpreter and want to disassemble some of the generic Forth code words such as +
, -
, *
, etc.
My Gforth (I currently have version 0.7.3, installed on Ubuntu Linux) will allow me to disassemble colon definitions that I make with the command see
, as well as the single code word .
. But when I try it with other code words, see +
or see /
, I get an error that says, Code +
, and then I'm not able to type in my terminal anymore, even when I press control-c.
I should be able to decompile/disassemble the code words, as shown by the Gforth manual: https://www.complang.tuwien.ac.at/forth/gforth/Docs-html/Decompilation-Tutorial.html
Has anyone else had this issue, and do you know how to fix it?