interpretive
Standard Forth support for words with special interpretation and compilation semantics
- raw README.md
- raw example-ascii.fs
- raw example-dot-quote.fs
- raw example-s-quote.fs
- raw example-tick.fs
- raw example-val-to.fs
- raw interpretive.fs
- raw mit-license
- raw package.4th
\ *********************************** \ ticking words \ *********************************** S" interpretive.fs" INCLUDED \ make ['] also work in interpretive mode interpretive{ : ['] ( <name> -- xt ) ' ; }interpretive \ define XT-OF that works in interpretation and compilation state : xt-of ( <name> -- ) POSTPONE ['] ; IMMEDIATE interpretive{ : xt-of ( <name> -- xt ) ' ; }interpretive : .. ( x1 x2 -- ) xt-of . DUP >R EXECUTE R> EXECUTE ; 5 xt-of DUP EXECUTE cr .. ( -> 5 5 ) cr
by UlrichHoffmann
Versions
Tags
ansforth94, forth-94, forth94, ndcs, special, interpretationsemantics, compilationsemantics
Dependencies
None
Dependents
None