Luke's Box Programming
Jump to navigation
Jump to search
Luke's Box Programming (abbreviated as LBP1) is an esoteric programming language made by User:ClearLimediWater.
Introduction
LBP1 uses box-drawing characters for programming.
It's still developing now and maybe i'll put a github link or what. Maybe next week?
Alphabets
' '(fullwidth space, used to fill the inside of the box) ─│(L1) ━┃(H1) ┄┆(L3) ┅┇(H3) ┈┊(L4) ┉┋(H4) (lots of corners) ┌┍┎┏ ┐┑┒┓ └┕┖┗ ┘┙┚┛ ├┝┞┟┠┡┢┣ ┤┥┦┧┨┩┪┫ ┬┭┮┯┰┱┲┳ ┴┵┶┷┸┹┺┻ ┼┽┾┿╀╁╂╃╄╅╆╇╈╉╊╋
Syntax
As we all known, a box has 4 sides, like this:
┌─┐ │ │ └─┘
LBP only focuses on its left and top.
If there is no line between two corners, LBP calls it 'L0'(Light) or 'H0'(Heavy)
(L0) (H0)┎┐ ┖┘
Commands
L\T L0 L1 L3 L4 H0 H1 H3 H4 L0 END... ...... ...... CLOSE. BREAK. ...... ...... ...... L1 FUNC.. PRINTN INPUTN ...... NOT... IF.... EQUAL. AND... L3 RET... PRINTC INPUTC ...... COND.. GREAT. ...... ...... L4 LOOP.. PRINTL INPUTL OPEN.. ELSE.. OR.... ...... ...... H0 CTN... ...... ...... ...... ZERO.. ...... GLBREF ...... H1 BNOT.. BAND.. BOR... BXOR.. NEG... NUM... ADD... MUL... H3 ...... BSHL.. ...... ...... LOCREF DIV... RANDOM ASSIGN H4 ...... BSHR.. ...... ...... ...... MOD... ASGSEC SECT..
See also
Luke's Box Pseudocode (or LBP2): It's very difficult to use LBP1 so I invented this.