Setlang++
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)]]