List of Hello World Programs / Others
This is a list of hello world programs for graphical user interfaces , web technologies, esoteric programming languages, and markup languages. Further examples of common programming languages are given under List of Hello World Programs / Higher Programming Languages . Examples of assembler programs can be found under List of Hello World Programs / Assembler .
Graphic user interfaces as traditional applications
4th dimension
Alert("Hallo Welt!")
APL
'Hallo Welt!'
Beta (programming language)
ORIGIN '~beta/basiclib/betaenv';
(* Das klassische Hallo-Welt-Programm in BETA *)
--PROGRAM: descriptor--
(#
do 'Hallo Welt!' -> Screen.PutLine;
#)
BCPL
GET "LIBHDR"
LET START () BE $( WRITES ("Hallo Welt!*N") $)
Clarion
program
window WINDOW('Hallo Welt'),AT(,,300,200),STATUS,SYSTEM,GRAY,DOUBLE,AUTO END
code
open(window) show(10,10,'Hallo Welt!') accept end close(window)
Clipper
? "Hallo Welt!"
Commodore Basic V2
10 print "Hallo Welt!"
DarkBASIC
print "Hallo Welt!" suspend for key
Dylan
define method hallo-welt() format-out("Hallo Welt!\n"); end method hallo-welt;
hallo-welt();
EASY
In the variant tdbengine:
module helloworld procedure Main cgiclosebuffer cgiwriteln("content-type: text/html") cgiwriteln("") cgiwriteln("Hallo Welt!") endproc
in the VDP variant:
module helloworld procedure Main Message("Hallo Welt!") endproc
FOCAL
01 LBL'HALLO
02'HALLO WELT
03 AON
04 RTN
where the apostrophe stands for the HP41-specific starting character of a character string.
Forth
In direct mode via interpreter (e.g. in a "Forth script"):
.( Hallo Welt!)
or in compiled form:
: GREET ." Hallo Welt!" ; ( GREET wird durch Kompilierung erzeugt ) GREET ( und unmittelbar darauf ausgeführt )
Fortress
component HalloWelt export Executable run(args:String...) = print "Hallo Welt!" end
hpl (Hewlett-Packard Language around 1975)
wtb 0,"Hallo Welt",13,10
or
wrt 0,"Hallo Welt"
Yeah
function test takes nothing returns nothing call BJDebugMsg("Hallo Welt!") endfunction
or
function test takes nothing returns nothing call DisplayTextToPlayer(Player(0), 0, 0, "Hallo Welt!") // für Spieler 1 endfunction
or
function test takes nothing returns nothing call DisplayTextToPlayer(GetLocalPlayer(), 0, 0, "Hallo Welt!") // für den lokalen Spieler endfunction
The whole thing now for a certain time:
function test takes nothing returns nothing call DisplayTimedTextToPlayer(Player(0), 0, 0, 10, "Hallo Welt!") // für Spieler 1 und für 10 sekunden endfunction
or
function test takes nothing returns nothing call DisplayTimedTextToPlayer(GetLocalPlayer(), 0, 0, 10, "Hallo Welt!") // für den lokalen Spieler und für 10 sekunden endfunction
LabVIEW
Lingo
In the message window:
on startMovie
put "Hallo Welt!"
end startMovie
In a dialog window:
on startMovie
alert "Hallo Welt!"
end startMovie
In a customizable dialog window using MUI Xtra:
on startMovie
set alertObj = new(xtra "MUI")
set alertInitList = [ \ #buttons : #Ok, \ #default : 1, \ #icon : #note, \ #message : "Hallo Welt!", \ #movable : TRUE, \ #title : ""]
if objectP(alertObj) then
set result = alert(alertObj, alertInitList)
case result of 1 : -- the user clicked OK otherwise : -- the user hit ESC end case
end if
end startMovie
logo
print [Hallo Welt!]
m4
Hallo Welt!
Machine language ( DOS -COM program on Intel 80x86 )
BA 0B 01 B4 09 CD 21 B4 4C CD 21 48 61 6C 6C 6F 20 57 65 6C 74 21 0D 0A 24
Input of this program section (only the
bold print = mnemonic 1: 1 code) under DOS - request
C: \ Debug
- a
0D78: 0100 mov dx, 10b
0D78: 0103 mov ah, 9
0D78: 0105 int 21
0D78: 0107 mov ah, 4c
0D78: 0109 int 21
0D78: 010B db "Hello world!" da 24
0D78: 0118
-
The actual program section can be checked by u [nassemble]:
- u 100 109
0D78: 0100 BA0b01 MOV DX, 010B
0D78: 0103 B409 MOV AH, 09
0D78: 0105 CD21 INT 21
0D78: 0107 B44C MOV AH, 4C
0D78: 0109 CD21 INT 21
-
... and the text / data piece by d [ump]
- d 10b 118
... or the entire machine program, also by d [ump]
- d 100 118
0D78: 0100 BA 0B 01 B4 09 CD 21 B4-4C-CD 21 48 61 6C 6C 6F ......!. L.! Hello
0D78: 0110 20 57 65 6C 74 21 0D 0D-24 World! .. $
-
Under DOS -DEBUG you let the program run with g [o], unless you save it as an independent running program as a * .COM file
- g
Hello world!
A simplest assembler translates the mnemonic codes entered in a text program in a ratio of 1: 1 (ONE code corresponds to ONE word of the machine program) into the machine program, with the simplification that addresses for memory information and program jumps can be indicated symbolically.
MIXAL
TERM EQU 18 the MIX console device number ORIG 1000 start address START OUT MSG(TERM) output data at address MSG HLT halt execution MSG ALF MIXAL ALF HALL ALF O WEL ALF T END START end of the programm
mumps
W "Hallo Welt!",!
Natural
WRITE 'Hallo Welt!'.
Nemerle
class Hello { static Main () : void { System.Console.WriteLine ("Hallo Welt!"); } }
or:
System.Console.WriteLine("Hallo Welt!");
ObjectPAL ( Paradox Application Language)
method run(var eventInfo Event) msginfo("Info", "Hallo Welt!") endMethod
Occam
PROC HelloWorld() []BYTE helloworldstring : SEQ helloworldstring := "Hallo Welt!" screen ! helloworldstring
OPAL
Generating a denotation (opal string):
SIGNATURE HelloWorld
FUN Hello : denotation
IMPLEMENTATION HelloWorld
DEF Hello == "Hallo Welt!\n"
Function that generates the screen output:
SIGNATURE HelloWorld IMPORT Com COMPLETELY Void COMPLETELY
FUN HelloWorld : com[void]
IMPLEMENTATION HelloWorld IMPORT BasicIO COMPLETELY
DEF HelloWorld == writeLine("Hallo Welt!\n")
OPL
PROC Hallo: PRINT "Hallo Welt!" ENDP
Oz / Mozart
{Show 'Hallo Welt!'}
Pascal
program Hallo(output);
begin
writeln('Hallo Welt')
end.
PILOT
T:Hallo Welt!
PL / B
display "Hallo Welt"
POW!
MODULE Helloworld; IMPORT Out; PROCEDURE ProgMain*; BEGIN Out.String("Hallo Welt"); END ProgMain; END Helloworld.
alternatively:
MODULE Helloworld; IMPORT Display; PROCEDURE ProgMain*; BEGIN Display.WriteStr("Hallo Welt"); END ProgMain; END Helloworld.
PowerScript
In a previously defined window with a text field:
open(win_zeige_hallowelt) w_zeige_hallowelt.textfeld.text = 'Hallo Welt!'
As a dialog window:
MessageBox('Irgendein Fenstertitel','Hallo Welt!')
Profane ² / XProfan
cls print "Hallo Welt!" waitinput
or
Messagebox("Hallo Welt!","",0)
or
Print "Hallo Welt!" WaitKey End
or
shell getenv$("COMSPEC")+" /k @echo Hallo Welt!"
Promela
active proctype HalloWeltProc() { printf("Hallo Welt!"); }
or
proctype HalloWeltProc() { printf("Hallo Welt!"); } init { run HalloWeltProc(); }
Pure data
Patch as ASCII art
[hello world( | [print]
Patch in the source code:
#N canvas 0 0 300 300 10; #X obj 100 100 loadbang; #X msg 100 150 Hallo Welt; #X obj 100 200 print; #X connect 0 0 1 0; #X connect 1 0 2 0.
RapidBatch
rem RapidBatch 5.1 Echo 'Hallo Welt!' End
REBOL
REBOL [ Title: "Hallo Welt in einem Fenster" File: %hello-view.r Date: 12-January-2002 ]
view layout [ text "Hallo Welt!" button "Beenden" [quit] ]
RPG
RPG 3:
C 'Hallo' CAT ' Welt' HALLO 10 C DSPLY HALLO C MOVE '1' *INLR
RPG 4:
C 'Hallo Welt' dsply C return
RPG 4 (Free):
Dsply 'Hallo Welt'; return;
RPL
<< "Hallo Welt!" MSGBOX >>
Sather
class MAIN is main is #OUT + "Hallo Welt\n"; end; end;
sed
iHallo Welt! Q
Seed7
$ include "seed7_05.s7i";
const proc: main is func begin writeln("Hallo Welt!"); end func;
Self
'Hallo Welt!' print.
SPL (SPL Programming Language) with Qt
load "qt"; var a = new qt.QApplication(); var l = new qt.QLabel(undef); l.setText("Hallo Welt!"); a.setMainWidget(l); l.show(); a.exec();
SQF (Arma 3 Scripting Language)
hint "Hello World";
TECO
iHallo Welt!$ht$$
TI-Basic
TI-Basic on the TI-83 Plus or TI-84 Plus :
:Disp "Hallo Welt!"
or
:Output(1,1,"Hallo Welt!")
TI-Basic on the TI-89 , TI-92 and similar:
:test() :Prgm :ClrIO :Disp "Hallo Welt!" :EndPrgm
or
:test() :Prgm :ClrIO :Output 1,1,"Hallo Welt!" :EndPrgm
TI-Basic on the TI-Nspire (with or without CAS ):
Define test()= Prgm Disp "Hallo Welt!" EndPrgm
Tcl / Tk
label .label1 -text "Hallo Welt!" pack .label1
or shorter (taking advantage of the fact that the label command returns the name):
pack [label .label1 -text "Hallo Welt!"]
Tcl
puts "Hallo Welt!"
REALbasic
MsgBox "Hallo Welt!"
Waba / SuperWaba
import waba.ui.*; import waba.fx.*;
public class HelloWorld extends MainWindow {
public void onPaint(Graphics g) { g.setColor(0, 0, 0); g.drawText("Hallo Welt!", 0, 0); } }
X ++
static void HelloWorldJob(Args _args) { ; Box::info("Hallo Welt!"); }
Web technologies
ColdFusion
<cfoutput>Hallo Welt!</cfoutput>
Curl
{curl 5.0 applet} Hallo Welt
JavaServer Pages (JSP)
<% out.print("Hallo Welt!"); %>
or shortened
<%="Hallo Welt!"%>
Phalanges
<? class Programm { static function Main() { echo "Hallo Welt!\n"; return 0; } } ?>
Microsoft Silverlight
VB.NET:
System.Console.WriteLine("Hallo Welt!")
Or:
MessageBox.Show("Hallo Welt")
C #:
System.Console.WriteLine("Hallo Welt!");
SNOBOL4
OUTPUT = "Hallo Welt!" END
Xbase ++
function main() msgbox( "Hallo Welt!", "Mein erstes Xbase++ Programm" ) return .T.
X ++
print "Hallo Welt!\n"; pause;
or
info("Hallo Welt!\n");
Zonnon
module Main; begin writeln("Hallo Welt!") end Main.
Esoteric programming languages
ArnoldC
IT'S SHOWTIME TALK TO THE HAND "Hello World" YOU HAVE BEEN TERMINATED
beatnik
bet you comments secret this file prints "Hello World!". It really does! (said me) Comments allowed See zaaf.nl for the interpreter used. Edit here we have reasons, but whether mouse droppin' are holding up schools, feel if I want letters. Regardless of truth, agents are abandonin' units again. Print between lines are separate works. load sequentially, include users explicitly. Later and evil can me over! (antinormal) Does I says? Dust duchess schools foolings. My, my, is iceleaf over genius imposed. Can Neo have decided systems? But free flips become lines between continued stops. Start gets made standard. Help! Old world skool really stink (really!) Prerent third closest from weird deletion. Interestingly!
Befunge
"!tleW ollaH">,:v ^ _@
Or:
"!tleW ollaH">:#,_@
Brainfuck
++++++++++
[
>+++++++>++++++++++>+++>+<<<<-
] Schleife zur Vorbereitung der Textausgabe
>++. 'H'
>---. 'a'
+++++++++++. 'l'
. 'l'
+++. 'o'
>++. Leerzeichen
<<+++++++++++++++. 'W'
++++++++++++++. 'e'
>---. 'l'
++++++++. 't'
>+. '!'
>. Zeilenvorschub
Brainfuck2D
* *0************** * * * * * * *9******************* * * *5*************** * * ** * * * * * * * * * * * * * * * * * **********0* * * * ********** * * * * * * * *44**************************** * * * * * * * * ***********0* * 0 * * * 2**11 * * * * * 0 * * * 0 * * * * *****4*3*2*1* * * * * * * * 0 * * * *221********* * * * * * * * * * *0**** * * 0 * * * * * * *****************************BRAINFUCK****************************************** * * * * * * * * * * * * * *0*** * * * ** * * * * * * * * * * * * * * * * ********************* * * * * * * * * * * * * * * *8**************** * * * * ***********0* * * 0*1*1*2*1*1 * * * * *0****** * * 0 * * * * * * 0 * * * * * * * * ** * *4******* * * * * * * * * * * * * * * * * *****0* ***************************** * * * * * * * * * * * **2*2*2*2*2*** * **1***** * * * * * * * * * * * ** * * * * * * * *0** * * * * * * * 0 * * * * ********* * * * **2*2* * * *242 * * * * * 0 *3*3*1**** * * * * * * * * * * * * * ************************************************************** * * * * * * * * 999991* * * * * * * 0 * * * * ** * 0 * * * * * * 9999* * ***** * * * * * * * * * * * * *22223 * * * * * * * * ********
boss
Hallo Welt Souffle.
Ingredients. 72 g haricot beans 97 anchovies 108 g lard 111 cups oil 32 zucchinis 87 ml water 101 eggs 116 g sliced tomatoes 33 potatoes
Method. Put potatoes into the mixing bowl. Put sliced tomatoes into the mixing bowl. Put lard into the mixing bowl. Put eggs into the mixing bowl. Put water into the mixing bowl. Put zucchinis into the mixing bowl. Put oil into the mixing bowl. Put lard into the mixing bowl. Put lard into the mixing bowl. Put anchovies into the mixing bowl. Put haricot beans into the mixing bowl. Liquify contents of the mixing bowl. Pour contents of the mixing bowl into the baking dish.
Serves 1.
FiM ++
Dear Princess Celestia: Hello World!
Today I learned something simple. I said "Hallo, Welt!"! That’s all about something simple!
Your faithful student, Twilight Sparkle.
HQ9 +
One of the purposes of the language is to simply write hello world programs.
H
INTERCAL
PLEASE DO ,1 <- #13
DO ,1 SUB #1 <- #238
DO ,1 SUB #2 <- #112
DO ,1 SUB #3 <- #112
DO ,1 SUB #4 <- #0
DO ,1 SUB #5 <- #64
DO ,1 SUB #6 <- #238
DO ,1 SUB #7 <- #26
DO ,1 SUB #8 <- #248
DO ,1 SUB #9 <- #168
DO ,1 SUB #10 <- #24
DO ,1 SUB #11 <- #16
DO ,1 SUB #12 <- #158
DO ,1 SUB #13 <- #52
PLEASE READ OUT ,1
PLEASE GIVE UP
Java2K
Since Java2K is a probabilistic language, a "Hello World" can only be written with a certain probability.
1 1 /125 /131 /119 /125 /11 6/*/_\/_\/125 /13 2 /*/_\/_\\/131 /119 /125 /11 6/*/_\/_\/125 /13 2 /*/_\/_\\/119 /125 /11 6/*/_\/_\/125 /13 2/*/_\ /_\\\\/131 /119 /125 /11 6/*/_\/_\/125 /13 2/*/ _\/_\\/131 /119 /125 /11 6/*/_\/_\/125 /13 2/*/ _\/_\\/131 /119 /125 /11 6/*/_\/_\/125 /13 2/*/ _\/_\\/131 /119 /125 /11 6/*/_\/_\/125 /13 2/*/ _\/_\\/131 /119 /125 /11 6/*/_\/_\/125 /13 2/*/ _\/_\\/119 /125 /11 6/*/_\/_\/125 /13 2/*/_\/_\ \\\\\\\/*\1 1 /125 /119 /11 6/*/_\/13 2/*/_\\/ 125 /131 /119 /125 /11 6/*/_\/_\/125 /13 2/*/_\ /_\\/119 /125 /11 6/*/_\/_\/125 /13 2/*/_\/_\\\ /125 /131 /119 /125 /11 6/*/_\/_\/125 /13 2/*/_ \/_\\/131 /119 /125 /11 6/*/_\/_\/125 /13 2/*/_ \/_\\/131 /119 /125 /11 6/*/_\/_\/125 /13 2/*/_ \/_\\/131 /119 /125 /11 6/*/_\/_\/125 /13 2/*/_ \/_\\/119 /125 /11 6/*/_\/_\/125 /13 2/*/_\/_\\ \\\\/131 /119 /125 /11 6/*/_\/_\/125 /13 2/*/_\ /_\\/131 /119 /125 /11 6/*/_\/_\/125 /13 2/*/_\ /_\\/131 /119 /125 /11 6/*/_\/_\/125 /13 2/*/_\ /_\\/131 /119 /125 /11 6/*/_\/_\/125 /13 2/*/_\ /_\\/131 /119 /125 /11 6/*/_\/_\/125 /13 2/*/_\ /_\\/119 /125 /11 6/*/_\/_\/125 /13 2/*/_\/_\\\ \\\\\\\/*\1 1 /125 /131 /119 /125 /11 6/*/_\/_\ /125 /13 2/*/_\/_\\/119 /125 /11 6/*/_\/_\/ 125 /13 2/*/_\/_\\\/125 /131 /119 /125 /11 6/*/ _\/_\/125 /13 2/*/_\/_\\/131 /119 /125 /11 6/*/ _\/_\/125 /13 2/*/_\/_\\/119 /125 /11 6/*/_\/_\ /125 /13 2/*/_\/_\\\\/125 /131 /119 /125 /11 6/ */_\/_\/125 /13 2/*/_\/_\\/131 /119 /125 /11 6/ */_\/_\/125 /13 2/*/_\/_\\/131 /119 /125 /11 6/ */_\/_\/125 /13 2/*/_\/_\\/131 /119 /125 /11 6/ */_\/_\/125 /13 2/*/_\/_\\/119 /125 /11 6/*/_\/ _\/125 /13 2/*/_\/_\\\\\\/131 /119 /125 /11 6/* /_\/_\/125 /13 2/*/_\/_\\/131 /119 /125 /11 6/* /_\/_\/125 /13 2/*/_\/_\\/131 /119 /125 /11 6/* /_\/_\/125 /13 2/*/_\/_\\/131 /119 /125 /11 6/* /_\/_\/125 /13 2/*/_\/_\\/131 /119 /125 /11 6/* /_\/_\/125 /13 2/*/_\/_\\/119 /125 /11 6/*/_\/_ \/125 /13 2/*/_\/_\\\\\\\\\\/*\1 1 /125 /131 / 119 /125 /11 6/*/_\/_\/125 /13 2/*/_\/_\\/119 / 125 /11 6/*/_\/_\/125 /13 2/*/_\/_\\\/125 / 131 /119 /125 /11 6/*/_\/_\/125 /13 2/*/_\/_\\/ 131 /119 /125 /11 6/*/_\/_\/125 /13 2/*/_\/_\\/ 119 /125 /11 6/*/_\/_\/125 /13 2/*/_\/_\\\\/ 125 /131 /119 /125 /11 6/*/_\/_\/125 /13 2/*/_\ /_\\/131 /119 /125 /11 6/*/_\/_\/125 /13 2/*/_\ /_\\/131 /119 /125 /11 6/*/_\/_\/125 /13 2/*/_\ /_\\/131 /119 /125 /11 6/*/_\/_\/125 /13 2/*/_\ /_\\/119 /125 /11 6/*/_\/_\/125 /13 2/*/_\/_\\\ \\\/131 /119 /125 /11 6/*/_\/_\/125 /13 2/*/_\/ _\\/131 /119 /125 /11 6/*/_\/_\/125 /13 2/*/_\/ _\\/131 /119 /125 /11 6/*/_\/_\/125 /13 2/*/_\/ _\\/131 /119 /125 /11 6/*/_\/_\/125 /13 2/*/_\/ _\\/131 /119 /125 /11 6/*/_\/_\/125 /13 2/*/_\/ _\\/119 /125 /11 6/*/_\/_\/125 /13 2/*/_\/_\\\\ \\\\\\/*\1 1 /125 /119 /11 6/*/_\/13 2/*/_\\/ 125 /119 /125 /11 6/*/_\/_\/125 /13 2/*/_\/_\\/ 125 /131 /119 /125 /11 6/*/_\/_\/125 /13 2/*/_\ /_\\/119 /125 /11 6/*/_\/_\/125 /13 2/*/_\/_\\\ /125 /131 /119 /125 /11 6/*/_\/_\/125 /13 2/*/_ \/_\\/131 /119 /125 /11 6/*/_\/_\/125 /13 2/*/_ \/_\\/119 /125 /11 6/*/_\/_\/125 /13 2/*/_\/_\\ \\/125 /131 /119 /125 /11 6/*/_\/_\/125 /13 2/* /_\/_\\/131 /119 /125 /11 6/*/_\/_\/125 /13 2/* /_\/_\\/131 /119 /125 /11 6/*/_\/_\/125 /13 2/* /_\/_\\/131 /119 /125 /11 6/*/_\/_\/125 /13 2/* /_\/_\\/119 /125 /11 6/*/_\/_\/125 /13 2/*/_\/_ \\\\\\/131 /119 /125 /11 6/*/_\/_\/125 /13 2/*/ _\/_\\/131 /119 /125 /11 6/*/_\/_\/125 /13 2/*/ _\/_\\/131 /119 /125 /11 6/*/_\/_\/125 /13 2/*/ _\/_\\/131 /119 /125 /11 6/*/_\/_\/125 /13 2/*/ _\/_\\/131 /119 /125 /11 6/*/_\/_\/125 /13 2/*/ _\/_\\/119 /125 /11 6/*/_\/_\/125 /13 2/*/_\/_\ \\\\\\\\\\\/*\1 1 /125 /131 /119 /125 /11 6/*/_ \/_\/125 /13 2/*/_\/_\\/119 /125 /11 6/*/_\/_\/ 125 /13 2/*/_\/_\\\/125 /131 /119 /125 /11 6/*/ _\/_\/125 /13 2/*/_\/_\\/131 /119 /125 /11 6/*/ _\/_\/125 /13 2/*/_\/_\\/119 /125 /11 6/*/_\/_\ /125 /13 2/*/_\/_\\\\/131 /119 /125 /11 6/*/_\/ _\/125 /13 2/*/_\/_\\/131 /119 /125 /11 6/*/_\/ _\/125 /13 2/*/_\/_\\/131 /119 /125 /11 6/*/_\/ _\/125 /13 2/*/_\/_\\/131 /119 /125 /11 6/*/_\/ _\/125 /13 2/*/_\/_\\/119 /125 /11 6/*/_\/_\/ 125 /13 2/*/_\/_\\\\\\\\/*\1 1 /131 /119 /125 / 11 6/*/_\/_\/125 /13 2/*/_\/_\\/131 /119 /125 / 11 6/*/_\/_\/125 /13 2/*/_\/_\\/131 /119 /125 / 11 6/*/_\/_\/125 /13 2/*/_\/_\\/131 /119 /125 / 11 6/*/_\/_\/125 /13 2/*/_\/_\\/119 /125 /11 6/ */_\/_\/125 /13 2/*/_\/_\\\\\\/*\1 1 /125 / 119 /11 6/*/_\/13 2/*/_\\/125 /119 /125 /11 6/* /_\/_\/125 /13 2/*/_\/_\\/125 /131 /119 /125 / 11 6/*/_\/_\/125 /13 2/*/_\/_\\/119 /125 /11 6/ */_\/_\/125 /13 2/*/_\/_\\\/125 /131 /119 / 125 /11 6/*/_\/_\/125 /13 2/*/_\/_\\/131 /119 / 125 /11 6/*/_\/_\/125 /13 2/*/_\/_\\/131 /119 / 125 /11 6/*/_\/_\/125 /13 2/*/_\/_\\/119 /125 / 11 6/*/_\/_\/125 /13 2/*/_\/_\\\\\/131 /119 / 125 /11 6/*/_\/_\/125 /13 2/*/_\/_\\/131 /119 / 125 /11 6/*/_\/_\/125 /13 2/*/_\/_\\/131 /119 / 125 /11 6/*/_\/_\/125 /13 2/*/_\/_\\/131 /119 / 125 /11 6/*/_\/_\/125 /13 2/*/_\/_\\/131 /119 / 125 /11 6/*/_\/_\/125 /13 2/*/_\/_\\/119 /125 / 11 6/*/_\/_\/125 /13 2/*/_\/_\\\\\\\\\\\/*\ 1 1 /125 /119 /11 6/*/_\/13 2/*/_\\/125 /119 / 125 /11 6/*/_\/_\/125 /13 2/*/_\/_\\/125 /131 / 119 /125 /11 6/*/_\/_\/125 /13 2/*/_\/_\\/119 / 125 /11 6/*/_\/_\/125 /13 2/*/_\/_\\\/125 / 131 /119 /125 /11 6/*/_\/_\/125 /13 2/*/_\/_\\/ 131 /119 /125 /11 6/*/_\/_\/125 /13 2/*/_\/_\\/ 119 /125 /11 6/*/_\/_\/125 /13 2/*/_\/_\\\\/ 125 /131 /119 /125 /11 6/*/_\/_\/125 /13 2/*/_\ /_\\/131 /119 /125 /11 6/*/_\/_\/125 /13 2/*/_\ /_\\/131 /119 /125 /11 6/*/_\/_\/125 /13 2/*/_\ /_\\/131 /119 /125 /11 6/*/_\/_\/125 /13 2/*/_\ /_\\/119 /125 /11 6/*/_\/_\/125 /13 2/*/_\/_\\\ \\\/131 /119 /125 /11 6/*/_\/_\/125 /13 2/*/_\/ _\\/131 /119 /125 /11 6/*/_\/_\/125 /13 2/*/_\/ _\\/131 /119 /125 /11 6/*/_\/_\/125 /13 2/*/_\/ _\\/131 /119 /125 /11 6/*/_\/_\/125 /13 2/*/_\/ _\\/131 /119 /125 /11 6/*/_\/_\/125 /13 2/*/_\/ _\\/119 /125 /11 6/*/_\/_\/125 /13 2/*/_\/_\\\\ \\\\\\\\/*\1 1 /125 /119 /125 /11 6/*/_\/_\/ 125 /13 2/*/_\/_\\/125 /131 /119 /125 /11 6/*/_ \/_\/125 /13 2/*/_\/_\\/131 /119 /125 /11 6/*/_ \/_\/125 /13 2/*/_\/_\\/131 /119 /125 /11 6/*/_ \/_\/125 /13 2/*/_\/_\\/119 /125 /11 6/*/_\/_\/ 125 /13 2/*/_\/_\\\\\/125 /131 /119 /125 /11 6/ */_\/_\/125 /13 2/*/_\/_\\/131 /119 /125 /11 6/ */_\/_\/125 /13 2/*/_\/_\\/131 /119 /125 /11 6/ */_\/_\/125 /13 2/*/_\/_\\/131 /119 /125 /11 6/ */_\/_\/125 /13 2/*/_\/_\\/119 /125 /11 6/*/_\/ _\/125 /13 2/*/_\/_\\\\\\/131 /119 /125 /11 6/* /_\/_\/125 /13 2/*/_\/_\\/131 /119 /125 /11 6/* /_\/_\/125 /13 2/*/_\/_\\/131 /119 /125 /11 6/* /_\/_\/125 /13 2/*/_\/_\\/131 /119 /125 /11 6/* /_\/_\/125 /13 2/*/_\/_\\/131 /119 /125 /11 6/* /_\/_\/125 /13 2/*/_\/_\\/119 /125 /11 6/*/_\/_ \/125 /13 2/*/_\/_\\\\\\\\\\/*\1 1 /125 /131 / 119 /125 /11 6/*/_\/_\/125 /13 2/*/_\/_\\/119 / 125 /11 6/*/_\/_\/125 /13 2/*/_\/_\\\/125 / 131 /119 /125 /11 6/*/_\/_\/125 /13 2/*/_\/_\\/ 131 /119 /125 /11 6/*/_\/_\/125 /13 2/*/_\/_\\/ 119 /125 /11 6/*/_\/_\/125 /13 2/*/_\/_\\\\/ 125 /131 /119 /125 /11 6/*/_\/_\/125 /13 2/*/_\ /_\\/131 /119 /125 /11 6/*/_\/_\/125 /13 2/*/_\ /_\\/131 /119 /125 /11 6/*/_\/_\/125 /13 2/*/_\ /_\\/131 /119 /125 /11 6/*/_\/_\/125 /13 2/*/_\ /_\\/119 /125 /11 6/*/_\/_\/125 /13 2/*/_\/_\\\ \\\/131 /119 /125 /11 6/*/_\/_\/125 /13 2/*/_\/ _\\/131 /119 /125 /11 6/*/_\/_\/125 /13 2/*/_\/ _\\/131 /119 /125 /11 6/*/_\/_\/125 /13 2/*/_\/ _\\/131 /119 /125 /11 6/*/_\/_\/125 /13 2/*/_\/ _\\/131 /119 /125 /11 6/*/_\/_\/125 /13 2/*/_\/ _\\/119 /125 /11 6/*/_\/_\/125 /13 2/*/_\/_\\\\ \\\\\\/*\1 1 /125 /131 /119 /125 /11 6/*/_\/_\/ 125 /13 2/*/_\/_\\/119 /125 /11 6/*/_\/_\/125 / 13 2/*/_\/_\\\/125 /131 /119 /125 /11 6/*/_\/_\ /125 /13 2/*/_\/_\\/131 /119 /125 /11 6/*/_\/_\ /125 /13 2/*/_\/_\\/131 /119 /125 /11 6/*/_\/_\ /125 /13 2/*/_\/_\\/131 /119 /125 /11 6/*/_\/_\ /125 /13 2/*/_\/_\\/119 /125 /11 6/*/_\/_\/ 125 /13 2/*/_\/_\\\\\\/131 /119 /125 /11 6/*/_\ /_\/125 /13 2/*/_\/_\\/131 /119 /125 /11 6/*/_\ /_\/125 /13 2/*/_\/_\\/131 /119 /125 /11 6/*/_\ /_\/125 /13 2/*/_\/_\\/131 /119 /125 /11 6/*/_\ /_\/125 /13 2/*/_\/_\\/131 /119 /125 /11 6/*/_\ /_\/125 /13 2/*/_\/_\\/119 /125 /11 6/*/_\/_\/ 125 /13 2/*/_\/_\\\\\\\\\/*\342//3427/*_/\_
Lolcode
HAI CAN HAS STDIO? VISIBLE “HAI WORLD!” KTHXBYE
Malbnung
(=<`:9876Z4321UT.-Q+*)M'&%$H"!~}|Bzy?=|{z]KwZY44Eq0/{mlk**hKs_dG5 [m_BA{?-Y;;Vb'rR5431M}/.zHGwEDCBA@98\6543W10/.R,+O<
MorsedC
MorsedC programs are simple C programs translated into the Morse alphabet. (The "#" is written as "#", brackets "\", comments "//")
1 #.. -. -.-. .-.. ..- -.. . ... - -.. .. --- .-.-.- .... -.-.-.\ // #include<stdio.h>
2 .. -. - -- .- .. -. -.--. -.--.-\ // int main {
3 .--. .-. .. -. - ..-. -.--. .... . .-.. .-.. --- .-- --- .-. .-.. -.. -.--.- -.-.-. // printf("Hello world");
4 .-. . - ..- .-. -. ----- -.-.-. // return 0;
5 \ // }
Ook!
Ook. Ook? Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook! Ook? Ook? Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook? Ook! Ook! Ook? Ook! Ook? Ook. Ook! Ook. Ook. Ook? Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook! Ook? Ook? Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook? Ook! Ook! Ook? Ook! Ook? Ook. Ook. Ook. Ook! Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook! Ook. Ook! Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook! Ook. Ook. Ook? Ook. Ook? Ook. Ook? Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook! Ook? Ook? Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook? Ook! Ook! Ook? Ook! Ook? Ook. Ook! Ook. Ook. Ook? Ook. Ook? Ook. Ook? Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook! Ook? Ook? Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook? Ook! Ook! Ook? Ook! Ook? Ook. Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook. Ook? Ook. Ook? Ook. Ook? Ook. Ook? Ook. Ook! Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook! Ook. Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook. Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook. Ook. Ook? Ook. Ook? Ook. Ook. Ook! Ook.
Hohoho!
Variant of Ook! that is specially tailored to Santa's vocabulary .
Ho! Ho! Ho! Ho! Ho! Ho! Ho! Ho! Ho! Ho! Ho! Ho! Ho! Ho! Ho! Ho! Ho! Ho! Ho! Ho! Ho! Ho! Ho! Ho! Ho! Ho! Ho! Ho! Ho! Ho! Hohoho! Ho! Hoho! Ho! Ho! Ho! Ho! Ho! Ho! Ho! Ho! Ho! Ho! Ho! Ho! Ho! Ho! Ho! Ho! Ho! Ho! Ho! Ho! Ho! Ho! Hoho! Ho! Ho! Ho! Ho! Ho! Ho! Ho! Ho! Ho! Ho! Ho! Ho! Ho! Ho! Ho! Ho! Ho! Ho! Ho! Ho! Ho! Ho! Ho! Ho! Ho! Ho! Ho! Ho! Ho! Ho! Ho! Hoho! Ho! Ho! Ho! Ho! Ho! Ho! Ho! Ho! Ho! Ho! Hoho! Ho! Ho! Hohoho! Hohoho! Hohoho! Hohoho! Hohohohohoho! Ho! Ho! Hoho! Ho! Ho! Ho! Ho! Ho! Hoho! Hoho! Ho! Hoho! Ho! Ho! Hoho! Hoho! Ho! Ho! Ho! Ho! Ho! Ho! Ho! Ho! Ho! Ho! Ho! Ho! Ho! Ho! Ho! Ho! Ho! Ho! Ho! Ho! Hoho! Hohoho! Hoho! Ho! Ho! Ho! Ho! Ho! Ho! Ho! Ho! Hoho! Hoho! Ho! Hoho! Ho! Ho! Ho! Ho! Ho! Hoho! Hohohoho! Hohoho! Ho! Ho! Ho! Ho! Ho! Ho! Ho! Ho! Ho! Ho! Ho! Ho! Ho! Ho! Ho! Ho! Ho! Ho! Ho! Ho! Ho! Ho! Ho! Ho! Ho! Ho! Ho! Ho! Ho! Ho! Ho! Ho! Ho! Ho! Ho! Ho! Ho! Ho! Ho! Ho! Ho! Ho! Ho! Ho! Ho! Hoho! Hoho! Ho! Hohoho! Hoho! Ho! Ho! Ho! Ho! Ho! Ho! Ho! Ho! Hoho! Hohohohohohohohohohohohohohohohohohohohoho! Hohohohohohohohohohohohohohohohohohohohohohohohohohoho! Hoho! Ho! Hoho! Ho! Ho! Hoho! Hoho!
Piet
In Piet is source a GIF - image file .
Shakespeare Programming Language
The following program is 1: 1 the Hello World program, which can be found in Appendix 1 of the official language documentation:
The Infamous Hello World Program.
Romeo, a young man with a remarkable patience. Juliet, a likewise young woman of remarkable grace. Ophelia, a remarkable woman much in dispute with Hamlet. Hamlet, the flatterer of Andersen Insulting A/S.
Act I: Hamlet’s insults and flattery.
Scene I: The insulting of Romeo.
[Enter Hamlet and Romeo]
Hamlet: You lying stupid fatherless big smelly half-witted coward! You are as stupid as the difference between a handsome rich brave hero and thyself! Speak your mind!
You are as brave as the sum of your fat little stuffed misused dusty old rotten codpiece and a beautiful fair warm peaceful sunny summer’s day. You are as healthy as the difference between the sum of the sweetest reddest rose and my father and yourself! Speak your mind!
You are as cowardly as the sum of yourself and the difference between a big mighty proud kingdom and a horse. Speak your mind.
Speak your mind!
[Exit Romeo]
Scene II: The praising of Juliet.
[Enter Juliet]
Hamlet: Thou art as sweet as the sum of the sum of Romeo and his horse and his black cat! Speak thy mind!
[Exit Juliet]
Scene III: The praising of Ophelia.
[Enter Ophelia]
Hamlet: Thou art as lovely as the product of a large rural town and my amazing bottomless embroidered purse. Speak thy mind!
Thou art as loving as the product of the bluest clearest sweetest sky and the sum of a squirrel and a white horse. Thou art as beautiful as the difference between Juliet and thyself. Speak thy mind!
[Exeunt Ophelia and Hamlet]
Act II: Behind Hamlet’s back.
Scene I: Romeo and Juliet’s conversation.
[Enter Romeo and Juliet]
Romeo: Speak your mind. You are as worried as the sum of yourself and the difference between my small smooth hamster and my nose. Speak your mind!
Juliet: Speak YOUR mind! You are as bad as Hamlet! You are as small as the difference between the square of the difference between my little pony and your big hairy hound and the cube of your sorry little codpiece. Speak your mind!
[Exit Romeo]
Scene II: Juliet and Ophelia’s conversation.
[Enter Ophelia]
Juliet: Thou art as good as the quotient between Romeo and the sum of a small furry animal and a leech. Speak your mind!
Ophelia: Thou art as disgusting as the quotient between Romeo and twice the difference between a mistletoe and an oozing infected blister! Speak your mind!
[Exeunt]
Turing machine
The following Turing machine writes "Hello, world!" on the tape and then stops. The Turing machine accepts any input. The empty field is represented by a space. The Turing machine starts with state 1 and stops when it reaches state 13. The ribbon alphabet consists of the symbols !,HWaelot
.
The following transition relations apply
Status | read | write | Head movement | new condition |
---|---|---|---|---|
1 | any | H |
right | 2 |
2 | any | a |
right | 3 |
3 | any | l |
right | 4th |
4th | any | l |
right | 5 |
5 | any | o |
right | 6th |
6th | any | , |
right | 7th |
7th | any | |
right | 8th |
8th | any | W |
right | 9 |
9 | any | e |
right | 10 |
10 | any | l |
right | 11 |
11 | any | t |
right | 12 |
12 | any | ! |
no | 13 |
TrumpScript
What are we in this country Hillary speaks nothing but lies But look at me I came to this election to make guys believe again believe in fact if all of us real lies the light; : say "VOTE TRUMP"! but I know we should be free else the result will be bad: all the work of George Washington was for nothing so this election say "Hello, World" say "TRUMP FOR PRESIDENT"! America is great.
Unlambda
```s``sii`ki ``s``s`ks ``s``s`ks``s`k`s`kr ``s`k`si``s`k`s`k `d````````````.H.e.l.l.o.,. .w.o.r.l.d.! k k `k``s``s`ksk`k.*
Whitespace
... and in a clear form as spaces and tabs (ATTENTION: the spaces between the individual characters are for clarity and do not belong to the source code!):
zombie
HelloWorld is a zombie summon task SayHello say "Hallo Welt!" animate animate
Markup languages
The following languages are not programming languages, but markup languages, i.e. languages with which you can format a text stored in the computer for output on the screen or with the printer. Analogous to the Hello World program, a Hello World document in one of these languages is a sample document that only contains the text "Hello World!" contains.
DocBook
<?xml version="1.0" encoding="UTF-8" ?>
<article xmlns="http://docbook.org/ns/docbook">
<articleinfo>
<title>Hallo, Welt!</title>
<author>Michel Mustermann</author>
</articleinfo>
<para>
Hallo, Welt!
</para>
</article>
Graphviz
digraph G {Hallo->Welt}
Groff
\f(CW
Hallo Welt
HTML
The following examples use HTML5 , other HTML versions differ slightly in syntax. This concerns the specification of the document type and the character encoding.
Without tag omission
In HTML versions that are based on XML (i.e. the newer ones), the closing tag must not be omitted. For elements without content, the closing tag is replaced by a / in front of the closing angle bracket.
<!DOCTYPE html>
<html>
<head>
<title>Hallo Welt!</title>
<meta charset="utf-8" /> <!-- nota bene: " />"!!! -->
</head>
<body>
<p>Hallo Welt!</p>
</body>
</html>
XHTML
The following example explicitly declares that the HTML is based on XML; In this case, omitting tags would simply be forbidden by the standard:
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Hallo Welt!</title>
</head>
<body>
<p>Hallo Welt!</p>
</body>
</html>
With tag omission
For HTML versions that are still based on SGML (ie the older ones), certain tags are omitted (here: <html>… </html>, <head>… </head>, <body>… </body> and the closing </p> tag) is formally permissible, provided that the end of the element results from the context. The SGML standard allowed this because all the markup still had to be typed by hand, eliminating a lot of typing. Nowadays all HTML editors insert markup automatically, so this feature is actually no longer used, but can still be found in older pages.
The XML standard (the further development of SGML) has consequently abolished this feature, so that today's HTML versions, which are all based on XML (also called XHTML), require the end tag (see above).
<!DOCTYPE html>
<!-- <html> und <head> können weggelassen werden, weil sie IMMER als erstes kommen -->
<title>Hallo Welt!</title>
<meta charset="utf-8"> <!-- <meta> ist IMMER leer -->
<!-- da <p> nur in <body> erlaubt ist, ist klar, dass hier wohl <body> anfängt,
und wo <body> anfängt, muss <head> vorher enden, also auch kein </head>: -->
<p>Hallo Welt!
<!-- sämtliche hier eigentlich noch ausstehenden End-Tags, also </p>, </body> und </html>,
können einfach weggelassen werden, weil sie sich aus dem Kontext (Ende des Dokuments)
zwingend ergeben -->
Without the explanatory comments, it becomes clear how much typing could be saved with this feature in the past:
<!DOCTYPE html>
<title>Hallo Welt!</title>
<meta charset="utf-8">
<p>Hallo Welt!
OpenSCAD
text("Hallo Welt");
PostScript
PostScript is primarily used as a page description language. Even so, it is a stack-based , Turing-complete programming language.
%! /Courier findfont % Schrift auswählen 20 scalefont % auf Schriftgröße 20 skalieren setfont % zum aktuellen Zeichensatz machen 50 50 moveto % (50, 50) als aktuelle Schreibposition setzen (Hallo Welt!) show % und dort den Text ausgeben showpage % Seite ausgeben
RTF
{\rtf1\ansi\deff0 {\fonttbl {\f0 Courier New;}} \f0\fs20 Hallo Welt! }
TeX
\leftline{Hallo Welt!}
\bye
See also
- List of hello world programs / high level programming languages
- List of programming languages
- Timeline of the programming languages
Web links
- The Hello World Collection - contains Hello World programs in nearly 500 programming languages
- Index of Hello World! programs and beyond (English)
Individual evidence
- ↑ P. Reichl, S. Claus: "Oh Tanenbaum, oh Tanenbaum ...": Technical Foundations of Xmas 4.0 Research . 2017, arxiv : 1712.06259 .
- ↑ Karl Hasselström, Jon Åslund: The Shakespeare Programming Language ( English ) December 17, 2001. Archived from the original on January 16, 2016. Retrieved on August 20, 2019.
- ↑ www.madore.org