Totally Accurate Malbolge

From Esolang
(Redirected from Tamalbolge)
Jump to navigation Jump to search

Totally Accurate Malbolge (TAMalbolge) is a joke language created by Braden Best (User:Bradenbest). TAMalbolge is a derivative of malbolge, but much simpler and easier to program in.

Usage

There is only one valid program:

(=<`#9]~6ZY32Vx/4Rs+0No-&Jk)"Fh}|Bcy?`=*z]Kw%oG4UUS0/@-ejc(:'8dc

Which prints "Hello World!"

The language, due to its simplicity, can be mastered in as little as two minutes.

Exception Handling

Exceptions do not exist in TAMalbolge, but errors are helpfully reported in a detailed and concise manner:

   (=<`#9]~6ZY32Vx/4Rs+0No-&Jk)"Fh}|Bcy?`=*z]Kw%oG4UUS0/@-ejc(:'8db
   Too many arguments
   
   (=<`#9]~6ZY32Vx/4Rs+0No-&Jk)"Fh}|Bcy?`=*z]Kw%oG4UUS0/@-ejc(:'8d
   Not enough arguments
   
   (=<`#9]~6ZY32Vx/4Rs+0No-&Jk)"Fh}|Bcy?`=*z]Kw%oG4UUS0/@-ejc(:"8dc
   Segmentation Fault.
   
   (=<`#9]~6ZY32Vx/4Rs+0No-&Jk)"Fh}|Bcy?`=*z]Kw%oG4UUS0/@-ejc(;'8dc
   � � � � � � � � � � � � � � � � � � � � � � 
   
   (=<`#9]~6ZY32Vx/4Rs+0No-&Jk)"Fh}|Bcy?`=*z]Kw%oG4UUS/@-ejc(:'8dc
   ^A^A^A^A^A^A^A^A^A^A^A^A^A^A^A^A^A^A^A^A^A^A^@

Taking the feedback from these errors, one can easily conclude that the correct program is:

   (=<`#9]~6ZY32Vx/4Rs+0No-&Jk)"Fh}|Bcy?`=*z]Kw%oG4UUS0/@-ejc(:'8dc
   Hello World!

Bugs

Some errors may break certain interpreters. For example, typing this:

   (=<`#9]~6ZY32Vx/4Rs+0No-&Jk)"Fh}|Bcy?`=*z]Kw%oG4UUS/@-ejc(:8dc

Causes "^A" to be repeated in an infinite loop in most interpreters.

Implementations

The official interpreter, written in python by Braden Best.