We are currently working on new rules for what content should and shouldn't be allowed on this website, and are looking for feedback! See Esolang:2026 topicality proposal to view and give feedback on the current draft.
Trite
Trite is a simple, single data string esoteric language. Drawing inspiration from the simple language of BCT, it executes commands altering its own execution string. It has no means of i/o other then its initial state and its final state. The only valid commands are hexadecimal digits. When execution flow is reversed, so are the 'next' and 'previous' commands. Trite was created by User:Hiant, Fading Entity on Wednesday, November 17, 2010.
Language Overview
There are sixteen commands: 0/0000---Append the next command to the end of the program. 1/0001---Invert the second bit of the next command. 2/0010---Invert the third bit of the next command. 3/0011---Append previous command to the end of the program. 4/0100---Invert the last bit of the previous command. 5/0101---Reverse execution flow. 6/0110---Delete the previous command. 7/0111---End Program Commands starting of the form 1--- can not be altered. Commands 8..F are the 1--- forms of 0..7
Example Programs
Hello World
Outputs 'Hello World!\366' in hexadecimal.
(SYST)-->548656c6c6f20576f726c6421F6 (SYST)-->DNE0 (0101)-->5|4|8|6|5|6|C|6|C|6|F|2|0|5|7|6|F|7|2|6|C|6|4|2|1|F|6 (0110)--<5|4|8|6|5|6|C|6|C|6|F|2|0|5|7|6|F|7|2|6|C|6|4|2|1|F|6 (1111)--<4|8|6|5|6|C|6|C|6|F|2|0|5|7|6|F|7|2|6|C|6|4|2|1|F|6 (SYST)-->END1 (SYST)-->4|8|6|5|6|C|6|C|6|F|2|0|5|7|6|F|7|2|6|C|6|4|2|1|F|6
Example Execution
(SYST)-->171717171752 (SYST)-->DNE0 (0001)-->1|7|1|7|1|7|1|7|1|7|5|2 (0011)-->1|3|1|7|1|7|1|7|1|7|5|2 (0001)-->1|3|1|7|1|7|1|7|1|7|5|2|1 (0011)-->1|3|1|3|1|7|1|7|1|7|5|2|1 (0001)-->1|3|1|3|1|7|1|7|1|7|5|2|1|1 (0011)-->1|3|1|3|1|3|1|7|1|7|5|2|1|1 (0001)-->1|3|1|3|1|3|1|7|1|7|5|2|1|1|1 (0011)-->1|3|1|3|1|3|1|3|1|7|5|2|1|1|1 (0001)-->1|3|1|3|1|3|1|3|1|7|5|2|1|1|1|1 (0011)-->1|3|1|3|1|3|1|3|1|3|5|2|1|1|1|1 (0101)-->1|3|1|3|1|3|1|3|1|3|5|2|1|1|1|1|1 (0011)--<1|3|1|3|1|3|1|3|1|3|5|2|1|1|1|1|1 (0001)--<1|3|1|3|1|3|1|3|1|3|5|2|1|1|1|1|1|5 (0111)--<1|3|1|3|1|3|1|7|1|3|5|2|1|1|1|1|1|5 (SYST)-->END1 (SYST)-->1|3|1|3|1|3|1|7|1|3|5|2|1|1|1|1|1|5
It is unknown if Trite is Turing Complete, or if a single useful program is possible.