Skip to content

A two-dimensional programming language that transcompiles to brainf**k

License

Notifications You must be signed in to change notification settings

dontru/Labyrinth--

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Labyrinth--

Labyrinth-- is a two-dimensional programming language that transcompiles to brainfuck.

Commands

The language consists of five commands.

Character Meaning
# wall
  space
A start, entrance
B end, goal
\n new line

Instruction pointer

The instruction pointer is trying to move from point A to point B using right-hand rule. The transcompiled code is determined by the movement of instruction pointer.

(n-2) moves in the same direction (if n > 2)
➡️ >
⬅️ <
⬆️ +
⬇️ -
T-junction (if instruction pointer hits the wall)
➡️ [
⬅️ ]
⬆️ .
⬇️ .
four-way junction
#️⃣ ,

First move

The first move is first legal move of: ⬆️, ➡️, ⬇️, ⬅️.

About

A two-dimensional programming language that transcompiles to brainf**k

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages