P4_EVALUATE_WITH(3)

NAME
p4_evaluate_with - EVALUATE-WITH ( i*x addr len xt[i*x--j*x] -- j*x )

SYNOPSIS

#include <pfe/useful-ext.h>

FCodep4_evaluate_with(---);

DESCRIPTION

added to be visible on the forth command line on request by MLG, he has explained the usage before a lot, you can get an idea from:

         : EVALUATE ['] INTERPRET EVALUATE-WITH ;

The word is used internally in PFE for the loadlist evaluation of the binary modules: where previously each loadercode had its own CREATE-execution we do now call the original forthish CREATE-word like, so bootstrapping a VARIABLE will now call VARIABLE itself and of course we need to set up the TIB-area to point to the name of the variable that shall be created in the forth dictionary:

      : LOAD-WORD ( arg-value str-ptr str-len loader-code -- )
           CASE
             #LOAD-VARIABLE OF ['] VARIABLE EVALUATE-WITH ENDOF
             ....
           ENDCASE
           CLEARSTACK
      ;

AUTHOR

    • Guido U. Draheim (modified by $Author: guidod $)

COPYRIGHT

Copyright (C) Tektronix, Inc. 1998 - 2001. Copyright (C) 2005 - 2008 Guido U. Draheim <guidod@gmx.de>