geometryjunp

From Esolang
Jump to navigation Jump to search

geometryjunp is an esoteric programming language named after the 2013 platformer game Geometry Dash. It is also a brainfuck substitution language with some extra commands.

Character Command
Begin the program.
] End the program.
_ Increment the cell.
Decrement the cell.
Start a loop.
End loop if the cell value is 0.
Print the cell value as ASCII character.
» Take user input and store it to the current cell.
Switch to the left cell.
Switch to the right cell.

Example Programs

Cat program

□»⦾›»■]

Truth-machine

A truth-machine is implemented in this program:

□»›⦾◢_◢_▴▴▲■◢◢◢________________________________________________⦾▴▴▲◢◢▲■▴▴⦾◢›▴■]

Hello, world!

The following program displays the message “Hello World!” in the standard output:

□________⦾◢____⦾◢__◢___◢___◢_▴▴▴▴▲■◢_◢_◢▲◢◢_⦾▴■▴▲■◢◢›◢▲▲▲›_______››___›◢◢›▴▲›▴›___›▲▲▲▲▲▲›▲▲▲▲▲▲▲▲›◢◢_›◢__›]

External links

  • Wikipedia:Geometry Dash
  • Common Lisp implementation of the geometryjunp programming language. Please note that the concrete character set deployed constitutes a dependency on the Common Lisp implementation; in corollary, Unicode support may or may not be a feature incorporated in the personal environment. The interpreter at hand has been developed and tested with Steel Bank Common Lisp (SBCL) version 1.1.4 as part of the Lisp Cabinet 0.3.5 bundle.