elderguardian / alang

Effortful way to print text

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

I don't know what I am doing


About alang

Alang lets you print characters in a very effortful way. The syntax was created on paper in a five minute break in school.

How does it work?

Imagine a long array of numbers where you start at position 0. You can increase and decrease the values at the current position. You can also go forward one position or go backwards. If you know Brainfuck you should be familiar with this.

Syntax

Usage What does it do?
(AaAa) Add one to number at current position in Binary (A=1, a=0)
[AaAa] Subtract one from number at current position in Binary (A=1, a=0)
. Print number at current position as large alphabet character
, Print number at current position as small alphabet character
: Print number at current position
ä Go forwards to the next position
Ä Go backwards one position
a Add one to number at current position
A Subtract one from number at current position

Running

php interpreter.php hello_world.alang 

Example Hello World

(Aaaa).AAA,(AAA),,aaa,ä(AaAAA).Ä,aaa,[AAa],ääaaaa,

About

Effortful way to print text


Languages

Language:PHP 100.0%