ACHOO Interpreter

ACHOO is a programming language made of sneezes. Bless you.

What's New
i
NEW! ACHOO 5 is out! No more 82-o sneezes: the most used code now has reply words like gesundheit and tissue, and the rest uses sneezes from around the world with never more than 9 o's. Point at any sneeze to see what it means, or pick Mandelbrot from the examples and press Run.
program.ach - ACHOO Interpreter
[WAIT] waking up the interpreter...
Point at a sneeze, or click on one, to see what it means.
Sneeze Prompt - Output

        
ready
Learn ACHOO - Help

New to ACHOO? The full docs explain everything step by step, with quizzes.

What is ACHOO?

ACHOO is a programming language made of sneezes and the things people say back. No brackets, no colons, no quotes. Under the hood the sneezes turn into Python, so ACHOO can do everything Python can: classes, files and the whole standard library. A 3D ray tracer written in ACHOO draws the same picture, byte for byte, as the Python original.

Sneezes

There are three kinds of words, two manners and comments. The interpreter colours them like this:

gesundheitA reply word: the most used code gets something you'd say to a sneezer. gesundheit is print, tissue is return, salud is if.
atchoooA world sneeze: achoo, atchoo, ahchoo, hachoo, hatchoo, aitchoo, atishoo or kerchoo. The spelling picks a group and the o's pick the item, never more than 9.
achOooOoooA spelled sneeze: one letter in binary, o = 0 and O = 1. OooOooo is 1001000, the letter H.
bless youA line that blesses the interpreter. It needs one after every 7 statements.
sorry everyoneThe apology at the end of every program.
sniff like thisA comment. Everything after sniff on that line can be normal words, and ACHOO ignores it.

Point at any word in the interpreter to see what it means, or look it up in the sneeze table.

Rules

  1. Only sneezes and replies. Any other word crashes the program.
  2. Bless you. After every 7 statements there must be a bless you line. Forget it and it crashes. Bless too early and it crashes too.
  3. Say sorry. The last line must be sorry everyone.
  4. One line of sneezes is one line of code. Even indentation is a sneeze: achoo is 4 spaces.
  5. Never more than 9 o's. Sneeze any harder and the interpreter gives up.
  6. sniff starts a comment. The rest of that line can be normal words. Convert Python turns # comments into sniff comments.
  7. Files end in .ach, otherwise they aren't tissues. ACHOO files can import other ACHOO files.

Error messages

  • SneezeError: 'hello' is not a sneeze
  • SneezeError: 12 o's? nobody sneezes that hard
  • SneezeError: 'kerchoooo' doesn't mean anything yet
  • SneezeError: nobody blessed me
  • SneezeError: you sneezed on everyone and never apologised
  • SneezeError: that file isn't a tissue. use .ach
  • Your program caught a TypeError. achoo.

FAQ

Is it a real programming language?
Yes! It runs real programs. It turns your sneezes into Python first, so anything Python can do, ACHOO can do too.
Can I write it by hand?
It's much easier since ACHOO 5, but the letters are still binary. Writing Python and using Convert Python is quickest.
Why does it want me to say bless you?
It's polite.
Is it useful?
No. Well, technically yes. But no.

Run it on your computer

ACHOO needs Python 3.10 or newer.

python3 achoo.py program.ach runs a program
python3 achoo.py --sneezify prog.py turns Python into achoos
python3 achoo.py --python prog.ach shows the Python inside

Sneeze table
No.SneezeMeans
Any other character, like é or ł, is spelled the same binary way from its character code.
Convert Python
Python
ACHOO
Ready