(a)

From Esolang
Jump to navigation Jump to search

(a) is an esoteric number system, loosely based off of roman numerals.

How it works

The character "a" represents one.

Brackets like this "()" take the power of two of whatevers in it. "(a)", this numbering systems title, means two.

The subtraction system works kinda like roman numerals.

Also, numbers look like they are screaming. So that's something.

Numbers 1-20

a
aa
aaa
aaaa
aaaaa
aaaaaa
a(aaa)
(aaa)
(aaa)a
(aaa)aa
(aaa)aaa
(aaa)aaaa
aaa(aaaa)
aa(aaaa)
a(aaaa)
(aaaa)
(aaaa)a
(aaaa)aa
(aaaa)aaa
(aaaa)aaaa

Allergic variant

The character "b" means the same thing as a, but the program is allergic to these sequences:

aa
bab
bbb
bba
b)a
b)b
a)a

The character "c" means the same thing as a, but can only be used like this:

bbcb

If the program runs into any of these allergic sequences, it "gets sick" and the program outputs "Very high fever. Cannot go to work today"

Enjoy suffering trying to make things in this one.

Numbers 1-10 in allergic variant

a
ab
aba
bbcb
bbcba
abbcba
a(aba)
(aba)
(aba)a
(aba)ab