Counterlang

From Esolang
Jump to navigation Jump to search

Counterlang uses counters to do stuff

The stuff

Counter

count a #make a a counter initialized as 0
a1 #add 1 to counter of a
a-2 #add -2 to counter of a
a2 #add 2 to counter of a
aa #add a to counter of a (double)
aa #double
aa #double a is 16 now
a- #reset a to 0

Print

.1 #prints 1
,65 #prints A

Goto

!2 #loop
!1 #loop

End

: #end
count thisisnotexecuted
thisisnotexecuted100
.thisisnotexecuted