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.

Setlang++

From Esolang
Jump to navigation Jump to search

Setlang++ is an esolang invented by User:None1, it is a derivative of Setlang, and its original goal is to write a Truth Machine.

Extra Syntax

Command Meaning
[a,b] Compare the value of a and b, if they're the same, return a, otherwise return an empty string.
[a,CODE1,CODE2] If a is not an empty string, then execute CODE1, otherwise execute CODE2, returns an empty string.

Example Programs

Truth Machine

[[{},0],(0),[(1)]]