概要
中古ノート買ってみた。
wsl1のubuntu18.04にgforth入れてみた。
チュートリアルを作ってみた。
TUTORIAL 8
再帰
Gforth 0.7.3, Copyright (C) 1995-2008 Free Software Foundation, Inc.
Gforth comes with ABSOLUTELY NO WARRANTY; for details type `license'
Type `bye' to exit
: tuck swap over ; ok
: gcd ?dup if tuck mod recurse then ; ok
784 48 gcd . 16 ok
bye
以上。