Lambdus

From Esolang
Jump to navigation Jump to search

Lambdus is a language made by user:Rombito which uses an image to write programs

lines

will go from right to left (except for the start)

These lines can be rotated and flipped

  • (start) : this is the start, defines the starting position of the program, which the execution will travel through, the default line value will be the one the user will input
  • (input) : asks for the user’s input, then sets the line’s value to that input
  • (split) : splits the line in two, executing in parallel, or if the weight of the two lines differ, execute the line with the most weight first
  •  : when two lines cross into eachother
  •  : adds +1 weight to the line.
  • (end) : ends the program
  • (if) : let’s the line pass if the value coming from the line is the value coming from the other line, else, end the program
    • (if else) : same as if but with an else line
  • (loop) : loops the line highlighted in blue until it’s value is 1
  • (reset) : sets the line’s value to 1
  • (+1) : adds 1 to the line’s value
  • (-1) : subtracts 1 from the line’s value
  • (output) : outputs the line’s value
  • (Get Variable) : Get the variable which corresponds with the image highlighted with blue
  • (Set Variable) : Set the variable which corresponds to the image highlighted in blue to the value of the line
  • (lambda) : not rotatable or flippable, required usage if you want to run the program.

Examples

Truth Machine