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.

Lace

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.

Lace is a high-level esoteric programming language created by User:Thlot in 2026. Its main premise is that variables cannot be defined as a single value, and must be set as two instead. One will be picked at random when Observed.

Syntax

Basic Functionality

Command Function Example
Assign (var) (val1)~(val2) Define a variable as having these two values. Assign X 1~0
Observe (var) Determines which of the two values the variable will have. Observe X
Output (var) Outputs the value of a variable. If the variable has multiple values, outputs them all. Observe X
Weight (var) (Number 1-100) (number 1-100) Weights probabilities of value chosen. If values do not add up to 100, sets the chances to 50-50. Weight X 20~80