unismall

From Esolang
Jump to navigation Jump to search
This is still a work in progress. It may be changed in the future.
Name "unismall" writes in lowercase, excluding start of proposal

Unismall is the same small, but commands is hard unicode characters.


Commands

Command Description
𒀱 (U+12031 — Cuneiform Sign A Times Ash2) Increment the accumulator by 1
(U+A66E — Cyrillic Letter Multiocular O) Output the accumulator as ascii

Interpreting

Python

prgm = input('>unismall: ')
accumulator = 0

for inst in prgm:
    if inst == "𒀱":
        accumulator = (accumulator + 1) % 251
    elif inst == "ꙮ":  
        print(chr(accumulator), end="")