Version 6 of Malbolge

Updated 2011-05-20 01:00:55 by AMG

PT Malbolge[L1 ] is a programming language that is designed to be impossible to program in. The name comes from Dante's eighth circle of hell where the practitioners of deception are cast. The runtime interpreter uses trinary and places code and data in the same memory space. When the program is run, each program value is read and decoded using the previous program value. The language is believed to be Turing complete.

There are currently only two Malbolge programs written. The first is trivial as well as useless and the other is the usual "hello world". The latter was developed using a genetic algorithm and isn't perfect.

Nop

 DP

Hello World

 (=<`$9]7<5YXz7wT.3,+O/o'K%$H"'~D|#z@b=`{^Lx8%$Xmrkpohm-kNi;gsedcba`_^]\[ZYXWVUTS
 RQPONMLKJIHGFEDCBA@?>=<;:9876543s+O<oLm

cat (copy input to output, non-printing chars as \ooo, from [L2 ])

 D'BA@?>=<;:9876543210/.-,+*)('&%$#"!~}|{zyxwvutsrqponmlkjihgfedcba`_^]
 \134[ZYXWVUTSRQPONMLKJIHGFEDCBA@?>=<;:9876543210/.-,+*)('&%$#"!~}|{zyx
 wvutsrqponmlkjihgfedcba`_^]\134[ZYXWVUTSRQPONMLKJIHGFEDC&_\275\275\275
 \275\275\275\275\275\275\275\275\275\275\275\275\275\275\275\275\275\275
 \275\275\275\275\275\275\275\275\275\275\275\275\275\275\275\344\275\275
 \275\275\275\275\275\275\275\275\275\275\275\275\275\275\275\275\275\275
 \275\275\275\275\275\275\275\275\275\275\275\275\275\275\275\275\275\275
 \275\275\275\275\275\275\275\275\275\275\275\275\275\275\275\275\275\275
 \275\275\275\275\275\275\275\275\275\275\275\275\275\275\275\275\275\275
 \275\275\275\275\275\275\275\275\275\275\275\275\275\275\275\275\275\275
 \275\275\275\275\275\275\275\275\275\275\275\275\275\275\275\275\275\275
 \275\275\275\275\275\275\275\275\275\275\275\275\275\275\275\275\275\275
 \275\275\275\275\275\275\275\344\275\275\275\275\275\275\275\275\275\275
 \275\275\275\275\275\275\275\275\275\275\275\275\275\275\275\275\275\275
 \275\275\275\275\275\275\275\275\275\275\275\275\275\275\275\275\275\275
 \275\275\275\275\275\275\275\275\275\275\275\275\275\275\275\275\275\275
 \275\275\275\275\275\275\275\275\275\275\275

MSW says, "Cool, trinary!" :) We should write a tcl compiler for it, just to bug the Malbolge developers...

DKF: Is there a Tk binding for it?