Hello Jan,

>
> Found the float.fth file. 
> After loading the neccesary files tried to compile the filed
>
> Two things are missing and can’t find them in the AmFort-6.7 directory.
> 1. What is the definition of d>s
That was answered before:

: d>s drop ;

@martin: just adding a 0 to TOS on "s>d" will not get signedness right.


> 2: Could not found these asm files.
>       ; needed for recognizer
>       .include "words/get-recognizer.asm"
>       .include "words/set-recognizer.asm"
>
>  Please can someone help me out with this?

ew@metis:..orth/amforth/trunk 3 > grep -rl 'get-recognizer' .
./common/lib/recognizer.frt
./common/lib/dot-recs.frt
...

ew@metis:..orth/amforth/trunk 5 > cat common/lib/recognizer.frt 
\ common recognizer words
\
\ platform specific code, selected via include directory
\ #include recognizer-arch.frt
\
\ build the methods table for a recognizer
: rectype: ( interpret-xt compile-xt postpone-xt "name" -- )
   create swap rot , , , 
;

\ get and set the stack content
: set-recognizers forth-recognizer set-stack ;
: get-recognizers forth-recognizer get-stack ;

\ usage see Recognizer Recipes


---
So, you need to load common/lib/recognizer.frt

*.frt* not .asm

*load* the .frt file into your running amforth (using amforth-upload or
-shell).



Where is your fragment from? This looks like a leftover from before
"going back to .frt" :-)

Cheers,
Erich


-- 
May the Forth be with you ...


_______________________________________________
Amforth-devel mailing list for http://amforth.sf.net/
Amforth-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amforth-devel

Reply via email to