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 `authors'
Copyright © 2023 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>
Gforth comes with ABSOLUTELY NO WARRANTY; for details type `license'
Type `help' for basic help
: sq dup * ; see sq 
: sq  
  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 `authors'
Copyright © 2023 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>
Gforth comes with ABSOLUTELY NO WARRANTY; for details type `license'
Type `help' for basic help
: sq dup * ; see sq 
: sq  
  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 `authors'
Copyright © 2023 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>
Gforth comes with ABSOLUTELY NO WARRANTY; for details type `license'
Type `help' for basic help
: sq dup * ; see sq 
: sq  
  dup * ; ok

Reply via email to