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.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:
gesundheit is print, tissue is return, salud is if.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.OooOooo is 1001000, the letter H.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
- Only sneezes and replies. Any other word crashes the program.
- Bless you. After every 7 statements there must be a
bless youline. Forget it and it crashes. Bless too early and it crashes too. - Say sorry. The last line must be
sorry everyone. - One line of sneezes is one line of code. Even indentation is a sneeze:
achoois 4 spaces. - Never more than 9 o's. Sneeze any harder and the interpreter gives up.
- sniff starts a comment. The rest of that line can be normal words. Convert Python turns
#comments intosniffcomments. - Files end in
.ach, otherwise they aren't tissues. ACHOO files can import other ACHOO files.
Error messages
SneezeError: 'hello' is not a sneezeSneezeError: 12 o's? nobody sneezes that hardSneezeError: 'kerchoooo' doesn't mean anything yetSneezeError: nobody blessed meSneezeError: you sneezed on everyone and never apologisedSneezeError: that file isn't a tissue. use .achYour 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
| No. | Sneeze | Means |
|---|