Created
June 8, 2014 19:30
-
-
Save pastagatsan/28b5addd6f9fbcf2d8bb to your computer and use it in GitHub Desktop.
This file contains 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 characters
// 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