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.
Luke's Box Pseudocode
Jump to navigation
Jump to search
Luke's Box Pseudocode (abbreviated as LBP2) is an not very esoteric programming language made by User:ClearLimediWater.
Introduction
This is a simplified version of LBP1.
Examples
Hello, world!
PRINTC[ZERO](NUM{8,9})
PRINTC[ZERO](ADD[NUM{1,1}](NUM{10,10}))
PRINTC[ZERO](NUM{9,12})
PRINTC[ZERO](NUM{9,12})
PRINTC[ZERO](ADD[NUM{1,1}](NUM{10,11}))
PRINTC[ZERO](NUM{4,11})
PRINTC[ZERO](NUM{8,4})
PRINTC[ZERO](NUM{7,17})
PRINTC[ZERO](ADD[NUM{1,1}](NUM{10,11}))
PRINTC[ZERO](ADD[NUM{2,2}](NUM{10,11}))
PRINTC[ZERO](NUM{9,12})
PRINTC[ZERO](NUM{10,10})
PRINTC[ZERO](NUM{3,11})
A+B Problem
INPUTN[ZERO](ZERO)
INPUTN[ZERO](NUM{1,1})
ASSIGN[NUM{1,2}](ADD[LOCREF(ZERO)](LOCREF(NUM{1,1})))
PRINTN[ZERO](LOCREF(NUM{1,2}))
Truth-machine
INPUTN[ZERO](ZERO)
CONDIT(
IF[EQUAL[LOCREF(ZERO)](ZERO)](
PRINTN[ZERO](ZERO)
END #optional
)
IF[EQUAL[LOCREF(ZERO)](NUM{1,1})](
LOOP(
PRINTN[ZERO](NUM{1,1})
)
)
)
99 bottles of beer
Factorial
Fibonacci sequence
Sieve of Eratosthenes
Bubble Sort
Quick Sort
Brainfuck Interpreter
See also
Luke's Box Programming (or LBP1)