Skip to content

Instantly share code, notes, and snippets.

@tufei
Last active January 21, 2023 19:33
Show Gist options
  • Save tufei/e84d943f9e28e48660b2ca533eb7f2a3 to your computer and use it in GitHub Desktop.
Save tufei/e84d943f9e28e48660b2ca533eb7f2a3 to your computer and use it in GitHub Desktop.
It seems to be all about stack effects...
: fibonacci 0 1 rot 1 u+do 2dup + rot drop loop nip ; \ works only for n > 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment