Skip to content

Instantly share code, notes, and snippets.

@otya128
Last active February 4, 2016 10:23
Show Gist options
  • Save otya128/3fdde8584e67878abf66 to your computer and use it in GitHub Desktop.
Save otya128/3fdde8584e67878abf66 to your computer and use it in GitHub Desktop.
MML

MML

Metyakutya yoMinikui Language

{PRTFIZ=G70.G73.G90.G90.}
{PRTBUZ=G66.G85.G90.G90.}
{FIZBUZ=
{SAVEREG}
BA_A##3
CA_A##5
{LOOP_D}
{PRINTINT}
DG
{LEND}
DA_A##15
{LOOP_D}
CC_C###G
BB_B###G
{LOOP_B}
{PRTFIZ}
BG
{LEND}
{LOOP_C}
{PRTBUZ}
CG
{LEND}
DG
{LEND}
DA_A##15
DD_D##G
{LOOP_D}
{PRTFIZ}G32.{PRTBUZ}
DG
{LEND}
{LOADREG}
}
A1
{LOOP}
BA
{FIZBUZ}
G44.
AB
AA+1
CA_A######99_G99
{LEND_C}
{LOOP=[)(}
{LEND=]1}
{LOOP_C=[C}
{LOOP_D=[D}
{LOOP_E=[E}
{LOOP_F=[F}
{LOOP_G=[G}
{LOOP_A=[A}
{LOOP_B=[B}
{LEND_C=]C}
{LEND_D=]D}
{LEND_E=]E}
{LEND_F=]F}
{LEND_G=]G}
{LEND_A=]A}
{LEND_B=]B}
{PRINT=<>}
{INPUT=R}
{PUSH=
FF+1
F!A
}
{POP=
>AF<
FF-1
}
{SAVEREG=
FF+1F!A
ABFF+1F!A
ACFF+1F!A
ADFF+1F!A
AEFF+1F!A
>AF-4<
}
{LOADREG=
>AF<FF-1EA
>AF<FF-1DA
>AF<FF-1CA
>AF<FF-1BA
>AF<FF-1
}
{ITOA=AA+48}
{PRINTINT=
{SAVEREG}
CA
BG
{LOOP}
BB+1
AA_A#10
{LEND}
DB
{LOOP}
AC_C##10
{PUSH}
CC_C#10
BB-1
{LEND_B}
BD
{LOOP}
{POP}{ITOA}A.
BB-1
{LEND_B}
{LOADREG}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment