Skip to content

Instantly share code, notes, and snippets.

@pastagatsan
Created June 8, 2014 19:30
Show Gist options
  • Save pastagatsan/28b5addd6f9fbcf2d8bb to your computer and use it in GitHub Desktop.
Save pastagatsan/28b5addd6f9fbcf2d8bb to your computer and use it in GitHub Desktop.
// Buttlang vs AnalLang comparsion
// 5 count loop :: Buttlang
$def int counter
counter = 0
::loop
PRN $counter$
if counter,<,5
call loop
endif
PRN "Done!"
end
>>>
call loop
// 5 count loop :: AnalLang
#START
::Loop
PUT $_A$
INA
CMP #05
BNE Loop
PUT "Done!"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment