On/Off
Jump to navigation
Jump to search
On/Off is a zero-dimensional esoteric programming language with only two instructions, namely On
and Off
.
Syntax
A valid program in On/Off has only one instruction, reflecting the state of the program.
Example programs
Set program state to On:
On
Set program state to Off:
Off
Truth machine:
<input goes here>
For 1, replace with On
, for 0, replace with Off
.