Hum

From Esolang
(Redirected from User:Ractangle/Hum)
Jump to navigation Jump to search

Hum is a golf esolang made by User:Ractangle during his IT lesson becuase he didn't want to make a very complicated project (A.K.A. Making a sims game in python)

Commands

Command Meaning
Main commands
'...' Pushes every symbol surrounded by ` to string stack
@ Prints the top value on the stack
! Pops the top value on the stack
|...| Comment
_ Takes one element from the input
# Stops the program
i[...] Pushes integers
* Moves the stack pointer
Conditionals (?symbol)
b checks if the both top values of the two stacks are equal

Hum also uses instructions as bytes instead:

Examples

Hello, world!

`Hello, world!`@#

Cat program returning EOI error

_@

Interpreter

This time i used "Attempt This Online" for the interpreter because yes

The IT teachers response btw

Круто (Cool)