We are currently working on new rules for what content should and shouldn't be allowed on this website, and are looking for feedback! See Esolang:2026 topicality proposal to view and give feedback on the current draft.

huh?

From Esolang
(Redirected from Huh)
Jump to navigation Jump to search

huh? is an esoteric programming language created by User:David.werecat where the interpreter doesn't understand what you want it to do.

Instructions

Every file is a valid huh? program. The interpreter will do its best to understand the input, but will fail (100-1/)% of the time. If it doesn't understand something, it will do nothing and simply express its confusion. It is implied that every command does something, we're just not sure what.

Programs

I try to speak the English as much as I can.

A valid Program


It print the "Hello, world!" into the screen.

Another Valid Program


I will give you two integers (A and B). Please find the result of A+B.

Third Valid Program


This program should take an integer and determine if it is 1. 
If it is not 1, then check its parity: 
If it is even, divide it by 2; otherwise, multiply it by 3 and add 1. 
Finally, output the total number of steps in the loop. 
This is a well-known (or unwell-known) conjecture in the mathematical world - the 'Collatz conjecture'.

Quine

Huh?

External resources

Categories