Noisytoot / pyhuh

A cross-platform huh? interpreter in Python 3
MIT License
4 stars 0 forks source link

It's too easy to make the compiler to understand your code #1

Open KosmX opened 3 years ago

KosmX commented 3 years ago

Here is an example Hello world program :D

Note: the file name is an important part of the code

filename: antigravity.py

#This is a valid huh? program, to print Hello world
#https://esolangs.org/wiki/Huh%3F

# Apparently only works with https://github.com/Noisytoot/pyhuh this interpreter... sorry, huh can rarely understand code.

print("\nHello world!")
KosmX commented 3 years ago

Example output on py computer:

$ ./pyhuh.py antigravity.py 
Ummmmm...
...?
Huh?
What?
Huh?
Huh?
Huh?
Huh?
Huh?
Huh?
Huh?
Huh?
Huh?
Huh?
Ith...?
Understood..

Hello world!
...