cforth icon indicating copy to clipboard operation
cforth copied to clipboard

voc-link, undefined

Open ellerh opened this issue 7 years ago • 3 comments

Trying to load order.fth leads to this error:

C Forth  Copyright (c) 2008 FirmWorks
ok fload ../../src/cforth/order.fth

voc-link, ?
Error at:    voc-link, |  
ok

Maybe I made some mistake during building, but grepping for voc-link, doesn't match anything.

ellerh avatar Oct 16 '16 18:10 ellerh

I committed the fix as https://github.com/MitchBradley/cforth/commit/b02ea8cf43681a4468988d85e606922a751ba9cc

Just FYI, a lot of the code in cforth is derived from another of my Forth systems, which is present as the core of https://github.com/MitchBradley/openfirmware . voc-link, is present in its kernel.

MitchBradley avatar Oct 16 '16 23:10 MitchBradley

I committed the fix as b02ea8c

Thanks!

Just FYI, a lot of the code in cforth is derived from another of my Forth systems, which is present as the core of https://github.com/MitchBradley/openfirmware . voc-link, is present in its kernel.

I see. I guess it's the same issue with find; it's not defined in cforth but in openfirmware's kernel.fth.

ellerh avatar Oct 17 '16 06:10 ellerh

Just in case you care about order.fth. This example causes an error:

C Forth  Copyright (c) 2008 FirmWorks
ok fload ../../src/cforth/order.fth
ok wordlist set-current
ok : foo ;
Address exception

ellerh avatar Oct 17 '16 06:10 ellerh