Skip to content

Instantly share code, notes, and snippets.

@nothings
Created June 18, 2018 05:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nothings/21e48ad1ef38005b06ed09573f6d19b4 to your computer and use it in GitHub Desktop.
Save nothings/21e48ad1ef38005b06ed09573f6d19b4 to your computer and use it in GitHub Desktop.
: find-)
key
')' =
not if
tail find-)
then
;
: ( immediate
find-)
;
( we should be able to do FORTH-style comments now )
( now that we've got comments, we can comment the rest of the code
in a legitimate [self parsing] fashion. Note that you can't
nest parentheses... )
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment