HelloWorld
- 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
.