Last active
February 11, 2021 13:00
-
-
Save jdriordan/4a373e39f5a7ef1f900fc4d50b1ed20c to your computer and use it in GitHub Desktop.
Revisions
-
jdriordan revised this gist
Feb 11, 2021 . 1 changed file with 2 additions and 3 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,8 +1,7 @@ #! /usr/bin/gforth : sq dup * ; : is_sqrt? over sq - >= ; : sqrt 1 begin 1+ 2dup swap is_sqrt? until ; -
jdriordan created this gist
Jun 12, 2017 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,8 @@ !# /usr/bin/gforth : sq dup * ; : is_sqrt? over sq - >= ; : sqrt 1 begin 1+ 2dup swap is_sqrt? until ; ." Hello World" cr bye