Braine
Jump to navigation
Jump to search
Braine is an esoteric programming language invented by User:A, operating on a scalar byte value whose state serves as a guard for conditional jump operations.
Instructions
+ |
Increment the current byte. Overflows to 0 when 255. |
s:n
|
Check if the current byte is equal to s . If so, go to line n . The enumeration of lines commences with the index one (1).
|
Examples
Jump Once If Equals Two
This program increments the current byte twice to a value of two (2), jumps to the start of the program based on this state, subsequently increments the octet to four (4), and, as a corollary, skips the goto instruction during the second encounter:
++ 2:1
Interpreter
- Common Lisp implementation of the Braine programming language.