larsbrinkhoff / lbForth

Self-hosting metacompiled Forth, bootstrapping from a few lines of C; targets Linux, Windows, ARM, RISC-V, 68000, PDP-11, asm.js.
GNU General Public License v3.0
423 stars 113 forks source link

Undefined: ' #92

Closed Phi-Ho closed 3 years ago

Phi-Ho commented 3 years ago

Hello,

Please advise what I am doing wrong here to make tick ( ' ) undefined: Please find related info appended below.

Regards,

phiho

$ ./i.exe lbForth ok include search.fth ok ' only ok ' forth ok ' definitions ok ' also ok ' t-words Undefined: t-words ' also Undefined: '

larsbrinkhoff commented 3 years ago

This a known bug: #20. The search order is messed up when there is an exception. To get back to a sane state, type only forth.

Phi-Ho commented 3 years ago

Hi,

Thanks for the info but actually "only forth" does not get back to the same state. The system seems to be deeply corrupted.

' t-words Undefined: t-words ok ' forth ok ' also ok include search.fth ok ' t-words Undefined: t-words ' meta Undefined: ' words Undefined: words only forth ok words vocs vocabulary body>xt order set-order ?voc-limit only order! n! forth only wordlist (wordlist) definitions set-current ..... get-std-handle ok ' meta Undefined: meta ' t-words Undefined: ' only forth ok include search.fth Undefined: definitions only forth Order: only only Current: only

Stack underflow $

On Sun, Nov 22, 2020 at 11:27 AM Lars Brinkhoff notifications@github.com wrote:

This a known bug: #20 https://github.com/larsbrinkhoff/lbForth/issues/20. The search order is messed up when there is an exception. To get back to a sane state, type only forth.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/larsbrinkhoff/lbForth/issues/92#issuecomment-731772857, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABDAWSWN4AMNABOLBI6URX3SRE3VTANCNFSM4T6SGJLA .