Something went wrong. Try again.
A component based functional template language
Something went wrong. Try again.
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170 $ NO_COLOR="1" print_instructions . <DECLARATION: Add> [ [CONSTANTS] 0x00000000 (00000000) : 7 0x00000001 (00000001) : 5 0x00000002 (00000002) : <FUNCTION> [ 0000 I_Constant 0x00000000 (00000000) 0005 I_Constant 0x00000001 (00000001) 0010 I_Add 0011 I_Return ] [INSTRUCTIONS] 0000 I_Closure 0x00000002 (00000002) (free variables: 0) 0009 I_Call 0 0014 I_Halt ] <DECLARATION: Div> [ [CONSTANTS] 0x00000000 (00000000) : 7 0x00000001 (00000001) : 5 0x00000002 (00000002) : <FUNCTION> [ 0000 I_Constant 0x00000000 (00000000) 0005 I_Constant 0x00000001 (00000001) 0010 I_Div 0011 I_Return ] [INSTRUCTIONS] 0000 I_Closure 0x00000002 (00000002) (free variables: 0) 0009 I_Call 0 0014 I_Halt ] <DECLARATION: Math> [ [CONSTANTS] 0x00000000 (00000000) : 5 0x00000001 (00000001) : 3 0x00000002 (00000002) : 2 0x00000003 (00000003) : 6 0x00000004 (00000004) : 4 0x00000005 (00000005) : 8 0x00000006 (00000006) : 10 0x00000007 (00000007) : 10 0x00000008 (00000008) : <FUNCTION> [ 0000 I_Constant 0x00000000 (00000000) 0005 I_Constant 0x00000001 (00000001) 0010 I_Mul 0011 I_Constant 0x00000002 (00000002) 0016 I_Constant 0x00000003 (00000003) 0021 I_Constant 0x00000004 (00000004) 0026 I_Constant 0x00000005 (00000005) 0031 I_Mul 0032 I_Add 0033 I_Constant 0x00000006 (00000006) 0038 I_Pow 0039 I_Div 0040 I_Add 0041 I_Constant 0x00000007 (00000007) 0046 I_Minus 0047 I_Add 0048 I_Return ] [INSTRUCTIONS] 0000 I_Closure 0x00000008 (00000008) (free variables: 0) 0009 I_Call 0 0014 I_Halt ] <DECLARATION: MinusFloat> [ [CONSTANTS] 0x00000000 (00000000) : 3.140000 0x00000001 (00000001) : <FUNCTION> [ 0000 I_Constant 0x00000000 (00000000) 0005 I_Minus 0006 I_Return ] [INSTRUCTIONS] 0000 I_Closure 0x00000001 (00000001) (free variables: 0) 0009 I_Call 0 0014 I_Halt ] <DECLARATION: MinusInt> [ [CONSTANTS] 0x00000000 (00000000) : 5 0x00000001 (00000001) : <FUNCTION> [ 0000 I_Constant 0x00000000 (00000000) 0005 I_Minus 0006 I_Return ] [INSTRUCTIONS] 0000 I_Closure 0x00000001 (00000001) (free variables: 0) 0009 I_Call 0 0014 I_Halt ] <DECLARATION: Mod> [ [CONSTANTS] 0x00000000 (00000000) : 7 0x00000001 (00000001) : 5 0x00000002 (00000002) : <FUNCTION> [ 0000 I_Constant 0x00000000 (00000000) 0005 I_Constant 0x00000001 (00000001) 0010 I_Mod 0011 I_Return ] [INSTRUCTIONS] 0000 I_Closure 0x00000002 (00000002) (free variables: 0) 0009 I_Call 0 0014 I_Halt ] <DECLARATION: Mul> [ [CONSTANTS] 0x00000000 (00000000) : 7 0x00000001 (00000001) : 5 0x00000002 (00000002) : <FUNCTION> [ 0000 I_Constant 0x00000000 (00000000) 0005 I_Constant 0x00000001 (00000001) 0010 I_Mul 0011 I_Return ] [INSTRUCTIONS] 0000 I_Closure 0x00000002 (00000002) (free variables: 0) 0009 I_Call 0 0014 I_Halt ] <DECLARATION: Pow> [ [CONSTANTS] 0x00000000 (00000000) : 7 0x00000001 (00000001) : 5 0x00000002 (00000002) : <FUNCTION> [ 0000 I_Constant 0x00000000 (00000000) 0005 I_Constant 0x00000001 (00000001) 0010 I_Pow 0011 I_Return ] [INSTRUCTIONS] 0000 I_Closure 0x00000002 (00000002) (free variables: 0) 0009 I_Call 0 0014 I_Halt ] <DECLARATION: Sub> [ [CONSTANTS] 0x00000000 (00000000) : 7 0x00000001 (00000001) : 5 0x00000002 (00000002) : <FUNCTION> [ 0000 I_Constant 0x00000000 (00000000) 0005 I_Constant 0x00000001 (00000001) 0010 I_Sub 0011 I_Return ] [INSTRUCTIONS] 0000 I_Closure 0x00000002 (00000002) (free variables: 0) 0009 I_Call 0 0014 I_Halt ]