|Computational class||Turing complete|
|Reference implementation||See below|
UberGenes is a mostly backwards-compatible extension to Aubergine created by User:Quintopia in 2015. It was designed with the goals of removing some of the arbitrary restrictions in Aubergine, increasing functionality, and being able to produce a tiny code footprint when Aubergine source code length is summed with the length of the interpreter.
Start with Aubergine.
Then let every letter of the alphabet be a valid unbounded register, dereferenceable by capitalizing it.
Then let every digit represent its numeric value in second arguments.
Then add all of the following commands /,*,^,|,&,% which integer divide, multiply, xor, or, and, and mod respectively the first argument by the second argument and store the result in the first argument. Also add the commands > and < which set the first argument to 1 if it is greater than or less than respectively the second argument and zero otherwise.
Then remove the restriction on "o", allowing it to be used as an argument anywhere, and the restrictions preventing "o" and "i" from being dereferenced.
Then allow locations beyond the bounds of the initial program to be read (with default value 0) and written with arbitrary values, and allow the instruction pointer to jump out there too. (In Aubergine, jumping beyond the bounds of the program terminates it. In UberGenes, the program ends when the program tries to execute a non-valid command. Just to allow for a bit of golfing, it will also start printing characters from that location forward until it reaches an unprintable one before halting. This is all mostly Aubergine-compatible behavior, although the Aubergine interpreters will give an error instead of printing before halting when reaching an unrecognized instruction.)
All of the examples from the Aubergine page also work in UberGenes, but the following Hello, World! program only works in UberGenes (it's also a quine):
Here's a program using UberGenes specific features which inserts a space at the beginning of every line. (Useful for wikifying code.)
This one prints the max of two characters:
This one counts up forever, one decimal number per line:
It does all the normal error checking an interpreter should, but weighs in at only 907 bytes (Unix). It can also be safely imported as a module.