A downloadable interpreter for Windows

What is it

BracketsLang interpreter created by author of this language.

BracketsLang is esoteric programming language invented in 2021 by user PoetLuchnik to show that brackets are better than Python tabs. Code is a sequence of atoms and blocks of sub-code. The program is always curly brackets block. Each block contains sub-code and has its own accumulator, which is zero at the beginning. Atoms have no code in, and they works with parent block accumulator. Accumulator is byte value [0..255]. Brackets are code, everything else is notes.

What do the brackets

casedescription
() print accumulator like ASCII character
[] increase accumulator by the ASCII value of entered character
<> set accumulator to null
{} increment accumulator
(subcode) store parent accumulator by address in own accumulator
[subcode] load value by address in accumulator and add it to parent accumulator
<subcode> when ends if the accumulator not equals 0 then ending parent block immediately
{subcode} repeats sub-code endlessly, subtract accumulator from parent accumulator if ends

page on Esolangs.org

Download

Download
EBL for Windows.zip 67 kB

Leave a comment

Log in with itch.io to leave a comment.