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.

Lever

From Esolang
Jump to navigation Jump to search
This article is not detailed enough and needs to be expanded. Please help us by adding some more information.

Lever is an esolang made by User:Yes

Commands

Off lever

 /
[_]

On lever

 \
[_]

Wire (1)

-

Wire (2)

|

Off light

{0}

On light

{1}

Combine

=

Examples

NOT gate

 /   {1}
[_]---|

XOR gate

 /
[_]---|
 /    =--{0}
[_]---|

XNOR gate

 /
[_]---|
 /    =--{1}
[_]---|