Skip to content

Instantly share code, notes, and snippets.

@youknowone
Last active August 29, 2015 14:17
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 youknowone/161a48042a0e24eb35b8 to your computer and use it in GitHub Desktop.
Save youknowone/161a48042a0e24eb35b8 to your computer and use it in GitHub Desktop.
rpaheui$ ./aheui-c snippets/bahmanghui/bahmanghui.aheui < snippets/bahmanghui/bahmanghui.in
48175
rpaheui$ cat snippets/bahmanghui/bahmanghui.aheuic
????
pushchar ; L0 밯 (0, 0) 1
popnum ; L1 망 (0, 1) 12
halt ; L2 망 (0, 1) 2
rpaheui$ ./aheui-c snippets/bahmanghui/bahmanghui.aheuic < snippets/bahmanghui/bahmanghui.in
48175
rpaheui$ hexdump snippets/bahmanghui/bahmanghui.aheuic
0000000 00 00 00 16 00 00 00 13 00 00 00 12 ff ff ff ff
0000010 0a 0a 70 75 73 68 63 68 61 72 09 3b 20 4c 30 20
0000020 eb b0 af 20 28 30 2c 20 30 29 20 31 0a 70 6f 70
0000030 6e 75 6d 09 3b 20 4c 31 20 eb a7 9d 20 28 30 2c
0000040 20 31 29 20 31 32 0a 68 61 6c 74 09 3b 20 4c 32
0000050 20 eb a7 9d 20 28 30 2c 20 31 29 20 32 0a
000005e
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment