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.

HelloWorld

From Esolang
Jump to navigation Jump to search
This article is not detailed enough and needs to be expanded. Please help us by adding some more information.

HelloWorld is a language in progress by Splat. HelloWorld (or HW)'s command set consists only of the letters h,e,l,l,o,w,o,r,l,d. It must be made clear from the start that you will not be able to write the ubiquitous Hello, world! program in HW, because it's boring.

Example

The following code computes 1+1 and then prints the answer.

HELLO
drh(01+01)
hrl(drh)
WORLD

The HELLO keyword denotes the program entry point. WORLD, as you would imagine, denotes the program end. drh is a built in function that takes any maths problem as its arguments. It then stores them in memory until they are recalled. If used as a variable, returns the most recent result. hrl, as you could probably already tell, prints its arguments.

Compiler

A HW compiler was supposedly being worked on since 2005 but is most definitely abandoned by now. The current HW compiler is under work by π•Ύπ–†π–“π–˜π–ˆπ–Žπ–ˆπ–”π–“π–‰π–”π–˜.

Interpreter

The only known implementation for HelloWorld is written in C and is available at Github. drh does not allow parentheses, and follows BEDMAS (more specifically DMAS). Additionally, only numbers can be output using hrl.