Dynamic Superinstructions
Tomas Hlavaty <[email protected]> Tue, 13 Feb 2024 08:38:49 +0100
| Newsgroups | gmane.comp.lang.forth.gforth |
|---|---|
| Message-ID | <[email protected]> |
Hi, the manual describes Dynamic Superinstructions (info "(gforth) Dynamic Superinstructions") but I cannot make this work. Does somebody have an example where this works? My attempts are bellow. Cheers Tomas $ echo ': sq dup * ; see sq' | gforth-fast Gforth 0.7.9_20230601 Authors: Anton Ertl, Bernd Paysan, Jens Wilke et al., for more type `author= s' Copyright =C2=A9 2023 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.ht= ml> Gforth comes with ABSOLUTELY NO WARRANTY; for details type `license' Type `help' for basic help : sq dup * ; see sq=20 : sq=20=20 dup * ; ok $ echo ': sq dup * ; see sq' | gforth Gforth 0.7.9_20230601 Authors: Anton Ertl, Bernd Paysan, Jens Wilke et al., for more type `author= s' Copyright =C2=A9 2023 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.ht= ml> Gforth comes with ABSOLUTELY NO WARRANTY; for details type `license' Type `help' for basic help : sq dup * ; see sq=20 : sq=20=20 dup * ; ok $ echo ': sq dup * ; see sq' | gforth --dynamic Gforth 0.7.9_20230601 Authors: Anton Ertl, Bernd Paysan, Jens Wilke et al., for more type `author= s' Copyright =C2=A9 2023 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.ht= ml> Gforth comes with ABSOLUTELY NO WARRANTY; for details type `license' Type `help' for basic help : sq dup * ; see sq=20 : sq=20=20 dup * ; ok