2 releases

0.1.1 Dec 13, 2023
0.1.0 Dec 13, 2023

#323 in Programming languages

28 downloads per month

MIT license

10KB
180 lines

HoHoHo!

This repository contains an interpreter for HOHOHO! - an adapted version of Santa's programming language: HoHoHo!

I heard some of the other elves say that one particular elf might try to reconstruct the original language here as well. But who knows, all of us are busy all the time!

Specification

Both of these languages are equivalent to Brainfuck. HOHOHO! however is not just louder when you read it (try it!), it's actually made from hydrogen, oxygen and holmium, Santa's favourite elements.

Brainfuck HoHoHo! HOHOHO!
+ HoHoHo HOHOHO
- hohoho HoHoHo
> HoHoho HOHOHo
< hoHoHo HoHOHO
[ Hohoho HOHoHo
] hohoHo HoHoHO
. hoHoho HoHOHo
, HohoHo HOHoHO

Why are there two HoHoHo!s?

While the original HoHoHo! specification is documented rather well, some say the other one was made because Santa decided to visit some chemists. Nobody is really sure, though.

Maybe more will be uncovered soon?

Installation & Usage

You can simply install the interpreter via cargo:

cargo install hohoho

Run hohoho --help for available command line options.

Dependencies

~6.5MB
~121K SLoC