· 6 years ago · Oct 17, 2019, 02:57 PM
1Contents
2The latest additions are shown in bold.
3
4
5#
61C-Enterprise
74D
84Test
98th
10
11A
12ABAP4
13ABC
14ACPI Source Language
15ACS
16ActionScript 3.0
17Actionscript (Flash 5)
18ActionScript (Flash 8)
19Actionscript (Flash MX)
20Action!
21Ada
22ADVPL
23Agda
24aheui
25Algol-60
26Algol-68
27Alpha-Five-Xbasic
28Amazon States Language
29amharic
30Amiga-E
31AMOS
32Andl
33AngelScript
34Anguish
35Ante
36APC
37APL
38AppleScript
39Arduino
40Arena
41Arendelle
42Argh!
43ArnoldC
44AsciiDots
45ASP (C♯)
46ASP (JavaScript)
47ASP (VBE)
48ASP (VBS)
49ASP.NET
50Assembler (6502, Apple II)
51Assembler (6502, C64)
52Assembler (68000, Amiga)
53Assembler (68000, Atari ST)
54Assembler (68008)
55Assembler (8051)
56Assembler (ARM, Android)
57Assembler (ARM, RISC OS)
58Assembler (DG-Nova)
59Assembler (HLA)
60Assembler (HP-85)
61Assembler (IBM 370)
62Assembler (Intel)
63Assembler (Itanium)
64Assembler (MIPS)
65Assembler (MMIX)
66Assembler (PA-RISC)
67Assembler (PDP-11)
68Assembler (PDP-8)
69Assembler (PPC, Darwin)
70Assembler (SPARC)
71Assembler (TAS)
72Assembler (VP)
73Assembler (Win32)
74Assembler (X1)
75Assembler (X8)
76Assembler (z390)
77Assembler (Z80 Console)
78Assembler (Z80, CP/M)
79Assembler (ZX81)
80Asterisk
81ATS
82AutoHotkey
83AutoIT3
84Automator
85AviSynth
86AWK
87
88B
89BAL
90BASIC-PICAXE
91BASIC
92Bato
93Batsh
94BCPL
95bc
96BeanShell
97Befunge
98Beta
99BibTex
100BIT
101BitZ
102Blender
103BlitzMax
104BlitzPlus
105BMC Remedy
106Boo
107Brainfuck
108BrightScript
109BS2000
110BSP
111B
112BuddyScript
113Buzz
114Byte Syze
115
116C
117C++
118C*
119C/AL
120C♯
121Caché Object Script
122CA-Easytrieve Plus
123CAML-Light
124Carp
125Casio BASIC
126CDuce
127Centura
128Ceylon
129ChaiScript
130Chef
131Chicken
132CICS-COBOL
133Clarion
134Clean
135Clipper
136Clojure
137CLP
138CMake
139C (Amiga Anywhere)
140C (ANSI)
141C (Curses)
142C++ (Epoc)
143C++ (FLTK)
144C (GEM)
145C++ (Gtk++)
146C (Intuition)
147C++ (ISO)
148C (K&R)
149C++ (MFC)
150C++ (.NET CLI)
151C (OpenGL)
152C (PresentationManager)
153C++ (Qt)
154C (Windows)
155C (X11 Athena)
156COBOL
157Cobra
158Cocoa
159Coconut
160CoDScript
161CoffeeScript
162ColdFusion
163CommandScript
164Common Lisp
165Console Postscript
166ConTeXt
167CoolBasic
168Cool
169cpl
170Crystal
171CSS
172CUDA
173CWEB
174CYBOL
175
176D
177D4
178Dafny
179Darkbasic
180Dart
181Databasic
182Dataflex
183dBase
184DCL
185dc
186Delphi
187Dialect
188DML
189DM
190Draco
191D
192DWIM
193Dylan
194DynaMorph
195
196E
197easm
198Ecstatic
199Eiffel
200Elan
201ELENA
202Elixir
203Elliott
204Elm
205Emojicode
206Emoticon
207Erlang
208ERRE
209Eta
210E
211Euphoria
212Eve
213Ezhil
214
215F
216Falcon
217FALSE
218Felix
219Fennel
220Ferite
221Fetlang
222F
223F#
224Filemaker
225Fjölnir
226Flaming Thunder
227Focal
228FOCUS
229Folders
230Forth
231Fortran
232Fortran77
233Fortran90
234FortranIV
235Fortress
236FreeBASIC
237Frink
238Full Metal Jacket
239
240G
241Gambas
242GameMonkey Script
243G-code
244Genero BDL
245Genie
246Gentee-simple
247Gentee
248GLBasic
249GML
250Gofer
251Go
252GoogleGadgets
253Gosu
254GRAMophone
255Gravity
256Gri
257Groovy
258Guile
259GynkoSoft
260
261H
262Hack
263Harbour
264Haskell
265Have
266Haxe
267HDX
268HolyC
269Hoon
270HP-41C
271HP-48
272HQ9+
273HTML
274Hubot
275Human
276HyperTalk
277
278I
279IBM-Exec2
280IBM-Exec
281ici
282ICL SCL
283Icon
284IDC
285IDL
286Idris
287Imba
288Informix 4GL
289Inform
290Ingres ABF
291InstallScript
292Intercal
293Io
294Iptscrae
295
296J
297Jade
298Jako
299Janet
300Jason
301Java
302Java (Mobile)
303Java Server Pages
304Java (Servlet)
305Java (Swing)
306JavaScript
307JCL
308Jess
309J
310Jorf
311JSFuck
312JudoScript
313Julia
314
315K
316K3
317K4
318K5
319K
320Kitten
321Kix
322Kotlin
323Kumir
324Kylix
325
326L
327L33t
328LabVIEW
329Lasso
330LaTeX
331Latino
332L
333LibertyBASIC
334Lily
335LilyPond
336Limbo
337LIMS Basic
338Lingo
339Linotte
340Lisaac
341Lisp-Emacs
342LiveCode
343LLVM
344Logo
345Logo (graphical)
346LOLCODE
347Loli
348LOTOS
349Lotus Note Formula
350Lotus Script
351LÖVE
352LPC
353LS-DYNA
354LSL
355Lua
356
357M
358m4
359MACRO-10
360MACRO-11
361Macromedia-Flex
362MAD
363make
364Malbolge
365MAMASH
366Maple
367Marmelade
368Mathematica
369MATLAB
370Matrix
371Maxima
372MAX-MSP
373MAXScript
374MCSBL
375MDM Zinc
376MEL
377MetaPost
378MEX
379Microtik
380mIRC-Alias
381mIRC-Commandline
382mIRC-Script
383MivaScript
384MML-AXE10
385Modula-2
386Modula-3
387MoHAA-Script
388MOO
389Mouse
390MPD
391MPLAB IDE
392MSDOS
393MSIL
394MS Small Basic
395MuLisp
396Mumps
397MySQL FUNCTION
398Mythryl
399
400N
401Natural
402Nemerle
403newLISP
404NewtonScript
405Nice
406Nim
407Nit
408Node.js
409Noor
410NSIS
411NXC
412
413O
414Oberon.oberon
415Oberon.std
416Objective-C
417OCaml
418Occam
419Octave
420Omnimark
421Ook
422OpenVMS
423OPL.dialog
424OPL.simple
425Oz
426
427P
428ParaSail
429Parser
430Pascal
431Pascal (Windows)
432Pawn
433PBASIC
434PDF
435PEARL
436PeopleCode
437Perl
438Perl 6
439Pharo
440PHP+GD
441PHP
442Picat
443Piet
444Pike
445PILOT
446PL1
447Plankalkül
448PL-SQL
449Pocket Calculator
450POP-11
451Portugol
452PostgreSQL
453Postscript
454POV-Ray
455Powerbasic
456Powerflex
457PowerScript
458Powershell
459PPL
460PQN-PROC
461PRAAT
462Processing
463ProC
464Profan
465Prograph
466Progress
467Prolog
468Punyforth
469PureBasic (Console)
470PureBasic (Messagebox)
471PureBasic (Window)
472Python 2
473Python 3
474
475Q
476Qalb
477QCL
478Q
479qore
480QuakeC
481Quartz Composer
482QuickBASIC
483Quorum
484
485R
486Racket
487Rapira
488ratfor
489Rational Rose
490React-VR
491REALbasic
492RealText
493REBOL
494Rebol-view
495Redcode
496REFAL-2
497Refal
498Regular Expression
499Rexx (simple)
500Rexx (window)
501Rey
502rhine
503RPG IV v3-4
504RPG IV v5
505RPG IV v7.1
506RPL
507RSL
508R
509Ruby
510Rust
511
512S
513SAKO
514SAL
515SApp
516SAS
517Sather
518Sawzall
519Scala
520Scheme
521Scilab
522Scratch
523Seed7
524Self
525SenseTalk
526Setl2
527Shakespeare
528Shen
529SilverBasic
530SIMPLE
531Simula
532SinclairBasic
533Skip
534Smalltalk MT
535Smalltalk (simple)
536Smalltalk (window)
537SMIL
538SML
539Snobol
540Spin
541Spiral
542SPL4
543Splunk SPL
544S-Plus
545Spry
546SPSS
547SQL (Advantage)
548SQL (DB2)
549SQL (Oracle)
550sqlplus
551SQL
552SQR
553Squeak
554Squirrel
555SSI
556Stata
557ST-Guide
558Sucro
559SuperCollider
560SVG
561Swift
562Symsyn
563szl
564
565T
566T9
567TACL
568TAL
569Tcl
570TECO
571TeX
572Texinfo
573T
574Thue
575TI-59
576TI-8x
577TI BASIC
578TI Extended BASIC
579TinyFugue
580Tk
581Toy
582Trans
583troff
584TSO CLIST
585T-SQL
586Turing Machine
587Turing
588TypeScript
589
590U
591Ubercode
592UniComal
593Unix Shell
594unlambda
595UnrealScript
596Ursala
597
598V
599Vala
600var'aq
601Vatical
602VAX-11 Macro
603VAX Macro
604VBA (Excel)
605VBA (Word)
606VBScript
607Velato
608Velocity
609Verilog
610Vexi
611VHDL
612Vim script
613Visual Basic
614Visual Basic 6
615Visual Basic .NET
616Visual FoxPro
617Visual Prolog
618VisualWorks Smalltalk
619VMS-DCL
620VRML
621VSL
622VVVV
623
624W
625Whenever
626Whirl
627Whitespace
628wml
629Wolfram
630WSH
631
632X
633Xbase++
634xblite
635XHTML
636XLogo
637XPL0
638XQuery
639XSL-FO
640XSLT
641X++
642
643Y
644Yacas
645
646Z
647Zig
648ZIM
649
650�
651μλ
652The Hello World Collection
653Hello World!"Hello World" is the first program one usually writes when learning a new programming language. Having first been mentioned in Brian Kernighan's tutorial to the B programming language, it became widely known through Kernighan & Ritchie's 1978 book that introduced "The C Programming Language", where it read like this:
654
655main() {
656 printf("hello, world\n");
657}
658Since then, Hello World has been implemented in just about every programming language on the planet. This collection includes 592 Hello World programs in as many more-or-less well known programming languages, plus 78 human languages.
659
660The programs in this collection are intended to be as minimal as possible in the respective language. They are meant to demonstrate how to output Hello World as simply as possible, not to show off language features. For a collection of programs that tell more about what programming in the languages actually is like, have a look at the 99 Bottles of Beer collection.
661
662The Hello World Collection, started in 1994, was compiled with help from many people around the world. It is the biggest collection of Hello World programs on the Internet, and the only one collecting human languages as well. To contribute, send your program to info@helloworldcollection.de. Begin your contribution with a comment in the respective language. Real programming languages only please.
663
664Click here for a list of all contributors and other sources.
665Click here for related links.
666Click here for brief history of the Hello World Collection.
667Support the KDE Education Project with our exclusive Hello World merchandise — T-shirts, mugs and more!
668
669Last update: Sep 01, 2019.
670
671Index
672The latest additions are shown in bold.
673
674
675# 1C-Enterprise 4D 4Test 8th
676A ABAP4 ABC ACPI Source Language ACS ActionScript 3.0 Actionscript (Flash 5) ActionScript (Flash 8) Actionscript (Flash MX) Action! Ada ADVPL Agda aheui Algol-60 Algol-68 Alpha-Five-Xbasic Amazon States Language amharic Amiga-E AMOS Andl AngelScript Anguish Ante APC APL AppleScript Arduino Arena Arendelle Argh! ArnoldC AsciiDots ASP (C♯) ASP (JavaScript) ASP (VBE) ASP (VBS) ASP.NET Assembler (6502, Apple II) Assembler (6502, C64) Assembler (68000, Amiga) Assembler (68000, Atari ST) Assembler (68008) Assembler (8051) Assembler (ARM, Android) Assembler (ARM, RISC OS) Assembler (DG-Nova) Assembler (HLA) Assembler (HP-85) Assembler (IBM 370) Assembler (Intel) Assembler (Itanium) Assembler (MIPS) Assembler (MMIX) Assembler (PA-RISC) Assembler (PDP-11) Assembler (PDP-8) Assembler (PPC, Darwin) Assembler (SPARC) Assembler (TAS) Assembler (VP) Assembler (Win32) Assembler (X1) Assembler (X8) Assembler (z390) Assembler (Z80 Console) Assembler (Z80, CP/M) Assembler (ZX81) Asterisk ATS AutoHotkey AutoIT3 Automator AviSynth AWK
677B BAL BASIC-PICAXE BASIC Bato Batsh BCPL bc BeanShell Befunge Beta BibTex BIT BitZ Blender BlitzMax BlitzPlus BMC Remedy Boo Brainfuck BrightScript BS2000 BSP B BuddyScript Buzz Byte Syze
678C C++ C* C/AL C♯ Caché Object Script CA-Easytrieve Plus CAML-Light Carp Casio BASIC CDuce Centura Ceylon ChaiScript Chef Chicken CICS-COBOL Clarion Clean Clipper Clojure CLP CMake C (Amiga Anywhere) C (ANSI) C (Curses) C++ (Epoc) C++ (FLTK) C (GEM) C++ (Gtk++) C (Intuition) C++ (ISO) C (K&R) C++ (MFC) C++ (.NET CLI) C (OpenGL) C (PresentationManager) C++ (Qt) C (Windows) C (X11 Athena) COBOL Cobra Cocoa Coconut CoDScript CoffeeScript ColdFusion CommandScript Common Lisp Console Postscript ConTeXt CoolBasic Cool cpl Crystal CSS CUDA CWEB CYBOL
679D D4 Dafny Darkbasic Dart Databasic Dataflex dBase DCL dc Delphi Dialect DML DM Draco D DWIM Dylan DynaMorph
680E easm Ecstatic Eiffel Elan ELENA Elixir Elliott Elm Emojicode Emoticon Erlang ERRE Eta E Euphoria Eve Ezhil
681F Falcon FALSE Felix Fennel Ferite Fetlang F F# Filemaker Fjölnir Flaming Thunder Focal FOCUS Folders Forth Fortran Fortran77 Fortran90 FortranIV Fortress FreeBASIC Frink Full Metal Jacket
682G Gambas GameMonkey Script G-code Genero BDL Genie Gentee-simple Gentee GLBasic GML Gofer Go GoogleGadgets Gosu GRAMophone Gravity Gri Groovy Guile GynkoSoft
683H Hack Harbour Haskell Have Haxe HDX HolyC Hoon HP-41C HP-48 HQ9+ HTML Hubot Human HyperTalk
684I IBM-Exec2 IBM-Exec ici ICL SCL Icon IDC IDL Idris Imba Informix 4GL Inform Ingres ABF InstallScript Intercal Io Iptscrae
685J Jade Jako Janet Jason Java Java (Mobile) Java Server Pages Java (Servlet) Java (Swing) JavaScript JCL Jess J Jorf JSFuck JudoScript Julia
686K K3 K4 K5 K Kitten Kix Kotlin Kumir Kylix
687L L33t LabVIEW Lasso LaTeX Latino L LibertyBASIC Lily LilyPond Limbo LIMS Basic Lingo Linotte Lisaac Lisp-Emacs LiveCode LLVM Logo Logo (graphical) LOLCODE Loli LOTOS Lotus Note Formula Lotus Script LÖVE LPC LS-DYNA LSL Lua
688M m4 MACRO-10 MACRO-11 Macromedia-Flex MAD make Malbolge MAMASH Maple Marmelade Mathematica MATLAB Matrix Maxima MAX-MSP MAXScript MCSBL MDM Zinc MEL MetaPost MEX Microtik mIRC-Alias mIRC-Commandline mIRC-Script MivaScript MML-AXE10 Modula-2 Modula-3 MoHAA-Script MOO Mouse MPD MPLAB IDE MSDOS MSIL MS Small Basic MuLisp Mumps MySQL FUNCTION Mythryl
689N Natural Nemerle newLISP NewtonScript Nice Nim Nit Node.js Noor NSIS NXC
690O Oberon.oberon Oberon.std Objective-C OCaml Occam Octave Omnimark Ook OpenVMS OPL.dialog OPL.simple Oz
691P ParaSail Parser Pascal Pascal (Windows) Pawn PBASIC PDF PEARL PeopleCode Perl Perl 6 Pharo PHP+GD PHP Picat Piet Pike PILOT PL1 Plankalkül PL-SQL Pocket Calculator POP-11 Portugol PostgreSQL Postscript POV-Ray Powerbasic Powerflex PowerScript Powershell PPL PQN-PROC PRAAT Processing ProC Profan Prograph Progress Prolog Punyforth PureBasic (Console) PureBasic (Messagebox) PureBasic (Window) Python 2 Python 3
692Q Qalb QCL Q qore QuakeC Quartz Composer QuickBASIC Quorum
693R Racket Rapira ratfor Rational Rose React-VR REALbasic RealText REBOL Rebol-view Redcode REFAL-2 Refal Regular Expression Rexx (simple) Rexx (window) Rey rhine RPG IV v3-4 RPG IV v5 RPG IV v7.1 RPL RSL R Ruby Rust
694S SAKO SAL SApp SAS Sather Sawzall Scala Scheme Scilab Scratch Seed7 Self SenseTalk Setl2 Shakespeare Shen SilverBasic SIMPLE Simula SinclairBasic Skip Smalltalk MT Smalltalk (simple) Smalltalk (window) SMIL SML Snobol Spin Spiral SPL4 Splunk SPL S-Plus Spry SPSS SQL (Advantage) SQL (DB2) SQL (Oracle) sqlplus SQL SQR Squeak Squirrel SSI Stata ST-Guide Sucro SuperCollider SVG Swift Symsyn szl
695T T9 TACL TAL Tcl TECO TeX Texinfo T Thue TI-59 TI-8x TI BASIC TI Extended BASIC TinyFugue Tk Toy Trans troff TSO CLIST T-SQL Turing Machine Turing TypeScript
696U Ubercode UniComal Unix Shell unlambda UnrealScript Ursala
697V Vala var'aq Vatical VAX-11 Macro VAX Macro VBA (Excel) VBA (Word) VBScript Velato Velocity Verilog Vexi VHDL Vim script Visual Basic Visual Basic 6 Visual Basic .NET Visual FoxPro Visual Prolog VisualWorks Smalltalk VMS-DCL VRML VSL VVVV
698W Whenever Whirl Whitespace wml Wolfram WSH
699X Xbase++ xblite XHTML XLogo XPL0 XQuery XSL-FO XSLT X++
700Y Yacas
701Z Zig ZIM
702� μλ
703
7041C-Enterprise
705Back to index
706// Hello World in 1C:Enterprise built-in script language
707
708Message("Hello, World!");
7094D
710Back to index
711// Hello world in 4D, formerly known as 4th Dimension
712
713ALERT("Hello World!")
7144Test
715Back to index
716// Hello World in 4Test
717
718testcase printHelloWorld()
719 print("Hello World!")
7208th
721Back to index
722\ Hello world in 8th
723
724"Hello, world!\n" .
725ABAP4
726Back to index
727REPORT ZHB00001.
728*Hello world in ABAP/4 *
729WRITE: 'Hello world'.
730ABC
731Back to index
732\ Hello world in ABC
733
734WRITE "Hello, World!" /
735ACPI Source Language
736Back to index
737// Hello world in ACPI Source Language
738
739Scope(\) {
740 Method(_WAK) {
741 Store ("Hello World", Debug)
742 Return(Package(2){0x00000000,0})
743 }
744}
745ACS
746Back to index
747// Hello world in Action Code Script (scripting language for the Hexen/Doom game engine)
748
749#include "zcommon.acs"
750
751script 1 ENTER
752{
753 print(s:"Hello World!");
754}
755ActionScript 3.0
756Back to index
757// Hello World in ActionScript 3. Place code in the first frame Actions.
758var t:TextField=new TextField();
759t.text="Hello World!";
760addChild(t);
761Actionscript (Flash 5)
762Back to index
763// Hello World in Actionscript (up to Flash 5, IDE only)
764
765trace ("Hello World");
766ActionScript (Flash 8)
767Back to index
768// Hello World in ActionScript 2.0 (Flash 8)
769class HelloWorld
770{
771 private var helloWorldField:TextField;
772
773 public function HelloWorld( mc:MovieClip )
774 {
775 mc.helloWorldField = mc.createTextField("helloWorldField", mc.getNextHighestDepth(), 0, 0, 100, 100);
776 mc.helloWorldField.autoSize = "left";
777 mc.helloWorldField.html = true;
778 mc.helloWorldField.htmlText = '<font size="20" color="#0000FF">Hello World!</font>';
779 }
780}
781
782// on a frame
783import HelloWorld;
784var hw:HelloWorld = new HelloWorld( this );
785Actionscript (Flash MX)
786Back to index
787// Hello World in Actionscript (Flash MX onwards)
788
789_root.createTextField("mytext",1,100,100,300,100);
790mytext.multiline = true;
791mytext.wordWrap = true;
792mytext.border = false;
793
794myformat = new TextFormat();
795myformat.color = 0xff0000;
796myformat.bullet = false;
797myformat.underline = true;
798
799mytext.text = "Hello World!";
800mytext.setTextFormat(myformat);
801Action!
802Back to index
803; Hello world in Action! programming language for the Atari 8-Bit computers
804
805PROC Main()
806 PrintE("Hello World!")
807RETURN
808Ada
809Back to index
810-- Hello World in Ada
811
812with Text_IO;
813procedure Hello_World is
814
815begin
816 Text_IO.Put_Line("Hello World!");
817end Hello_World;
818ADVPL
819Back to index
820// Hello World in ADVPL
821
822User Function Hello()
823Local cMsg := "Hello, world!"
824conout(cMsg)
825MsgInfo(cMsg)
826Return
827Agda
828Back to index
829-- Hello world in Agda
830
831module hello where
832 open import IO
833 main = run (putStrLn "Hello, World!")
834aheui
835Back to index
836Hello world in aheui. This language has no comments.
837
838밤밣따빠밣밟따뿌
839빠맣파빨받밤뚜뭏
840돋밬탕빠맣붏두붇
841볻뫃박발뚷투뭏붖
842뫃도뫃희멓뭏뭏붘
843뫃봌토범더벌뿌뚜
844뽑뽀멓멓더벓뻐뚠
845뽀덩벐멓뻐덕더벅
846Algol-60
847Back to index
848'BEGIN'
849 'COMMENT' Hello World in Algol 60;
850 OUTPUT(4,'(''('Hello World!')',/')')
851'END'
852Algol-68
853Back to index
854( # Hello World in Algol 68 # print(("Hello World!",newline)))
855Alpha-Five-Xbasic
856Back to index
857' Hello World in Alpha Five Xbasic
858
859ui_msg_box("The 'Hello World' Collection", "Hello World", UI_ATTENTION_SYMBOL)
860Amazon States Language
861Back to index
862{
863 "Comment": "Hello world in Amazon States Language",
864 "StartAt": "Hello World",
865 "States": {
866 "Hello World": {
867 "Type": "Task",
868 "Resource": "arn:aws:lambda:us-east-1:123456789012:function:HelloWorld",
869 "End": true
870 }
871 }
872}
873amharic
874Back to index
875Hello World in amharic (in JavaScript)
876
877
878<%@ language="javascript" %>
879<html><body>
880<%
881Response.Write('Hello World!');
882%>
883</body></html>
884Amiga-E
885Back to index
886-> Hello World in Amiga-E
887
888PROC main() IS WriteF('Hello World\n')
889AMOS
890Back to index
891Rem Hello world in AMOS
892
893Print "Hello world!"
894Andl
895Back to index
896// Hello world in Andl
897
898'Hello world!'
899AngelScript
900Back to index
901// Hello world in AngelScript
902
903void main() { print("Hello world\n"); }
904Anguish
905Back to index
906Hello world in Anguish.
907
908
909Ante
910Back to index
911Hello world in Ante. This language has no comments.
912
9139♦8♥J♦A♦2♣3♥7♠J♦A♦7♦J♦J♦A♦3♦J♦5♥6♦4♥J♥A♥6♠6♠J♥A♦8♦J♦A♦8♠J♦A♦3♦J♦A♦6♠J♦A♦8♠J♦A♥3♦2♠J♥A♥2♣6♠J♥
914APC
915Back to index
916// Hello World in the APC language for probes
917
918probe program
919{
920 on_entry log ("Hello, world!\n");
921}
922APL
923Back to index
924⍝ Hello World in APL
925
926⎕←\'Hello World\'
927AppleScript
928Back to index
929-- "Hello World" in AppleScript:
930
931display dialog "Hello World"
932Arduino
933Back to index
934// Hello world in the Arduino programming language
935
936void setup()
937{
938 Serial.begin(9600);
939 Serial.println("Hello, world!");
940}
941
942void loop()
943{
944
945}
946Arena
947Back to index
948// Hello world in Arena
949
950print("Hello World!");
951Arendelle
952Back to index
953// Hello world in Arendelle
954
955"Hello, World!"
956Argh!
957Back to index
958Hello World in Argh!. No comment character exists.
959
960j world
961lppppppPPPPPPsrfj
962 hello, * j
963 qPh
964ArnoldC
965Back to index
966# Hello world in ArnoldC
967
968IT'S SHOWTIME
969TALK TO THE HAND "Hello World"
970YOU HAVE BEEN TERMINATED
971AsciiDots
972Back to index
973`` Hello world in AsciiDots
974
975.-$"Hello, World!"
976ASP (C♯)
977Back to index
978<!-- Hello World for ASP.NET using C# -->
979<% @ Page Language="C#" %>
980<% ="Hello World!" %>
981ASP (JavaScript)
982Back to index
983Hello World for Microsoft ASP (in JavaScript)
984
985<%@ language="javascript" %>
986<html><body>
987<%
988Response.Write('Hello World!');
989%>
990</body></html>
991ASP (VBE)
992Back to index
993<!-- Hello World in ASP-VBE (Visual Basic Script Encided) -->
994<html>
995<script language="VBScript.Encode">#@~^HQAAAA==@#@&HdTAK6PrCsVKP WMV[Zr@#@&HwcAAA==^#~@</script>
996</html>
997ASP (VBS)
998Back to index
999Hello World for Microsoft ASP (in VBScript)
1000
1001<%@ language="vbscript" %>
1002<html><body>
1003<%
1004Response.write "Hello World!"
1005%>
1006</body></html>
1007ASP.NET
1008Back to index
1009<!-- Hello World in ASP.NET -->
1010<%= "Hello World!" %>
1011Assembler (6502, Apple II)
1012Back to index
1013**********************************
1014* *
1015* HELLO WORLD FOR 6502 *
1016* APPLE ][, MERLIN ASSEMBLER *
1017* *
1018**********************************
1019
1020STROUT EQU $DB3A ;OUTPUTS AY-POINTED NULL TERMINATED STRING
1021 LDY #>HELLO
1022 LDA #<HELLO
1023 JMP STROUT
1024
1025HELLO ASC "HELLO WORLD!",00
1026Assembler (6502, C64)
1027Back to index
1028; Hello World for 6502 Assembler (C64)
1029
1030ldy #0
1031beq in
1032loop:
1033jsr $ffd2
1034iny
1035in:
1036lda hello,y
1037bne loop
1038rts
1039hello: .tx "Hello World!"
1040 .by 13,10,0
1041Assembler (68000, Amiga)
1042Back to index
1043; Hello World in 68000 Assembler for dos.library (Amiga)
1044
1045 move.l #DOS
1046 move.l 4.w,a6
1047 jsr -$0198(a6) ;OldOpenLibrary
1048 move.l d0,a6
1049 beq.s .Out
1050 move.l #HelloWorld,d1
1051
1052A) moveq #13,d2
1053 jsr -$03AE(a6) ;WriteChars
1054
1055B) jsr -$03B4 ;PutStr
1056
1057 move.l a6,a1
1058 move.l 4.w,a6
1059 jsr -$019E(a6) ;CloseLibrary
1060.Out rts
1061
1062DOS dc.b 'dos.library',0
1063HelloWorld dc.b 'Hello World!',$A,0
1064Assembler (68000, Atari ST)
1065Back to index
1066; Hello World in 68000 Assembler (Atari ST)
1067
1068 move.l #helloworld,-(A7)
1069 move #9,-(A7)
1070 trap #1
1071 addq.l #6,A7
1072 move #0,-(A7)
1073 trap #1
1074helloworld:
1075 dc.b "Hello World!",$0d,$0a,0
1076Assembler (68008)
1077Back to index
1078; Hello World in 68008 Assembler (Sinclar QL)
1079
1080 move.l #0,a0
1081 lea.l mess,a1
1082 move.w $d0,a2
1083 jsr (a2)
1084 rts
1085mess dc.w 12
1086 dc.b 'Hello World!',10
1087 end
1088Assembler (8051)
1089Back to index
1090-- Hello World in Assembler for the Intel 8051 (MSC51)
1091
1092 Org 0
1093
1094 mov dptr,#msg
1095 mov R0,#30h
1096loop:
1097 clr a
1098 movc a,@a+dptr
1099 jz end
1100 mov @R0,a
1101 inc R0
1102 inc dptr
1103 sjmp loop
1104
1105end:
1106 jmp $
1107
1108msg:
1109 db 'Hello World",0
1110Assembler (ARM, Android)
1111Back to index
1112/* Hello world in ARM assembly (Android devices) */
1113
1114.data
1115
1116msg:
1117 .ascii "Hello, World!\n"
1118len = . - msg
1119
1120.text
1121
1122.globl _start
1123_start:
1124 mov %r0, $1
1125 ldr %r1, =msg
1126 ldr %r2, =len
1127 mov %r7, $4
1128 swi $0
1129 mov %r0, $0
1130 mov %r7, $1
1131 swi $0
1132Assembler (ARM, RISC OS)
1133Back to index
1134; Hello World in ARM code assembler, with RISC OS software interrupt
1135
1136SWI "OS_WriteS"
1137EQUS "Hello World!"
1138EQUB 0
1139ALIGN
1140MOV PC,R14
1141Assembler (DG-Nova)
1142Back to index
1143 .TITL HELLO
114402 ; "HELLO, WORLD" FOR NOVA RUNNING RDOS
114503 ; USES PCHAR SYSTEM CALL
114604 .NREL
114705 .ENT START
114806
114907 START:
115008 00000'022424 DOCHAR: LDA 0,@PMSG ; LOAD AC0 WITH NEXT CHARACTER,
115109 00001'101015 MOV# 0,0,SNR ; TEST AC0;
115210 00002'000412 JMP DONE ; SKIPPED IF NONZERO
115311 00003'006017 .SYSTM
115412 00004'010000 .PCHAR ; PRINT FIRST
115513 00005'000413 JMP ER ; SKIPPED IF OK
115614 00006'101300 MOVS 0,0 ; SWAP BYTES
115715 00007'006017 .SYSTM
115816 00010'010000 .PCHAR ; PRINT SECOND
115917 00011'000407 JMP ER ; SKIPPED IF OK
116018 00012'010412 ISZ PMSG ; POINT TO NEXT WORD
116119 00013'000765 JMP DOCHAR ; GO AROUND AGAIN
116220
116321 00014'006017 DONE: .SYSTM ; NORMAL EXIT
116422 00015'004400 .RTN
116523 00016'000402 JMP ER
116624 00017'063077 HALT
116725 00020'006017 ER: .SYSTM ; ERROR EXIT
116826 00021'006400 .ERTN
116927 00022'063077 HALT
117028 00023'063077 HALT
117129
117230 00024'000025'PMSG: .+1 ; ADDRESS OF FIRST WORD OF TEXT
117331 ; NOTE BYTES ARE PACKED RIGHT-TO-LEFT BY DEFAULT
117432 00025'042510 .TXT /HELLO, WORLD!<15><12>/ ; THAT'S CR LF
117533 046114
117634 026117
117735 053440
117836 051117
117937 042114
118038 006441
118139 000012
118240 00035'000000 0 ; FLAG WORD TO END STRING
118341
118442 .END START
1185Assembler (HLA)
1186Back to index
1187; Hello World for Intel compatible High Level Assembler
1188
1189program HELLO;
1190 #include( "stdlib.hhf" );
1191begin HELLO;
1192 stdout.put("Hello World",nl);
1193end HELLO;
1194Assembler (HP-85)
1195Back to index
1196010 ! Hello world in Assembler for the HP-85
1197020 NAM HELLO
1198030 DEF RUNTIM
1199040 DEF TOKENS
1200050 DEF PARSE
1201060 DEF ERMSG
1202070 DEF INIT
1203100 PARSE BYT 0,0
1204110 RUNTIM BYT 0,0,377,377
1205120 TOKENS BYT 377
1206130 ERMSG BYT 377
1207140 !
1208150 INIT LDM R26,=MSG
1209160 ADMD R26,=BINTAB
1210170 LDM R36,=12D,0
1211180 JSB =OUTSTR
1212190 RTN
1213200 MSG ASC "Hello World!"
1214210 BINTAB DAD 101233
1215220 OUTSTR DAD 35052
1216300 FIN
1217Assembler (IBM 370)
1218Back to index
1219ITLE 'Hello World for IBM Assembler/370 (VM/CMS)'
1220HELLO START
1221BALR 12,0
1222USING *,12
1223*
1224WRTERM 'Hello World!'
1225*
1226SR 15,15
1227BR 14
1228*
1229END HELLO
1230Assembler (Intel)
1231Back to index
1232; Hello World for Intel Assembler (MSDOS)
1233
1234mov ax,cs
1235mov ds,ax
1236mov ah,9
1237mov dx, offset Hello
1238int 21h
1239xor ax,ax
1240int 21h
1241
1242Hello:
1243 db "Hello World!",13,10,"$"
1244Assembler (Itanium)
1245Back to index
1246/* Hello world for IA64 (Itanium) Assembly */
1247
1248.HW:
1249 stringz "Hello World"
1250 .text
1251 .align 16
1252 .global main#
1253 .proc main#
1254main:
1255 .prologue 14, 32
1256 .save ar.pfs, r33
1257 alloc r33 = ar.pfs, 0, 4, 1, 0
1258 .vframe r34
1259 mov r34 = r12
1260 adds r12 = -16, r12
1261 mov r35 = r1
1262 .save rp, r32
1263 mov r32 = b0
1264 .body
1265 addl r14 = @ltoffx(.HW), r1
1266 ;;
1267 ld8.mov r14 = [r14], .HW
1268 ;;
1269 st8 [r34] = r14
1270 ld8 r36 = [r34]
1271 br.call.sptk.many b0 = puts#
1272 mov r1 = r35
1273 ;;
1274 mov ar.pfs = r33
1275 mov b0 = r32
1276 .restore sp
1277 mov r12 = r34
1278 br.ret.sptk.many b0
1279Assembler (MIPS)
1280Back to index
1281## Hello Word in Assemlber for the MIPS Architecture
1282
1283.globl main
1284
1285main: jal hwbody #call Hello Word Procedure
1286 trap 10 #exit
1287
1288hwbody: addi $30, $30,-4 #we need to preserve
1289 sw $4, 0($30) #existing values in register 4
1290
1291 addi $4,$0,72 # H
1292 trap 101
1293 addi $4,$0,101 # e
1294 trap 101
1295 addi $4,$0,108 # l
1296 trap 101
1297 trap 101 # l
1298 addi $4,$0,111 # o
1299 trap 101
1300 addi $4,$0,32 # <space>
1301 trap 101
1302 addi $4,$0,87 # W
1303 trap 101
1304 addi $4,$0,111 # o
1305 trap 101
1306 addi $4,$0,114 # r
1307 trap 101
1308 addi $4,$0,108 # l
1309 trap 101
1310 addi $4,$0,100 # d
1311 trap 101
1312 addi $4,$0,33 # !
1313 trap 101
1314 addi $4,$0,10 # \n
1315 trap 101
1316
1317done: lw $4, 0($30) #restore values
1318 addi $30, $30, 4 #in register 4
1319 jr $31 #return to the main
1320Assembler (MMIX)
1321Back to index
1322* Hello World in Assembler
1323* for the MMIX Computer
1324
1325 LOC #100
1326Main GETA $255,String
1327 TRAP 0,Fputs,StdOut
1328 TRAP 0,Halt,0
1329String BYTE "Hello, world!",#a,0
1330Assembler (PA-RISC)
1331Back to index
1332// Hello World written in PA-RISC 2.0 assembly code
1333
1334 .LEVEL 2.0N
1335
1336 .SPACE $TEXT$,SORT=8
1337 .SUBSPA $CODE$,QUAD=0,ALIGN=4,ACCESS=0x2c,CODE_ONLY,SORT=24
1338main
1339 .PROC
1340 .CALLINFO CALLER,FRAME=16,SAVE_RP,ORDERING_AWARE
1341 .ENTRY
1342 STW %r2,-20(%r30) ;offset 0x0
1343 LDO 64(%r30),%r30 ;offset 0x4
1344 ADDIL LR'M$3-$global$,%r27,%r1 ;offset 0x8
1345 LDO RR'M$3-$global$(%r1),%r1 ;offset 0xc
1346 STW %r1,-56(%r30) ;offset 0x10
1347 ADDIL LR'M$3-$global$+16,%r27,%r1 ;offset 0x14
1348 LDO RR'M$3-$global$+16(%r1),%r26 ;offset 0x18
1349 LDW -56(%r30),%r25 ;offset 0x1c
1350 LDIL L'printf,%r31 ;offset 0x20
1351 .CALL ARGW0=GR,ARGW1=GR,RTNVAL=GR ;in=25,26;out=28;
1352 BE,L R'printf(%sr4,%r31),%r31 ;offset 0x24
1353 COPY %r31,%r2 ;offset 0x28
1354 LDW -84(%r30),%r2 ;offset 0x2c
1355 BVE (%r2) ;offset 0x30
1356 .EXIT
1357 LDO -64(%r30),%r30 ;offset 0x34
1358 .PROCEND ;
1359
1360
1361 .SPACE $TEXT$
1362 .SUBSPA $CODE$
1363 .SPACE $PRIVATE$,SORT=16
1364 .SUBSPA $DATA$,QUAD=1,ALIGN=8,ACCESS=0x1f,SORT=16
1365M$3
1366 .ALIGN 8
1367 .STRINGZ "Hello World"
1368 .BLOCK 4
1369 .STRINGZ "%s\n"
1370 .IMPORT $global$,DATA
1371 .SPACE $TEXT$
1372 .SUBSPA $CODE$
1373 .EXPORT main,ENTRY,PRIV_LEV=3,LONG_RETURN
1374 .IMPORT printf,CODE
1375 .END
1376Assembler (PDP-11)
1377Back to index
1378; Hello World in Assembler for the DEC PDP-11 with the
1379; RSX-11M-PLUS operating system
1380;
1381 .title Hello
1382 .ident /V0001A/
1383 .mcall qiow$s, exit$s
1384 .psect $code,ro,i
1385start: qiow$s #5,#5,,,,<#str, #len, #40>
1386 exit$s
1387 .psect $data,ro,d
1388str: .ascii / Hello World!/
1389 len=.-str
1390 .end start
1391Assembler (PDP-8)
1392Back to index
1393/ Hello World in Assembler for the DEC PDP-8
1394*200
1395hello, cla cll
1396 tls / tls to set printer flag.
1397 tad charac / set up index register
1398 dca ir1 / for getting characters.
1399 tad m6 / set up counter for
1400 dca count / typing characters.
1401next, tad i ir1 / get a character.
1402 jms type / type it.
1403 isz count / done yet?
1404 jmp next / no: type another.
1405 hlt
1406
1407type, 0 / type subroutine
1408 tsf
1409 jmp .-1
1410 tls
1411 cla
1412 jmp i type
1413charac, . / used as initial value of ir1
1414 310 / H
1415 305 / E
1416 314 / L
1417 314 / L
1418 317 / O
1419 254 / ,
1420 240 /
1421 327 / W
1422 317 / O
1423 322 / R
1424 314 / L
1425 304 / D
1426 241 / !
1427m6, -15
1428count, 0
1429ir1 = 10
1430$
1431Assembler (PPC, Darwin)
1432Back to index
1433; Hello World in Assembler for the Darwin Power-PC
1434
1435.data
1436.cstring
1437.align 2
1438msg:
1439.asciz "Hello world!\n"
1440len = . - msg
1441.text
1442.align 2
1443.globl _start
1444_start:
1445li r0,4
1446li r3,1
1447lis r4,ha16(msg)
1448ori r4,r4,lo16(msg)
1449li r5,len
1450sc
1451li r0,1
1452li r3,0
1453sc
1454Assembler (SPARC)
1455Back to index
1456! Hello world in SPARC Assembly Language
1457
1458 .section ".data1"
1459 .align 4
1460.L16:
1461 .ascii "hello world\n\0"
1462
1463 .section ".text"
1464 .global main
1465main:
1466 save %sp,-96,%sp
1467 set .L16,%o0
1468 call printf,1
1469 nop
1470 restore
1471Assembler (TAS)
1472Back to index
1473-- Hello world in TAS Assembler for the TR 440 --
1474
1475HELLO.=SEGM,XBA VB616, SSR 6 16,
1476FB616=R&ENDE,
1477
1478VB616=FB616/AG, 3/H, TEXT/AG, 3/H,
1479TEXT=''*020Hello World!'',
1480ENDE,
1481Assembler (VP)
1482Back to index
1483; Hello World in VP Assembler for intent (Amiga Anywhere)
1484
1485.include 'tao'
1486
1487tool 'home/hello',VP,TF_MAIN,8192,0
1488 ent (-:-)
1489 qcall lib/print,(hello_world.p : i~)
1490 ret ()
1491 entend
1492
1493 data
1494
1495hello_world:
1496 dc.b "Hello World!",ASCII_LF,0
1497
1498toolend
1499Assembler (Win32)
1500Back to index
1501; Hello world in Assembler for the Win32 architecture
1502
1503TITLE Hello world in win32. Tasm
1504
1505VERSION T310
1506Model use32 Flat,StdCall
1507
1508start_code segment byte public 'code' use32
1509begin:
1510 Call MessageBox, 0, offset sHallo, offset caption, 0
1511 Call ExitProcess, 0
1512start_code Ends
1513
1514start_data segment byte public 'data' use32
1515
1516sHallo db 'Hello world',0
1517caption db "Hi",0
1518
1519start_data Ends
1520End begin
1521Assembler (X1)
1522Back to index
1523Hello world in Assembler for the Electrologica X1 (ca. 1958). Line numbers and comments are removed by the human who punches the source text.
1524
1525
1526 dp zz 0 x 5
1527
1528 da 0 zz 0 di
1529 0 2b 1 a set address increment to 1
1530 3-> 1 2a 5 zz 0 c p load next character to A
1531 2 6y 2 xp print it
1532 3 y 2t 1 zz 0 a loop if not last char
1533 4 7p and halt
1534 5 dn + 19 lower case
1535 6 + 28 h
1536 7 + 25 e
1537 8 + 32 l
1538 9 + 32 l
1539 10 + 35 o
1540 11 + 15 comma
1541 12 + 20 space
1542 13 + 43 w
1543 14 + 35 o
1544 15 + 38 r
1545 16 + 32 l
1546 17 + 24 d
1547 18 - 52 clrf, negative = last char
1548
1549 de 0 zz 0
1550Assembler (X8)
1551Back to index
1552" Hello world in Assembler for the Electrologica X8 (ca. 1965)
1553
1554'BEGIN' TEL='1 000 000', TTY=8
1555M[24]:
1556 GOTO(:START)
1557M[(64+TTY*4)]:
1558TAR:
1559M[(64+38*4)]:
1560TPAR:
1561
1562M['400']:
1563
1564START:
1565 A=:HELLO DESCR " point to I/O descriptor
1566 TAR[0]=A " set address of string
1567 TAR[1]=-A " set IFT = -1
1568 A=D18
1569 TAR[2]=A
1570 AFON(TTY) " send the message
1571LOOP: GOTO(:LOOP) " spin (since there is no halt)
1572
1573D18: '001 000 000'
1574
1575HELLO DESCR:
1576 0
1577 (17*TEL + :DAG[-1])
1578 0
1579
1580DAG: 37 " letters, red print
1581 5 " H
1582 16 " E
1583 9 " L
1584 9 " L
1585 3 " O
1586 27 " figures
1587 6 " comma
1588 31 " letters
1589 4 " space
1590 25 " W
1591 3 " O
1592 10 " R
1593 9 " L
1594 18 " D
1595 2 " cr
1596 8 " nl
1597Assembler (z390)
1598Back to index
1599; Hello World for z390 IBM compatible mainframe assembler
1600
1601HELLO CSECT
1602 USING *,15
1603 WTO 'Hello World'
1604 BR 14
1605 END
1606Assembler (Z80 Console)
1607Back to index
1608; This is a "Hello World" program for Z80 and TMS9918 / TMS9928 / TMS9929 /
1609; V9938 or V9958 VDP.
1610; That means that this should work on SVI, MSX, Colecovision, Memotech,
1611; and many other Z80 based home computers or game consoles.
1612;
1613; Because we don't know what system is used, we don't know where RAM
1614; is, so we can't use stack in this program.
1615;
1616; This version of Hello World was written by Timo "NYYRIKKI" Soilamaa
1617; 17.10.2001
1618;
1619;----------------------------------------------------------------------
1620; Configure this part:
1621
1622DATAP: EQU #98 ; VDP Data port #98 works on all MSX models
1623; (TMS9918/TMS9929/V9938 or V9958)
1624; #80 works on SVI
1625; (for other platforms you have to figure this out by your self)
1626
1627CMDP: EQU #99 ; VDP Command port #99 works on all MSX models
1628; (TMS9918/TMS9929/V9938 or V9958)
1629; #81 works on SVI
1630; (for other platforms you have to figure this out by your self)
1631;-----------------------------------------------------------------------
1632; Program starts here:
1633
1634ORG 0 ; Z80 starts always from here when power is turned on
1635DI ; We don't know, how interrupts works in this system, so we disable them.
1636
1637; Let's set VDP write address to #0000
1638XOR A
1639OUT (CMDP),A
1640LD A,#40
1641OUT (CMDP),A
1642
1643; Now let's clear first 16Kb of VDP memory
1644LD B,0
1645LD HL,#3FFF
1646LD C,DATAP
1647CLEAR:
1648OUT (C),B
1649DEC HL
1650LD A,H
1651OR L
1652NOP ; Let's wait 8 clock cycles just in case VDP is not quick enough.
1653NOP
1654JR NZ,CLEAR
1655
1656; Now it is time to set up VDP registers:
1657;----------------------------------------
1658; Register 0 to #0
1659;
1660; Set mode selection bit M3 (maybe also M4 & M5) to zero and
1661; disable external video & horizontal interrupt
1662LD C,CMDP
1663LD E,#80
1664
1665OUT (C),A
1666OUT (C),E
1667;----------------------------------------
1668; Register 1 to #50
1669;
1670; Select 40 column mode, enable screen and disable vertical interrupt
1671
1672LD A,#50
1673INC E
1674OUT (C),A
1675OUT (C),E
1676;----------------------------------------
1677; Register 2 to #0
1678;
1679; Set pattern name table to #0000
1680
1681XOR A
1682INC E
1683OUT (C),A
1684OUT (C),E
1685;----------------------------------------
1686; Register 3 is ignored as 40 column mode does not need color table
1687;
1688INC E
1689;----------------------------------------
1690; Register 4 to #1
1691; Set pattern generator table to #800
1692
1693INC A
1694INC E
1695
1696OUT (C),A
1697OUT (C),E
1698;----------------------------------------
1699; Registers 5 (Sprite attribute) & 6 (Sprite pattern) are ignored
1700; as 40 column mode does not have sprites
1701
1702INC E
1703INC E
1704;----------------------------------------
1705; Register 7 to #F0
1706; Set colors to white on black
1707
1708LD A,#F0
1709INC E
1710OUT (C),A
1711OUT (C),E
1712;----------------------------------------
1713
1714; Let's set VDP write address to #808 so, that we can write
1715; character set to memory
1716; (No need to write SPACE it is clear char already)
1717LD A,8
1718OUT (C),A
1719LD A,#48
1720OUT (C),A
1721
1722; Let's copy character set
1723LD HL,CHARS
1724LD B, CHARS_END-CHARS
1725COPYCHARS:
1726LD A,(HL)
1727OUT (DATAP),A
1728INC HL
1729NOP ; Let's wait 8 clock cycles just in case VDP is not quick enough.
1730NOP
1731DJNZ COPYCHARS
1732
1733; Let's set write address to start of name table
1734XOR A
1735OUT (C),A
1736LD A,#40
1737OUT (C),A
1738
1739; Let's put characters to screen
1740LD HL,ORDER
1741LD B,ORDER_END-ORDER
1742COPYORDER:
1743LD A,(HL)
1744OUT (DATAP),A
1745INC HL
1746
1747JR OVERNMI
1748NOP
1749NOP
1750
1751; Here is address #66, that is entry for NMI
1752RETN ;Return from NMI
1753
1754OVERNMI:
1755DJNZ COPYORDER
1756
1757; The end
1758HALT
1759
1760; Character set:
1761; --------------
1762ORDER:
1763DEFB 1,2,3,3,4,0,5,4,6,3,7
1764ORDER_END:
1765
1766CHARS:
1767
1768; H
1769DEFB %10001000
1770DEFB %10001000
1771DEFB %10001000
1772DEFB %11111000
1773DEFB %10001000
1774DEFB %10001000
1775DEFB %10001000
1776DEFB %00000000
1777; e
1778DEFB %00000000
1779DEFB %00000000
1780DEFB %01110000
1781DEFB %10001000
1782DEFB %11111000
1783DEFB %10000000
1784DEFB %01110000
1785DEFB %00000000
1786; l
1787DEFB %01100000
1788DEFB %00100000
1789DEFB %00100000
1790DEFB %00100000
1791DEFB %00100000
1792DEFB %00100000
1793DEFB %01110000
1794DEFB %00000000
1795; o
1796DEFB %00000000
1797DEFB %00000000
1798DEFB %01110000
1799DEFB %10001000
1800DEFB %10001000
1801DEFB %10001000
1802DEFB %01110000
1803DEFB %00000000
1804; W
1805DEFB %10001000
1806DEFB %10001000
1807DEFB %10001000
1808DEFB %10101000
1809DEFB %10101000
1810DEFB %11011000
1811DEFB %10001000
1812DEFB %00000000
1813
1814; r
1815DEFB %00000000
1816DEFB %00000000
1817DEFB %10110000
1818DEFB %11001000
1819DEFB %10000000
1820DEFB %10000000
1821DEFB %10000000
1822DEFB %00000000
1823; d
1824DEFB %00001000
1825DEFB %00001000
1826DEFB %01101000
1827DEFB %10011000
1828DEFB %10001000
1829DEFB %10011000
1830DEFB %01101000
1831DEFB %00000000
1832chars_end:
1833Assembler (Z80, CP/M)
1834Back to index
1835; Hello world in Z80 Assembly for CP/M
1836
1837BDOS equ 05h
1838WRTLINE equ 09h
1839;
1840 org 0100h
1841 lxi d,sHello
1842 mvi c,WRTLINE
1843 call BDOS
1844 ret
1845;
1846sHello db 'Hello, World!$'
1847Assembler (ZX81)
1848Back to index
1849; Hello World in Assembler for the ZX81 (Zilog Z80)
1850
1851 CALL SPRINT
1852 DEFM HELLO WORLD.
1853 DEFB FF
1854 RET
1855SPRINT POP HL
1856 LD A,(HL)
1857 INC HL
1858 PUSH HL
1859 CP FF
1860 RET Z
1861 CALL PRINT
1862 JR SPRINT
1863Asterisk
1864Back to index
1865;; Hello world in Asterisk
1866
1867exten => s,1,NoOp(Hello World)
1868ATS
1869Back to index
1870// Hello world in ATS
1871
1872implement main () = begin
1873 print ("Hello, world!"); print_newline ()
1874end
1875AutoHotkey
1876Back to index
1877; Hello World in AutoHotkey
1878
1879Msgbox Hello, World!
1880AutoIT3
1881Back to index
1882;Hello, World for AutoIT3 http://www.autoitscript.com
1883
1884msgbox(0,"Hello World",0)
1885Automator
1886Back to index
1887Hello world for Mac OS X Automator
1888
1889Screenshot of Automator program
1890
1891AviSynth
1892Back to index
1893# Hello World for AviSynth video editor
1894BlankClip()
1895Subtitle("Hello, world!")
1896AWK
1897Back to index
1898# Hello world in AWK
1899
1900BEGIN {
1901 print "Hello World!"
1902}
1903BAL
1904Back to index
1905Hello World in IBM mainframe Basic Assembler Language (BAL)
1906
1907HELLO CSECT
1908 STM R14,R12,12(R13)
1909 LR R12,R15
1910 USING HELLO,R12
1911 LA R10,SAVEAREA
1912 ST R13,4(R10)
1913 ST R10,8(R13)
1914 LR R13,R10
1915*
1916 WTO 'HELLO WORLD',ROUTCDE=1
1917*
1918 L R13,4(R13)
1919 LM R14,R12,12(R13)
1920 SR R15,R15
1921 BCR B'1111',R14
1922*
1923SAVEAREA DS 18F
1924 LTORG
1925R0 EQU 0
1926R1 EQU 1
1927R2 EQU 2
1928R3 EQU 3
1929R4 EQU 4
1930R5 EQU 5
1931R6 EQU 6
1932R7 EQU 7
1933R8 EQU 8
1934R9 EQU 9
1935R10 EQU 10
1936R11 EQU 11
1937R12 EQU 12
1938R13 EQU 13
1939R14 EQU 14
1940R15 EQU 15
1941 END HELLO
1942BASIC-PICAXE
1943Back to index
1944' Hello World in PICAXE BASIC
1945Symbol TX_PIN = 0
1946Symbol TX_BAUD = N2400
1947SerOut TX_PIN, TX_BAUD, ( "Hello World", CR, LF )
1948BASIC
1949Back to index
195010 REM Hello World in BASIC
195120 PRINT "Hello World!"
1952Bato
1953Back to index
1954# Hello world in Bato
1955
1956mag_print "Hello World!"
1957Batsh
1958Back to index
1959// Hello world in Batsh
1960
1961println("Hello world!");
1962BCPL
1963Back to index
1964// Hello world in BCLP
1965GET "libhdr"
1966
1967LET start() = VALOF
1968$( writes("Hello world*N")
1969 RESULTIS 0
1970$)
1971bc
1972Back to index
1973#!/usr/bin/bc -q
1974# Hello World for the Unix "bc" calculator
1975
1976print "Hello World!\n"
1977BeanShell
1978Back to index
1979// Hello World in BeanShell
1980
1981print ("Hello World!");
1982Befunge
1983Back to index
1984v Hello World in Befunge
1985
1986>"dlroW olleH",,,,,,,,,,,@
1987Beta
1988Back to index
1989{ *** Hello World in BETA ***}
1990(#
1991 do
1992 'Hello World!'->putLine
1993#)
1994BibTex
1995Back to index
1996%Hello world in BibTex
1997
1998ENTRY{author}{}{}
1999
2000FUNCTION {hello.world}
2001{
2002 "Hello World!" write$ newline$
2003}
2004
2005READ
2006EXECUTE {hello.world}
2007BIT
2008Back to index
2009Hello world in BIT. No comments are possible in this language.
2010
2011LINENUMBERZEROCODEPRINTZEROGOTOONELINENUMBERONECODEPRINTONEGOTOONEZEROLINENUMBE
2012RONEZEROCODEPRINTZEROGOTOONEONELINENUMBERONEONECODEPRINTZEROGOTOONEZEROZEROLINE
2013NUMBERONEZEROZEROCODEPRINTONEGOTOONEZEROONELINENUMBERONEZEROONECODEPRINTZEROGOT
2014OONEONEZEROLINENUMBERONEONEZEROCODEPRINTZEROGOTOONEONEONELINENUMBERONEONEONECOD
2015EPRINTZEROGOTOONEZEROZEROZEROLINENUMBERONEZEROZEROZEROCODEPRINTZEROGOTOONEZEROZ
2016EROONELINENUMBERONEZEROZEROONECODEPRINTONEGOTOONEZEROONEZEROLINENUMBERONEZEROON
2017EZEROCODEPRINTONEGOTOONEZEROONEONELINENUMBERONEZEROONEONECODEPRINTZEROGOTOONEON
2018EZEROZEROLINENUMBERONEONEZEROZEROCODEPRINTZEROGOTOONEONEZEROONELINENUMBERONEONE
2019ZEROONECODEPRINTONEGOTOONEONEONEZEROLINENUMBERONEONEONEZEROCODEPRINTZEROGOTOONE
2020ONEONEONELINENUMBERONEONEONEONECODEPRINTONEGOTOONEZEROZEROZEROZEROLINENUMBERONE
2021ZEROZEROZEROZEROCODEPRINTZEROGOTOONEZEROZEROZEROONELINENUMBERONEZEROZEROZEROONE
2022CODEPRINTONEGOTOONEZEROZEROONEZEROLINENUMBERONEZEROZEROONEZEROCODEPRINTONEGOTOO
2023NEZEROZEROONEONELINENUMBERONEZEROZEROONEONECODEPRINTZEROGOTOONEZEROONEZEROZEROL
2024INENUMBERONEZEROONEZEROZEROCODEPRINTONEGOTOONEZEROONEZEROONELINENUMBERONEZEROON
2025EZEROONECODEPRINTONEGOTOONEZEROONEONEZEROLINENUMBERONEZEROONEONEZEROCODEPRINTZE
2026ROGOTOONEZEROONEONEONELINENUMBERONEZEROONEONEONECODEPRINTZEROGOTOONEONEZEROZERO
2027ZEROLINENUMBERONEONEZEROZEROZEROCODEPRINTZEROGOTOONEONEZEROZEROONELINENUMBERONE
2028ONEZEROZEROONECODEPRINTONEGOTOONEONEZEROONEZEROLINENUMBERONEONEZEROONEZEROCODEP
2029RINTONEGOTOONEONEZEROONEONELINENUMBERONEONEZEROONEONECODEPRINTZEROGOTOONEONEONE
2030ZEROZEROLINENUMBERONEONEONEZEROZEROCODEPRINTONEGOTOONEONEONEZEROONELINENUMBERON
2031EONEONEZEROONECODEPRINTONEGOTOONEONEONEONEZEROLINENUMBERONEONEONEONEZEROCODEPRI
2032NTZEROGOTOONEONEONEONEONELINENUMBERONEONEONEONEONECODEPRINTZEROGOTOONEZEROZEROZ
2033EROZEROZEROLINENUMBERONEZEROZEROZEROZEROZEROCODEPRINTZEROGOTOONEZEROZEROZEROZER
2034OONELINENUMBERONEZEROZEROZEROZEROONECODEPRINTONEGOTOONEZEROZEROZEROONEZEROLINEN
2035UMBERONEZEROZEROZEROONEZEROCODEPRINTONEGOTOONEZEROZEROZEROONEONELINENUMBERONEZE
2036ROZEROZEROONEONECODEPRINTZEROGOTOONEZEROZEROONEZEROZEROLINENUMBERONEZEROZEROONE
2037ZEROZEROCODEPRINTONEGOTOONEZEROZEROONEZEROONELINENUMBERONEZEROZEROONEZEROONECOD
2038EPRINTONEGOTOONEZEROZEROONEONEZEROLINENUMBERONEZEROZEROONEONEZEROCODEPRINTONEGO
2039TOONEZEROZEROONEONEONELINENUMBERONEZEROZEROONEONEONECODEPRINTONEGOTOONEZEROONEZ
2040EROZEROZEROLINENUMBERONEZEROONEZEROZEROZEROCODEPRINTZEROGOTOONEZEROONEZEROZEROO
2041NELINENUMBERONEZEROONEZEROZEROONECODEPRINTZEROGOTOONEZEROONEZEROONEZEROLINENUMB
2042ERONEZEROONEZEROONEZEROCODEPRINTONEGOTOONEZEROONEZEROONEONELINENUMBERONEZEROONE
2043ZEROONEONECODEPRINTZEROGOTOONEZEROONEONEZEROZEROLINENUMBERONEZEROONEONEZEROZERO
2044CODEPRINTZEROGOTOONEZEROONEONEZEROONELINENUMBERONEZEROONEONEZEROONECODEPRINTZER
2045OGOTOONEZEROONEONEONEZEROLINENUMBERONEZEROONEONEONEZEROCODEPRINTZEROGOTOONEZERO
2046ONEONEONEONELINENUMBERONEZEROONEONEONEONECODEPRINTZEROGOTOONEONEZEROZEROZEROZER
2047OLINENUMBERONEONEZEROZEROZEROZEROCODEPRINTZEROGOTOONEONEZEROZEROZEROONELINENUMB
2048ERONEONEZEROZEROZEROONECODEPRINTONEGOTOONEONEZEROZEROONEZEROLINENUMBERONEONEZER
2049OZEROONEZEROCODEPRINTONEGOTOONEONEZEROZEROONEONELINENUMBERONEONEZEROZEROONEONEC
2050ODEPRINTONEGOTOONEONEZEROONEZEROZEROLINENUMBERONEONEZEROONEZEROZEROCODEPRINTZER
2051OGOTOONEONEZEROONEZEROONELINENUMBERONEONEZEROONEZEROONECODEPRINTONEGOTOONEONEZE
2052ROONEONEZEROLINENUMBERONEONEZEROONEONEZEROCODEPRINTONEGOTOONEONEZEROONEONEONELI
2053NENUMBERONEONEZEROONEONEONECODEPRINTONEGOTOONEONEONEZEROZEROZEROLINENUMBERONEON
2054EONEZEROZEROZEROCODEPRINTZEROGOTOONEONEONEZEROZEROONELINENUMBERONEONEONEZEROZER
2055OONECODEPRINTONEGOTOONEONEONEZEROONEZEROLINENUMBERONEONEONEZEROONEZEROCODEPRINT
2056ONEGOTOONEONEONEZEROONEONELINENUMBERONEONEONEZEROONEONECODEPRINTZEROGOTOONEONEO
2057NEONEZEROZEROLINENUMBERONEONEONEONEZEROZEROCODEPRINTONEGOTOONEONEONEONEZEROONEL
2058INENUMBERONEONEONEONEZEROONECODEPRINTONEGOTOONEONEONEONEONEZEROLINENUMBERONEONE
2059ONEONEONEZEROCODEPRINTONEGOTOONEONEONEONEONEONELINENUMBERONEONEONEONEONEONECODE
2060PRINTONEGOTOONEZEROZEROZEROZEROZEROZEROLINENUMBERONEZEROZEROZEROZEROZEROZEROCOD
2061EPRINTZEROGOTOONEZEROZEROZEROZEROZEROONELINENUMBERONEZEROZEROZEROZEROZEROONECOD
2062EPRINTONEGOTOONEZEROZEROZEROZEROONEZEROLINENUMBERONEZEROZEROZEROZEROONEZEROCODE
2063PRINTONEGOTOONEZEROZEROZEROZEROONEONELINENUMBERONEZEROZEROZEROZEROONEONECODEPRI
2064NTONEGOTOONEZEROZEROZEROONEZEROZEROLINENUMBERONEZEROZEROZEROONEZEROZEROCODEPRIN
2065TZEROGOTOONEZEROZEROZEROONEZEROONELINENUMBERONEZEROZEROZEROONEZEROONECODEPRINTZ
2066EROGOTOONEZEROZEROZEROONEONEZEROLINENUMBERONEZEROZEROZEROONEONEZEROCODEPRINTONE
2067GOTOONEZEROZEROZEROONEONEONELINENUMBERONEZEROZEROZEROONEONEONECODEPRINTZEROGOTO
2068ONEZEROZEROONEZEROZEROZEROLINENUMBERONEZEROZEROONEZEROZEROZEROCODEPRINTZEROGOTO
2069ONEZEROZEROONEZEROZEROONELINENUMBERONEZEROZEROONEZEROZEROONECODEPRINTONEGOTOONE
2070ZEROZEROONEZEROONEZEROLINENUMBERONEZEROZEROONEZEROONEZEROCODEPRINTONEGOTOONEZER
2071OZEROONEZEROONEONELINENUMBERONEZEROZEROONEZEROONEONECODEPRINTZEROGOTOONEZEROZER
2072OONEONEZEROZEROLINENUMBERONEZEROZEROONEONEZEROZEROCODEPRINTONEGOTOONEZEROZEROON
2073EONEZEROONELINENUMBERONEZEROZEROONEONEZEROONECODEPRINTONEGOTOONEZEROZEROONEONEO
2074NEZEROLINENUMBERONEZEROZEROONEONEONEZEROCODEPRINTZEROGOTOONEZEROZEROONEONEONEON
2075ELINENUMBERONEZEROZEROONEONEONEONECODEPRINTZEROGOTOONEZEROONEZEROZEROZEROZEROLI
2076NENUMBERONEZEROONEZEROZEROZEROZEROCODEPRINTZEROGOTOONEZEROONEZEROZEROZEROONELIN
2077ENUMBERONEZEROONEZEROZEROZEROONECODEPRINTONEGOTOONEZEROONEZEROZEROONEZEROLINENU
2078MBERONEZEROONEZEROZEROONEZEROCODEPRINTONEGOTOONEZEROONEZEROZEROONEONELINENUMBER
2079ONEZEROONEZEROZEROONEONECODEPRINTZEROGOTOONEZEROONEZEROONEZEROZEROLINENUMBERONE
2080ZEROONEZEROONEZEROZEROCODEPRINTZEROGOTOONEZEROONEZEROONEZEROONELINENUMBERONEZER
2081OONEZEROONEZEROONECODEPRINTONEGOTOONEZEROONEZEROONEONEZEROLINENUMBERONEZEROONEZ
2082EROONEONEZEROCODEPRINTZEROGOTOONEZEROONEZEROONEONEONELINENUMBERONEZEROONEZEROON
2083EONEONECODEPRINTZEROGOTOONEZEROONEONEZEROZEROZEROLINENUMBERONEZEROONEONEZEROZER
2084OZEROCODEPRINTZEROGOTOONEZEROONEONEZEROZEROONELINENUMBERONEZEROONEONEZEROZEROON
2085ECODEPRINTZEROGOTOONEZEROONEONEZEROONEZEROLINENUMBERONEZEROONEONEZEROONEZEROCOD
2086EPRINTONEGOTOONEZEROONEONEZEROONEONELINENUMBERONEZEROONEONEZEROONEONECODEPRINTZ
2087EROGOTOONEZEROONEONEONEZEROZEROLINENUMBERONEZEROONEONEONEZEROZEROCODEPRINTZEROG
2088OTOONEZEROONEONEONEZEROONELINENUMBERONEZEROONEONEONEZEROONECODEPRINTZEROGOTOONE
2089ZEROONEONEONEONEZEROLINENUMBERONEZEROONEONEONEONEZEROCODEPRINTZEROGOTOONEZEROON
2090EONEONEONEONELINENUMBERONEZEROONEONEONEONEONECODEPRINTONE
2091BitZ
2092Back to index
2093Hello world in BitZ. The source code is the BMP file shown below.
2094
2095BitZ source code
2096
2097Blender
2098Back to index
2099# Hello World as a 3D object in Blender
2100
2101import Blender
2102from Blender import Scene, Text3d
2103
2104txt = Text3d.New("Text")
2105txt.setText('Hello, world!')
2106Scene.GetCurrent().objects.new(txt)
2107Blender.Redraw()
2108BlitzMax
2109Back to index
2110' Hello World for BlitzMax
2111
2112Graphics 640,480,16
2113While Not KeyHit(KEY_ESCAPE)
2114 Cls
2115 DrawText "Hello World",0,0
2116 Flip
2117EndWhile
2118BlitzPlus
2119Back to index
2120; Hello World in Blitz Plus (graphical mode)
2121
2122Graphics 800,600,0,1
2123Text 790, 600, "Hello World"
2124WaitKey
2125BMC Remedy
2126Back to index
2127char-set: windows-1252
2128#
2129# Hello World in BMC Remedy 7.0
2130# File exported Thu May 8 09:36:46 2008
2131#
2132begin active link
2133 name : Remedy_HelloWorld
2134 timestamp : 1210249958
2135 export-version : 9
2136 owner : Demo
2137 last-changed : Demo
2138 actlink-order : 0
2139 wk-conn-type : 1
2140 schema-name : _1
2141 actlink-mask : 16
2142 enable : 1
2143 permission : 0
2144 action {
2145 message-type: 0
2146 message-num : 10000
2147 message-pane: 1
2148 message-text: Hello World!!
2149 }
2150 object-prop : 2\60016\4\1\0\60017\4\1\0\
2151end
2152Boo
2153Back to index
2154# Hello World in Boo
2155print "Hello World"
2156Brainfuck
2157Back to index
2158Hello World in Brainfuck
2159
2160++++++++++[>+++++++>++++++++++>+++<<<-]>++.>+.+++++++
2161..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.
2162BrightScript
2163Back to index
2164' Hello world in BrightScript
2165
2166sub Main()
2167port = CreateObject("roMessagePort")
2168screen = CreateObject("roTextScreen")
2169screen.SetText("Hello World")
2170screen.setMessagePort(port)
2171screen.Show()
2172while true
2173 msg = wait(0, port)
2174 if(msg.isScreenClosed())
2175 return -1
2176 end if
2177end while
2178end sub
2179BS2000
2180Back to index
2181/BEGIN-PROCEDURE LOGGING=N
2182/REMARK "HELLO WORLD" IN BS2000 (SDF)
2183/ASSIGN-SYSDTA TO-FILE=*SYSCMD
2184/WRITE-TEXT 'HELLO WORLD!'
2185/SET-JOB-STEP
2186/ASSIGN-SYSDTA TO-FILE=*PRIMARY
2187/END-PROCEDURE
2188BSP
2189Back to index
2190<!— Hello World in SAP Business Server Pages (BSP)
2191<%@page language="abap"%>
2192<%@extension name="htmlb" prefix="htmlb"%>
2193<html><body>
2194<%
2195 CONSTANTS lv_hworld TYPE string VALUE `Hello World!`.
2196%>
2197<%=lv_hworld%>">
2198</body>
2199</html>
2200B
2201Back to index
2202/* Hello World in B */
2203
2204main() {
2205 extern a, b, c;
2206 putchar (a); putchar (b); putchar (c); putchar ('!*n');
2207}
2208
2209a 'hell' ;
2210b 'o, w' ;
2211c 'orld' ;
2212BuddyScript
2213Back to index
2214# Hello World in BuddyScript
2215
2216+ =AnythingPerfect
2217
2218 - Hello, world!
2219Buzz
2220Back to index
2221# Hello world in Buzz
2222
2223log("Hello World!")
2224Byte Syze
2225Back to index
2226Hello World in Byte Syze. No comments possible. The following is actually a hexdump of the binary source code.
2227c7 3c 2a 3c 2a 2b 2a 5c 3c 28 5c 2a 2b 2a 5c 3c
222828 5c 2a 2b 2a 5c 3c 28 5c 2a 2b 2a 5c 3c 28 5c
22292a 2b 2a 5c 3c 28 5c 2a 2b 2a 5c 3c 28 5c 2a 2b
22302a 5c 3c 28 5c 2a 2b 2a 5c 3c 28 5c 2a 2b 2a 5c
22313c 28 5c 2a 2b 2a 5c 3c 28 5c 2a 2b 2a 5c 3c 28
22325c 2a 2b 2a 5c 3c 28 5c 2a 2b 2a 5c 3c 28 5c 2a
22332b 2a 00 00 01 00 00 00 00 00 00 00 00 00 00 00
223400 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
223500 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
223600 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
223700 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
223800 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
223900 00 00 00 00 00 00 64 48 65 6c 6c 6f 2c 20 57
22406f 72 6c 64 21 00 00 00 00 00 00 00 00 00 00 00
224100 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
224200 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
2243C++
2244Back to index
2245// Hello World in C++ (pre-ISO)
2246
2247#include <iostream.h>
2248
2249main()
2250{
2251 cout << "Hello World!" << endl;
2252 return 0;
2253}
2254C*
2255Back to index
2256/* Hello world in C* */
2257
2258#include <stdio.h>
2259
2260main()
2261{
2262 printf("Hello World!\n");
2263}
2264C/AL
2265Back to index
2266OBJECT Codeunit 50000 HelloWorld
2267{
2268 PROPERTIES
2269 {
2270 OnRun=BEGIN
2271 //Hello World in C/AL (Microsoft Business Solutions-Navision)
2272 MESSAGE(Txt001);
2273 END;
2274 }
2275 CODE
2276 {
2277 VAR
2278 Txt001@1000000000 : TextConst 'ENU=Hello World';
2279 BEGIN
2280 END.
2281 }
2282}
2283C♯
2284Back to index
2285//Hello World in C#
2286class HelloWorld
2287{
2288 static void Main()
2289 {
2290 System.Console.WriteLine("Hello, World!");
2291 }
2292}
2293Caché Object Script
2294Back to index
2295HelloWorld ;Hello World in Caché Object Script
2296Start ;
2297 Write "Hello world"
2298 Quit
2299CA-Easytrieve Plus
2300Back to index
2301* Hello world in CA-Easytrieve Plus
2302
2303JOB
2304 DISPLAY 'HELLO, WORLD!'
2305CAML-Light
2306Back to index
2307(* Hello World in CAML Light *)
2308
2309let hello =
2310 print_string "Hello World!";
2311;;
2312Carp
2313Back to index
2314;; Hello world in Carp
2315
2316(println "hello world")
2317Casio BASIC
2318Back to index
2319'Hello World in Casio-Basic. [new line symbol here (press EXE)]
2320"Hello World!"
2321CDuce
2322Back to index
2323(* Hello World in CDuce *)
2324
2325print "Hello World!\n";;
2326Centura
2327Back to index
2328! Hello World in Centura
2329
2330Function: HelloWorld
2331Description:
2332Returns
2333Parameters
2334Static Variables
2335Local variables
2336Actions
2337 Call SalMessageBox( 'Hello World','Message',MB_Ok)
2338Ceylon
2339Back to index
2340// Hello world in Ceylon
2341
2342print("Hello, World!");
2343ChaiScript
2344Back to index
2345// Hello world in ChaiScript
2346
2347#include <chaiscript/chaiscript.hpp>
2348
2349std::string helloWorld(const std::string &t_name) {
2350 return "Hello " + t_name + "!";
2351}
2352
2353int main() {
2354 chaiscript::ChaiScript chai;
2355 chai.add(chaiscript::fun(&helloWorld), "helloWorld");
2356
2357 chai.eval(R"(
2358 puts(helloWorld("World"));
2359 )");
2360}
2361Chef
2362Back to index
2363Hello World Souffle.
2364
2365This recipe prints the immortal words "Hello world!", in a basically brute force
2366way. It also makes a lot of food for one person.
2367
2368Ingredients.
236972 g haricot beans
2370101 eggs
2371108 g lard
2372111 cups oil
237332 zucchinis
2374119 ml water
2375114 g red salmon
2376100 g dijon mustard
237733 potatoes
2378
2379Method.
2380Put potatoes into the mixing bowl. Put dijon mustard into the mixing bowl. Put
2381lard into the mixing bowl. Put red salmon into the mixing bowl. Put oil into
2382the mixing bowl. Put water into the mixing bowl. Put zucchinis into the mixing
2383bowl. Put oil into the mixing bowl. Put lard into the mixing bowl. Put lard
2384into the mixing bowl. Put eggs into the mixing bowl. Put haricot beans into
2385the mixing bowl. Liquefy contents of the mixing bowl. Pour contents of the
2386mixing bowl into the baking dish.
2387
2388Serves 1.
2389Chicken
2390Back to index
2391Hello world in Chicken. This language has no comments.
2392
2393chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken
2394chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken
2395chicken chicken chicken chicken
2396chicken chicken chicken chicken chicken chicken chicken chicken chicken
2397chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken
2398chicken chicken chicken chicken chicken chicken chicken
2399chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken
2400chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken
2401chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken
2402chicken chicken chicken chicken
2403chicken chicken chicken
2404chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken
2405chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken
2406chicken chicken chicken
2407chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken
2408chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken
2409chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken
2410chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken
2411chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken
2412chicken chicken chicken chicken chicken chicken
2413
2414chicken chicken chicken
2415chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken
2416chicken chicken chicken chicken
2417chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken
2418chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken
2419chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken
2420chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken
2421chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken
2422chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken
2423chicken chicken chicken chicken chicken chicken
2424
2425chicken chicken chicken chicken
2426chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken
2427chicken chicken
2428chicken chicken
2429chicken chicken chicken chicken chicken chicken chicken chicken chicken
2430chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken
2431chicken chicken chicken chicken chicken chicken
2432
2433chicken chicken
2434chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken
2435chicken chicken chicken chicken chicken chicken chicken
2436chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken
2437chicken chicken chicken chicken chicken chicken
2438
2439chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken
2440chicken chicken chicken
2441chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken
2442chicken chicken chicken chicken chicken chicken chicken
2443chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken
2444chicken chicken chicken chicken chicken chicken
2445
2446chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken
2447chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken
2448chicken chicken chicken
2449chicken chicken chicken chicken chicken chicken chicken chicken
2450chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken
2451chicken chicken chicken chicken chicken chicken
2452CICS-COBOL
2453Back to index
2454-- Hello World in CICS COBOL
2455
2456000100 IDENTIFICATION DIVISION.
2457000200 PROGRAM-ID. HELLO.
2458000300 * HELLO WORLD IN CICS COBOL.
2459000400 AUTHOR. ROBERT GOSLING.
2460000500 ENVIRONMENT DIVISION.
2461000600 DATA DIVISION.
2462000700 WORKING-STORAGE SECTION.
2463000800 01 WS-DATA-AREA PIC X(80) VALUE "HELLO WORLD!".
2464000900 PROCEDURE DIVISION.
2465001000 EXEC CICS SEND FROM (WS-DATA-AREA) END-EXEC.
2466001100 EXEC CICS RETURN END-EXEC.
2467Clarion
2468Back to index
2469!Hello World in Clarion
2470
2471 PROGRAM
2472
2473 MAP
2474 END
2475
2476 CODE
2477
2478 MESSAGE('Hello World!')
2479
2480 RETURN
2481Clean
2482Back to index
2483// Hello World in Clean
2484
2485module hello
2486
2487Start :: String
2488Start = "Hello World!\n"
2489Clipper
2490Back to index
2491// Hello World in Clipper
2492
2493? "Hello World"
2494Clojure
2495Back to index
2496; Hello world in Clojure
2497
2498(defn hello []
2499 (println "Hello world!"))
2500
2501(hello)
2502CLP
2503Back to index
2504/* Hello World in CLP for the IBM AS/400 */
2505PGM
2506SNDPGMMSG MSG('Hello World !') MSGTYPE(*COMP)
2507
2508ENDPGM
2509CMake
2510Back to index
2511# Hello World in CMake
2512
2513message(STATUS "Hello World!")
2514C (Amiga Anywhere)
2515Back to index
2516/* Hello World in C for Amiga Anywhere 2 (AA2) */
2517
2518#include <aa.h>
2519
2520int aaMain(int argc, char **argv)
2521{
2522 aaOpenDisplay(200, 200, 16, "Hello World", FAA_DISPLAY_WINDOW);
2523 aaDrawString(AA_DISPLAY_PIXMAP, "Hello, world!", 20, 20, AA_DEFAULT_FONT, 0xffff00, 0, FAA_FONT_INK, -1);
2524 aaUpdate();
2525 aaWaitInput();
2526 return 0;
2527}
2528C (ANSI)
2529Back to index
2530/* Hello World in C, Ansi-style */
2531
2532#include <stdio.h>
2533#include <stdlib.h>
2534
2535int main(void)
2536{
2537 puts("Hello World!");
2538 return EXIT_SUCCESS;
2539}
2540C (Curses)
2541Back to index
2542/* Hello World in C for Curses */
2543
2544#include <curses.h>
2545main()
2546{
2547 initscr();
2548 addstr("Hello World!\n");
2549 refresh();
2550 endwin();
2551 return 0;
2552}
2553C++ (Epoc)
2554Back to index
2555// Hello World in C++, Epoc style (for Symbian OS)
2556
2557#include <eikapp.h>
2558#include <eikdoc.h>
2559#include <eikappui.h>
2560
2561class CHelloWorldAppUi;
2562class CEikApplication;
2563class CHelloWorldAppView;
2564
2565class CHelloWorldApplication : public CEikApplication
2566 {
2567 public:
2568 TUid AppDllUid() const;
2569 protected:
2570 CApaDocument* CreateDocumentL();
2571 };
2572
2573class CHelloWorldDocument : public CEikDocument
2574 {
2575 public:
2576 static CHelloWorldDocument* NewL(CEikApplication& aApp);
2577 static CHelloWorldDocument* NewLC(CEikApplication& aApp);
2578 ~CHelloWorldDocument(){};
2579 public:
2580 CEikAppUi* CreateAppUiL();
2581 private:
2582 void ConstructL() {};
2583 CHelloWorldDocument(CEikApplication& aApp){};
2584 };
2585
2586class CHelloWorldAppUi : public CEikAppUi
2587 {
2588 public:
2589 void ConstructL();
2590 CHelloWorldAppUi(){};
2591 ~CHelloWorldAppUi(){};
2592 };
2593
2594static const TUid KUidHelloWorldApp = {0x10005B91};
2595
2596GLDEF_C TInt E32Dll(TDllReason )
2597 {
2598 return KErrNone;
2599 }
2600
2601EXPORT_C CApaApplication* NewApplication()
2602 {
2603 return (new CHelloWorldApplication);
2604 }
2605
2606CApaDocument* CHelloWorldApplication::CreateDocumentL()
2607 {
2608 CApaDocument* document = CHelloWorldDocument::NewL(*this);
2609 return document;
2610 }
2611
2612TUid CHelloWorldApplication::AppDllUid() const
2613 {
2614 return KUidHelloWorldApp;
2615 }
2616
2617CHelloWorldDocument* CHelloWorldDocument::NewL(CEikApplication& aApp)
2618 {
2619 CHelloWorldDocument* self = NewLC(aApp);
2620 CleanupStack::Pop(self);
2621 return self;
2622 }
2623
2624CHelloWorldDocument* CHelloWorldDocument::NewLC(CEikApplication& aApp)
2625 {
2626 CHelloWorldDocument* self = new (ELeave) CHelloWorldDocument(aApp);
2627 CleanupStack::PushL(self);
2628 self->ConstructL();
2629 return self;
2630 }
2631
2632CEikAppUi* CHelloWorldDocument::CreateAppUiL()
2633 {
2634 CEikAppUi* appUi = new (ELeave) CHelloWorldAppUi;
2635 return appUi;
2636 }
2637
2638void CHelloWorldAppUi::ConstructL()
2639 {
2640 BaseConstructL();
2641
2642 _LIT(message,"Hello!");
2643 CAknInformationNote* informationNote = new (ELeave) CAknInformationNote;
2644 informationNote->ExecuteLD(message);
2645 }
2646C++ (FLTK)
2647Back to index
2648// Hello World in C++-FLTK
2649
2650#include <FL/Fl.H>
2651#include <FL/Fl_Window.H>
2652#include <FL/Fl_Box.H>
2653
2654int main(int argc, char **argv) {
2655 Fl_Window *ventana = new Fl_Window(300,180);
2656 ventana->begin();
2657 Fl_Box *box = new Fl_Box(20,40,260,100,"Hello World!");
2658 box->labelsize(50);
2659 ventana->end();
2660 ventana->show(argc, argv);
2661 return Fl::run();
2662}
2663C (GEM)
2664Back to index
2665/* Hello World for C with GEM */
2666
2667#include <aes.h>
2668main()
2669{
2670 appl_init();
2671 form_alert(1,"[0][Hello World!][Ok]");
2672 appl_exit();
2673 return 0;
2674}
2675C++ (Gtk++)
2676Back to index
2677// Hello World in C++ for the Gtk+ toolkit
2678
2679#include <gtkmm/main.h>
2680#include <gtkmm/button.h>
2681#include <gtkmm/window.h>
2682#include <iostream>
2683
2684void button_clicked()
2685{
2686 std::cout << "Hello, World !" << std::endl;
2687}
2688
2689int main (int argc, char *argv[])
2690{
2691 Gtk::Main kit(argc, argv);
2692 Gtk::Window hello_window;
2693 Gtk::Button hello_button("Hello World");
2694
2695 hello_window.set_border_width(10);
2696 hello_window.add(hello_button);
2697 hello_button.signal_clicked().connect(sigc::ptr_fun(&button_clicked));
2698 hello_button.show();
2699
2700 Gtk::Main::run(hello_window);
2701 return 0;
2702}
2703C (Intuition)
2704Back to index
2705/* Hello World in C for Intution (Amiga GUI) */
2706
2707#include <intuition/intuition.h>
2708
2709struct IntuitionBase *IntuitionBase = NULL;
2710
2711struct IntuiText hello_text = {-1,-1,JAM1,0,0,NULL,"Hello World!",NULL };
2712struct IntuiText ok_text = {-1,-1,JAM1,0,0,NULL,"Ok",NULL };
2713
2714void main(void)
2715{
2716 IntuitionBase = (struct IntuitionBase *)
2717 OpenLibrary("intuition.library", 0);
2718 AutoRequest(NULL, &hello_text, NULL, &ok_text, NULL, NULL, 100, 50);
2719 CloseLibrary(IntuitionBase);
2720}
2721C++ (ISO)
2722Back to index
2723// Hello World in ISO C++
2724
2725#include <iostream>
2726
2727int main()
2728{
2729 std::cout << "Hello World!" << std::endl;
2730}
2731C (K&R)
2732Back to index
2733/* Hello World in C, K&R-style */
2734
2735main()
2736{
2737 puts("Hello World!");
2738 return 0;
2739}
2740C++ (MFC)
2741Back to index
2742// Hello World in C++ for Microsoft Foundation Classes
2743// (Microsoft Visual C++).
2744
2745#include <afxwin.h>
2746
2747class CHello : public CFrameWnd
2748{
2749public:
2750 CHello()
2751 {
2752 Create(NULL,_T("Hello World!"),WS_OVERLAPPEDWINDOW,rectDefault);
2753 }
2754};
2755
2756class CHelloApp : public CWinApp
2757{
2758public:
2759 virtual BOOL InitInstance();
2760};
2761
2762BOOL CHelloApp::InitInstance()
2763{
2764 m_pMainWnd = new CHello();
2765 m_pMainWnd->ShowWindow(m_nCmdShow);
2766 m_pMainWnd->UpdateWindow();
2767 return TRUE;
2768}
2769
2770CHelloApp theApp;
2771C++ (.NET CLI)
2772Back to index
2773// Hello World in C++/CLI for .NET
2774
2775using namespace System;
2776
2777void main()
2778{
2779 Console::WriteLine("Hello World");
2780}
2781C (OpenGL)
2782Back to index
2783/* "Hello World" in C using OGL - Open Graphics Library */
2784
2785#include <GL/glut.h>
2786#define font GLUT_BITMAP_HELVETICA_18
2787#define tx "Hello World!"
2788
2789void text(void)
2790{
2791 char *p, tex[] = tx;
2792 p = tex;
2793 glColor3d(1.0, 1.0, 0.0);
2794 glRasterPos2d(-.5, 0.);
2795 while(*p) glutBitmapCharacter(font, *p++);
2796}
2797
2798void display()
2799{
2800 glClear(GL_COLOR_BUFFER_BIT);
2801 text();
2802 glFlush();
2803}
2804
2805void reshape(int width, int height)
2806{
2807 glViewport(0, 0, width, height);
2808 glMatrixMode(GL_PROJECTION);
2809 glLoadIdentity();
2810 glOrtho(-1, 1, -1, 1, -1, 1);
2811 glMatrixMode(GL_MODELVIEW);
2812 display();
2813}
2814
2815int main(int argc, char **argv)
2816{
2817 glutInit(&argc, argv);
2818 glutInitDisplayMode(GLUT_SINGLE | GLUT_RGB);
2819 glutInitWindowPosition(50, 50);
2820 glutInitWindowSize(500, 500);
2821 glutCreateWindow("Hello World OpenGL");
2822 glClearColor(0,0,0,0);
2823 glutDisplayFunc(display);
2824 glutReshapeFunc(reshape);
2825 glutMainLoop();
2826 return 0;
2827}
2828C (PresentationManager)
2829Back to index
2830/* Hello World for C with PresentationManager / OS/2 2.11 */
2831
2832#define INCL_WIN
2833
2834#include <os2.h>
2835
2836int main( void )
2837{
2838 HMQ hmq;
2839
2840 hmq = WinCreateMsgQueue( 0, 0 );
2841
2842 WinMessageBox( HWND_DESKTOP, HWND_DESKTOP, (PSZ)"Hello World!",
2843 (PSZ)"", 0, MB_OK );
2844
2845 WinDestroyMsgQueue( hmq );
2846
2847 return 0;
2848}
2849C++ (Qt)
2850Back to index
2851// Hello World in C++ for the Qt framework
2852
2853#include <qapplication.h>
2854#include <qlabel.h>
2855
2856int main(int argc, char *argv[])
2857{
2858 QApplication a(argc, argv);
2859 QLabel l("Hello World!", 0);
2860 l.setCaption("Test");
2861 l.setAlignment(Qt::AlignCenter);
2862 l.resize(300, 200);
2863 a.setMainWidget(&l);
2864 l.show();
2865 return(a.exec());
2866}
2867C (Windows)
2868Back to index
2869/* Hello world in C for MS-Windows */
2870
2871#include <windows.h>
2872
2873int PASCAL WinMain(HINSTANCE hInstance,
2874 HINSTANCE hPrevInstance, LPSTR CmdLine, int Show)
2875{
2876 MessageBox(GetActiveWindow(), "Hello World!", "Hello Windows World", MB_OK);
2877 return 0;
2878}
2879C (X11 Athena)
2880Back to index
2881/* Hello World in C with X11 using Athena widgets */
2882
2883#include <X11/Intrinsic.h>
2884#include <X11/StringDefs.h>
2885#include <X11/Xaw/Label.h>
2886
2887main(int argc,char **argv)
2888{
2889 XtAppContext app_context;
2890 Widget toplevel,hello;
2891
2892 toplevel = XtVaAppInitialize(&app_context,"XHello",NULL,0,
2893 &argc,argv,NULL,NULL);
2894 hello = XtVaCreateManagedWidget("Hello World!",labelWidgetClass,
2895 toplevel,(void*)0);
2896
2897 XtRealizeWidget(toplevel);
2898
2899 XtAppMainLoop(app_context);
2900 return 0;
2901}
2902COBOL
2903Back to index
2904 * Hello World in COBOL
2905
2906*****************************
2907IDENTIFICATION DIVISION.
2908PROGRAM-ID. HELLO.
2909ENVIRONMENT DIVISION.
2910DATA DIVISION.
2911PROCEDURE DIVISION.
2912MAIN SECTION.
2913DISPLAY "Hello World!"
2914STOP RUN.
2915****************************
2916Cobra
2917Back to index
2918"""Hello world in Cobra"""
2919
2920class Hello
2921
2922 def main
2923 print 'Hello, world.'
2924Cocoa
2925Back to index
2926// Hello World in Cocoa Obj-C (OS X)
2927
2928#import <Foundation/Foundation.h>
2929
2930int main (int argc, const char * argv[]) {
2931 NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];
2932
2933 NSLog(@"Hello, World!");
2934 [pool release];
2935 return 0;
2936}
2937Coconut
2938Back to index
2939# Hello world in Coconut
2940
2941"hello, world!" |> print
2942CoDScript
2943Back to index
2944// Hello world in CoDScript
2945
2946main(){
2947 iPrintLnBold("Hello World!");
2948}
2949CoffeeScript
2950Back to index
2951// Hello world in CoffeeScript
2952
2953alert "Hello, World!"
2954ColdFusion
2955Back to index
2956<!---Hello world in ColdFusion--->
2957
2958<cfset message = "Hello World">
2959<cfoutput> #message#</cfoutput>
2960CommandScript
2961Back to index
2962#Hello World in Command Script 3.1
2963#Meta.Name: "Hello World"
2964
2965#Block(Main).Start
2966 echo "Hello World!"
2967#Block(Main).End
2968Common Lisp
2969Back to index
2970;;; Hello world in Common Lisp
2971
2972(print "Hello World")
2973Console Postscript
2974Back to index
2975%% Hello World in Console PostScript
2976
2977serverdict begin 0 exitserver
2978/Courier findfont
297948 scalefont setfont
298022 22 moveto
2981(Hello World!) show
2982showpage
2983
2984%% End
2985ConTeXt
2986Back to index
2987% Hello world in ConTeXt
2988
2989\starttext
2990Hello World!
2991\stoptext
2992CoolBasic
2993Back to index
2994' Hello World in CoolBasic
2995
2996print "hello world"
2997wait key
2998Cool
2999Back to index
3000-- Hello World in Cool
3001
3002class Main inherits IO{
3003 main():Object{
3004 out_string("Hello, world!\n")
3005 };
3006};
3007cpl
3008Back to index
3009title 'Hello world in cpl on a Warrex Centurion'
3010system zhelloworld (main,exp=d)
3011;
3012file crt:sysipt,class=0,seq
3013;
3014define m00:'hello world'
3015format f00:c132
3016;
3017entrypoint crt
3018;
3019entry
3020;
3021open io crt
3022;
3023write (crt, f00) m00
3024stop 0
3025;
3026end
3027Crystal
3028Back to index
3029# Hello world in Crystal
3030
3031puts "Hello World"
3032CSS
3033Back to index
3034/* Hello World in CSS */
3035body:before {
3036 content: "Hello World";
3037}
3038CUDA
3039Back to index
3040// Hello world in CUDA
3041
3042#include <stdio.h>
3043
3044const int N = 16;
3045const int blocksize = 16;
3046
3047__global__
3048void hello(char *a, int *b)
3049{
3050 a[threadIdx.x] += b[threadIdx.x];
3051}
3052
3053int main()
3054{
3055 char a[N] = "Hello \0\0\0\0\0\0";
3056 int b[N] = {15, 10, 6, 0, -11, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0};
3057
3058 char *ad;
3059 int *bd;
3060 const int csize = N*sizeof(char);
3061 const int isize = N*sizeof(int);
3062
3063 printf("%s", a);
3064
3065 cudaMalloc( (void**)&ad, csize );
3066 cudaMalloc( (void**)&bd, isize );
3067 cudaMemcpy( ad, a, csize, cudaMemcpyHostToDevice );
3068 cudaMemcpy( bd, b, isize, cudaMemcpyHostToDevice );
3069
3070 dim3 dimBlock( blocksize, 1 );
3071 dim3 dimGrid( 1, 1 );
3072 hello<<<dimGrid, dimBlock>>>(ad, bd);
3073 cudaMemcpy( a, ad, csize, cudaMemcpyDeviceToHost );
3074 cudaFree( ad );
3075 cudaFree( bd );
3076
3077 printf("%s\n", a);
3078 return EXIT_SUCCESS;
3079}
3080CWEB
3081Back to index
3082\def\title{<a href="/showArticle.jhtml?documentID=cuj9505wittenbe&pgno=1">Listing 1</a>}
3083
3084@*A Simple Example.
3085This is a trivial example of a \.{CWEB} program.
3086It is, of course, the classic "hello, world"
3087program we all know and love:
3088
3089@c
3090@<Header files needed by the program@>@;
3091@#
3092main(void)
3093{
3094 @<Print the message |"hello, world"|@>@;
3095}
3096
3097@ Naturally, we use |printf| to do the dirty work:
3098
3099@<Print the message |"hello, world"|@>=
3100printf("hello, world\n");
3101
3102@ The prototype for |printf| is in the standard
3103header, \.{<stdio.h>}.
3104
3105@<Header files needed by the program@>=
3106#include <stdio.h>
3107
3108@*Index.
3109CYBOL
3110Back to index
3111<!-- Hello World in Cybernetics Oriented Language (CYBOL) -->
3112<model>
3113 <part name="send_message" channel="inline" abstraction="operation" model="send">
3114 <property name="channel" channel="inline" abstraction="character" model="shell"/>
3115 <property name="message" channel="inline" abstraction="character" model="Hello, World!"/>
3116 </part>
3117 <part name="exit_application" channel="inline" abstraction="operation" model="exit"/>
3118</model>
3119D4
3120Back to index
3121// Hello World as a relation-variable in D4
3122
3123select row { "Hello World" AMessage }
3124Dafny
3125Back to index
3126// Hello world in Dafny
3127
3128method Main() {
3129 print "Hello, World!\n";
3130}
3131Darkbasic
3132Back to index
3133` Hello World in Darkbasic
3134
3135print "Hello World!"
3136wait key
3137Dart
3138Back to index
3139// Hello world in Dart
3140
3141main() {
3142 print('Hello world!');
3143}
3144Databasic
3145Back to index
3146PROGRAM HELLO.B
3147# Hello World in Databasic
3148CRT "HELLOW WORLD"
3149END
3150Dataflex
3151Back to index
3152// Hello World in Dataflex Procedural
3153
3154/tela
3155
3156Hello world
3157
3158/*
3159
3160clearscreen
3161
3162page tela
3163dBase
3164Back to index
3165* Hello World in dBase IV
3166
3167? "Hello World!"
3168DCL
3169Back to index
3170$! Hello world in Digital/Compaq/HP DCL (Digital Command Language)
3171$ write sys$output "Hello World"
3172dc
3173Back to index
3174#!/usr/bin/dc
3175# Hello world! in dc (Unix desk calculator)
3176[Hello world!]p
3177Delphi
3178Back to index
3179// Hello World in Delphi
3180Program Hello_World;
3181
3182{$APPTYPE CONSOLE}
3183
3184Begin
3185 WriteLn('Hello World');
3186End.
3187Dialect
3188Back to index
3189# Hello World in Dialect
3190
3191print "Hello World"
3192DML
3193Back to index
3194! Hello World in DML (Gembase database language)
3195
3196PROCEDURE_FORM MAIN
3197 PRINT/NOWAIT ("Hello world")
3198END_FORM
3199DM
3200Back to index
3201// Hello World in DM (Dream Maker)
3202
3203mob
3204 Login()
3205 ..()
3206
3207 world << "Hello World!"
3208Draco
3209Back to index
3210/* Hello world in Draco */
3211
3212proc main()void:
3213 writeln("Hello world!");
3214corp;
3215D
3216Back to index
3217// Hello World in D
3218
3219import std.stdio;
3220
3221void main()
3222{
3223 writefln("Hello World!");
3224}
3225DWIM
3226Back to index
3227Hello World in DWIM ("Do what I mean"). Comments are not needed in this language.
3228
3229DWIM
3230Dylan
3231Back to index
3232module: hello-world
3233author: Homer
3234copyright: (c) 1994 Homer
3235version: 1.0
3236
3237// Hello World in DYLAN
3238
3239define method main (#rest args)
3240 princ("Hello world!");
3241end;
3242
3243main();
3244DynaMorph
3245Back to index
3246<<!! Hello World in DynaMorph >>
3247<#setString foo {Hello World!}#>
3248<html>
3249<head>
3250 <title>DynaMorph</title>
3251</head>
3252<body>
3253<#getString foo#>
3254</body>
3255</html>
3256easm
3257Back to index
3258// Hello World in easm (Win32).
3259
3260subsystem cui
3261
3262section imports
3263
3264 from msvcr70.dll import printf
3265 from kernel32.dll import ExitProcess
3266
3267section data
3268
3269 string pszOutput = "Hello World!"
3270
3271section code
3272
3273 call printf (&pszOutput)
3274 call ExitProcess (00h)
3275Ecstatic
3276Back to index
3277Hello world in Ecstatic. No comments are possible in this language.
3278
3279!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
3280(followed by another 24,866,256,684,781,338,733,321,022,194,929,619,017,923,951,399,467,222,375,071,721,694,990,877,932,162,871,254,860,704 exclamation points)
3281
3282Eiffel
3283Back to index
3284note "Hello World in Eiffel"
3285class HELLO
3286create run
3287feature run
3288 do
3289 print ("Hello World!%N")
3290 end
3291end
3292Elan
3293Back to index
3294(* Hello World in ELAN *)
3295
3296putline ("Hello World!");
3297ELENA
3298Back to index
3299// Hello world in ELENA
3300
3301program =
3302[
3303 console writeLine:"Hello world!".
3304].
3305Elixir
3306Back to index
3307# Hello world in Elixir
3308
3309defmodule HelloWorld do
3310 IO.puts "Hello, World!"
3311end
3312Elliott
3313Back to index
3314:: Hello World in Elliott Autocode
3315SETF PUNCH
3316SETR 1
33171)TELEPRINTER
3318LINE
3319TITLE Hello World.;
3320STOP
3321START 1
3322Elm
3323Back to index
3324-- Hello world in Elm
3325
3326import Text
3327
3328main = Text.plainText "Hello, world!"
3329Emojicode
3330Back to index
3331? Hello world in Emojicode
3332
3333? ? ?
3334 ?? ? ➡️ ? ?
3335 ? ?Hello world!?
3336 ? 0
3337 ?
3338?
3339Emoticon
3340Back to index
3341** Hello world in Emoticon **
3342
3343hello world :-Q S:-P :-Q
3344Erlang
3345Back to index
3346%% Hello World in Erlang
3347
3348-module(hello).
3349
3350-export([hello/0]).
3351
3352hello() ->
3353 io:format("Hello World!~n", []).
3354ERRE
3355Back to index
3356! Hello world in ERRE
3357
3358PROGRAM HELLO
3359BEGIN
3360 PRINT("Hello World!")
3361END PROGRAM
3362Eta
3363Back to index
3364-- Hello world in Eta
3365
3366main = putStrLn $ "Hello World!"
3367E
3368Back to index
3369# Hello World in E
3370
3371println("Hello, world!")
3372Euphoria
3373Back to index
3374-- Hello World in Euphoria
3375
3376puts(1, "Hello World!\n")
3377Eve
3378Back to index
3379# Hello world in Eve
3380
3381bind @browser
3382 [tag: "div", text: "Hello, world"]
3383Ezhil
3384Back to index
3385# Hello world in Ezhil
3386
3387பதிப்பி "வணக்கம்!"
3388பதிப்பி "உலகே வணக்கம்"
3389பதிப்பி "******* நன்றி!. *******"
3390exit()
3391Falcon
3392Back to index
3393// Hello World in Falcon
3394
3395> "Hello World!"
3396FALSE
3397Back to index
3398{ Hello World in FALSE }
3399"Hello world!
3400"
3401Felix
3402Back to index
3403// Hello world in Felix
3404
3405println$ "Hello World";
3406Fennel
3407Back to index
3408// Hello world in Fennel
3409
3410(print "Hello world!")
3411Ferite
3412Back to index
3413/**
3414 * start script -- Hello world in Ferite ( www.ferite.org )
3415 */
3416uses "console";
3417Console.println("Hello World");
3418/* end script */
3419Fetlang
3420Back to index
3421(Hello world in Fetlang)
3422
3423Make slave scream "Hello World!"
3424F
3425Back to index
3426! Hello world in F
3427
3428program hello
3429 print *, "Hello world!"
3430end program hello
3431F#
3432Back to index
3433(* Hello World in F# *)
3434
3435printf "Hello World!\n"
3436Filemaker
3437Back to index
3438#Hello World in Filemaker Script
3439Show Custom Dialog ["Hello World" ; "Hello World"]
3440Fjölnir
3441Back to index
3442;; Hello World in Fjölnir (Icelandic programming language)
3443
3444"hello" < main
3445{
3446 main ->
3447 stef(;)
3448 stofn
3449 skrifastreng(;"Halló Veröld!"),
3450 stofnlok
3451}
3452*
3453"GRUNNUR"
3454;
3455Flaming Thunder
3456Back to index
3457# Write "Hello world" in Flaming Thunder.
3458
3459Write "Hello world".
3460Focal
3461Back to index
34621.01 COMMENT HELLO WORLD IN FOCAL
34631.02 TYPE "HELLO WORLD", !
34641.03 QUIT
3465FOCUS
3466Back to index
3467-* Hello World in FOCUS
3468
3469-TYPE Hello world
3470Folders
3471Back to index
3472Hello world in Folders. No comments possible. The source code of the program is the structure of nested folders in the Windows file system depicted here.
3473
3474picture of folder structure
3475
3476Forth
3477Back to index
3478' Hello world in Forth
3479
3480." Hello World" CR
3481Fortran
3482Back to index
3483C Hello World in Fortran
3484
3485 PROGRAM HELLO
3486 WRITE (*,100)
3487 STOP
3488 100 FORMAT (' Hello World! ' /)
3489 END
3490Fortran77
3491Back to index
3492C Hello World in Fortran 77
3493
3494 PROGRAM HELLO
3495 PRINT*, 'Hello World!'
3496 END
3497Fortran90
3498Back to index
3499! Hello World in Fortran 90 and 95
3500
3501PROGRAM HelloWorld
3502 WRITE(*,*) "Hello World!"
3503END PROGRAM
3504FortranIV
3505Back to index
3506 PROGRAM HELLO
3507c
3508C Hello World in Fortran IV (supposedly for a TR440)
3509c
3510 WRITE (6,'('' Hello World!'')')
3511 END
3512Fortress
3513Back to index
3514(* Hello World in Fortress *)
3515
3516export Executable
3517run(args) = print "Hello, world!"
3518FreeBASIC
3519Back to index
3520'Hello World in FreeBASIC
3521
3522print "Hello World"
3523Frink
3524Back to index
3525// Hello World in Frink
3526
3527println["Hello World!"]
3528Full Metal Jacket
3529Back to index
3530// Hello world in Full Metal Jacket
3531
3532Full Metal Jacket graphical source code
3533
3534Gambas
3535Back to index
3536'************************************
3537' Hello world in Gambas
3538'************************************
3539PUBLIC SUB Main()
3540
3541 PRINT "Hello World"
3542
3543END
3544GameMonkey Script
3545Back to index
3546// Hello World in GameMonkey Script
3547
3548print("Hello World");
3549G-code
3550Back to index
3551Hello World in G-code. Click here for a preview.
3552
3553%
3554O1000
3555(PROGRAM NAME - HELLOWORLD)
3556(DATE=DD-MM-YY - 30-06-05 TIME=HH:MM - 19:37)
3557N10G20
3558N20G0G17G40G49G80G90
3559/N30G91G28Z0.
3560/N40G28X0.Y0.
3561/N50G92X0.Y0.Z0.
3562( 1/16 FLAT ENDMILL TOOL - 1 DIA. OFF. - 1 LEN. - 1 DIA. - .0625)
3563(CONTOUR)
3564N60T1M6
3565N70G0G90X0.Y1.A0.S5000M3
3566N80G43H1Z.5
3567N90Z.25
3568N100G1Z-.005F2.
3569N110Y0.F20.
3570N120G0Z.5
3571N130X.5
3572N140Z.25
3573N150G1Z-.005F2.
3574N160Y1.F20.
3575N170G0Z.5
3576N180Y.6106
3577N190Z.25
3578N200G1Z-.005F2.
3579N210X0.F20.
3580N220G0Z.5
3581N230X.6157Y.4712
3582N240Z.25
3583N250G1Z-.005F2.
3584N260X.6039Y.4135F20.
3585N270X.6Y.351
3586N280X1.1
3587N290G3X1.0098Y.6202R.4333
3588N300X.8941Y.6971R.2625
3589N310X.7255Y.6538R.1837
3590N320X.6157Y.4712R.332
3591N330G0Z.5
3592N340X.6Y.351
3593N350Z.25
3594N360G1Z-.005F2.
3595N370X.6039Y.2885F20.
3596N380G3X.7255Y.0481R.385
3597N390X.9745R.1853
3598N400X1.0843Y.2308R.332
3599N410G0Z.5
3600N420X1.2039Y0.
3601N430Z.25
3602N440G1Z-.005F2.
3603N450Y1.F20.
3604N460G0Z.5
3605N470X1.3098
3606N480Z.25
3607N490G1Z-.005F2.
3608N500Y0.F20.
3609N510G0Z.5
3610N520X1.4706Y.125
3611N530Z.25
3612N540G1Z-.005F2.
3613N550X1.502Y.0817F20.
3614N560G3X1.6176Y.0048R.2625
3615N570X1.7863Y.0481R.1837
3616N580X1.9118Y.351R.3957
3617N590X1.8216Y.6202R.4333
3618N600X1.7059Y.6971R.2625
3619N610X1.5373Y.6538R.1837
3620N620X1.4157Y.4135R.358
3621N630X1.4706Y.125R.4611
3622N640G0Z.5
3623N650X1.9853Y0.
3624N660Z.25
3625N670G1Z-.005F2.
3626N680X2.0422Y.1442F20.
3627N690G0Z.5
3628N700X2.5706Y1.
3629N710Z.25
3630N720G1Z-.005F2.
3631N730X2.6961Y0.F20.
3632N740X2.8216Y1.
3633N750X2.9451Y0.
3634N760X3.0706Y1.
3635N770G0Z.5
3636N780X3.2961Y.6538
3637N790Z.25
3638N800G1Z-.005F2.
3639N810X3.2608Y.6202F20.
3640N820G3X3.1745Y.2885R.4408
3641N830X3.2961Y.0481R.385
3642N840X3.5451R.1853
3643N850X3.6706Y.351R.3957
3644N860X3.5804Y.6202R.4333
3645N870X3.4647Y.6971R.2625
3646N880X3.2961Y.6538R.1837
3647N890G0Z.5
3648N900X3.7461Y.7019
3649N910Z.25
3650N920G1Z-.005F2.
3651N930Y0.F20.
3652N940G0Z.5
3653N950Y.3654
3654N960Z.25
3655N970G1Z-.005F2.
3656N980X3.7637Y.4663F20.
3657N990G2X3.8422Y.6587R.4948
3658N1000X3.9167Y.7019R.0929
3659N1010G1X4.0755
3660N1020G2X4.15Y.6587R.0929
3661N1030X4.1951Y.5769R.246
3662N1040G0Z.5
3663N1050X4.3255Y1.
3664N1060Z.25
3665N1070G1Z-.005F2.
3666N1080Y0.F20.
3667N1090G0Z.5
3668N1100X4.9275
3669N1110Z.25
3670N1120G1Z-.005F2.
3671N1130Y1.F20.
3672N1140G0Z.5
3673N1150X5.0314
3674N1160Z.25
3675N1170G1Z-.005F2.
3676N1180Y.2981F20.
3677N1190G0Z.5
3678N1200X4.9275Y.274
3679N1210Z.25
3680N1220G1Z-.005F2.
3681N1230X4.8941Y.1731F20.
3682N1240G2X4.7627Y.0192R.3255
3683N1250X4.5529Y.0481R.1862
3684N1260X4.4314Y.2885R.358
3685N1270X4.5176Y.6202R.4408
3686N1280X4.6333Y.6971R.2625
3687N1290X4.802Y.6538R.1837
3688N1300X4.8941Y.5288R.3457
3689N1310G1X4.9275Y.4279
3690N1320G0Z.5
3691N1330X5.0314Y.149
3692N1340Z.25
3693N1350G1Z-.005F2.
3694N1360Y0.F20.
3695N1370G0Z.5
3696N1380M5
3697N1390G91G28Z0.
3698N1400G28X0.Y0.A0.
3699N1410M30
3700%
3701Genero BDL
3702Back to index
3703-- Hello world in Genero BDL
3704
3705main
3706 display "hello world"
3707end main
3708Genie
3709Back to index
3710// Hello world in Genie
3711
3712init
3713 print "Hello world!"
3714Gentee-simple
3715Back to index
3716// Hello World in Gentee (simple version)
3717
3718func hello<main> : @"Hello, World!"
3719Gentee
3720Back to index
3721// Hello World in Gentee
3722
3723func hello <main>
3724{
3725 print( "Hello, World!" )
3726 getch()
3727}
3728GLBasic
3729Back to index
3730// Hello World in GLBasic
3731
3732PRINT "Hello World",1,1
3733SHOWSCREEN
3734MOUSEWAIT
3735GML
3736Back to index
3737// Hello World in GML (Game Maker Language)
3738draw_text(10,10,"Hello World")
3739screen_refresh()
3740keyboard_wait()
3741Gofer
3742Back to index
3743-- Hello World in Gofer
3744-- Simple version
3745
3746helloWorld:: String
3747helloWorld = "Hello World!\n"
3748
3749
3750-- Hello World in Gofer
3751-- Dialog version
3752
3753helloWorld :: Dialogue
3754helloWorld resps = [AppendChan stdout "Hello world!"]
3755Go
3756Back to index
3757// Hello world in Go
3758
3759package main
3760import "fmt"
3761func main() {
3762 fmt.Printf("Hello World\n")
3763}
3764GoogleGadgets
3765Back to index
3766<?xml version="1.0" encoding="UTF-8" ?>
3767<!-- Hello World as a Google gadget -->
3768
3769<Module>
3770 <ModulePrefs title="hello world example" />
3771 <Content type="html">
3772 <![CDATA[
3773 Hello, world!
3774 ]]>
3775 </Content>
3776</Module>
3777Gosu
3778Back to index
3779// Hello world in Gosu
3780
3781print ( "Hello World!" )
3782GRAMophone
3783Back to index
3784//Hello World in GRAMophone
3785
3786composition "Hello, World!" of "Composer"
3787{
3788 %
3789 player player1 {
3790 grammar lindenmayer
3791 %
3792 axiom->print("Hello, World!");
3793 }
3794
3795 player player2 {
3796 grammar chomsky
3797 %
3798 @composition->print("Hello, World!");
3799 }
3800}
3801Gravity
3802Back to index
3803// Hello world in Gravity
3804
3805func main() {
3806 System.print("Hello World!");
3807}
3808Gri
3809Back to index
3810# Hello World in Gri
3811show "hello world"
3812Groovy
3813Back to index
3814// Hello World in Groovy
3815
3816println "Hello World"
3817Guile
3818Back to index
3819; Hello world in Guile
3820
3821(define do-hello (lambda () (display "Hello world.") (newline)))
3822GynkoSoft
3823Back to index
3824; Hello World in GynkoSoft
3825; Simple version
38260.00 Protocol "Hello, World!"
3827
3828
3829; Hello World in GynkoSoft
3830; Dialog box output
38310.00 Message "Hello, World!"
3832Hack
3833Back to index
3834<?hh
3835// Hello world in Hack
3836echo 'Hello World';
3837Harbour
3838Back to index
3839// Hello world in Harbour
3840
3841? "Hello World"
3842Haskell
3843Back to index
3844-- Hello World in Haskell
3845
3846main = putStrLn "Hello World"
3847Have
3848Back to index
3849// Hello world in Have
3850
3851func main() {
3852 print("Hello, world!")
3853}
3854Haxe
3855Back to index
3856// Hello world in Haxe
3857
3858class Hello {
3859 static public function main() {
3860 trace("Hello world!");
3861 }
3862}
3863HDX
3864Back to index
3865# Hello World as bdehaldia.exe external command
3866
3867proc hdx_info {} {
3868 set ::Titel [TRA "&Hello World"]
3869 set ::Menu GMA
3870}
3871
3872proc hdx_run {} {
3873 tk_messageBox -type ok -message [TRA "Hello World!"]
3874 destroy .
3875}
3876HolyC
3877Back to index
3878// Hello World in HolyC, the language of TempleOS
3879
3880"Hello world";
3881Hoon
3882Back to index
3883:: Hello world in Hoon
3884
3885!:("Hello World")
3886HP-41C
3887Back to index
3888Hello World for the HP 41C. No comment character exists.
3889
389001 LBL "HELLO"
389102 "HELLO WORLD"
389203 AVIEW
3893HP-48
3894Back to index
3895<<
3896@ Hello World for the HP-48
3897@ << and >> are one char each
3898"HELLO WORLD"
3899>>
3900HQ9+
3901Back to index
3902Hello World in HQ9+ and HQ9++. No comment character exists.
3903
3904H
3905HTML
3906Back to index
3907<HTML>
3908<!-- Hello World in HTML -->
3909<HEAD>
3910<TITLE>Hello World!</TITLE>
3911</HEAD>
3912<BODY>
3913Hello World!
3914</BODY>
3915</HTML>
3916Hubot
3917Back to index
3918# Hello world as a Hubot script
3919
3920module.exports = (robot) ->
3921 robot.respond /hello/i, (msg) ->
3922 msg.send 'Hello World!'
3923Human
3924Back to index
3925Hello World in human languages.
3926Afrikaans Hallo, wêreld!
3927Albanian Pershëndetje Botë
3928Arabic أهلاً بالعالم (Ahlan bil 'Alam)
3929Armenian Բարե՛ւ, աշխարհ։ (barev ash'kharh)
3930Azeri Salam Dünya
3931Czech Ahoj Světe!
3932Basque/Euskara Kaixo mundua!
3933Belarusian Прывітанне свет (Pryvitannie sviet)
3934Bemba Shani Mwechalo!
3935Bengali Shagatam Prithivi!
3936Bosnian Zdravo Svijete!
3937Bulgarian Здравей, свят! (Zdrav'ei svi'at)
3938Cambodian ជំរាបសួរ ពិភពលោក (chomreabsuor piphoplok)
3939Catalan Hola món!
3940Chinese 你好世界 (nǐ hǎo shì jiè)
3941Cherokee ᎣᏏᏲ ᎡᎶᎯ (O-si-yo E-lo-hi)
3942Chinook Wawa Klahowya Hayas Klaska
3943Croatian Bok Svijete!
3944Danish Hej, Verden!
3945Dutch Hallo, wereld!
3946English Hello World!
3947Esperanto Saluton mondo!
3948Estonian Tere maailm!
3949Finnish Hei maailma!
3950French Salut le Monde!
3951Frisian Hallo, wrâld!
3952Galician Ola mundo!
3953German Hallo Welt!
3954Greek Γεια σου κόσμε! (Geia soy kosme)
3955Hawaiian Aloha Honua
3956Hebrew שלום עולם (Shalom Olam)
3957Hindi नमस्ते दुनिया (namaste duniya)
3958Hmong Nyob zoo ntiaj teb.
3959Hungarian Helló világ!
3960Icelandic Halló heimur!
3961Igbo Ndewo Ụwa
3962Indonesian Halo Dunia!
3963Irish Dia dhaoibh, a dhomhain!
3964Italian Ciao Mondo!
3965Japanese こんにちは、 世界! (konnichiwa sekai)
3966Kannada ಹಲೋ ವರ್ಲ್ಡ್ (Halō varlḍ)
3967Kiswahili Habari dunia!
3968Kikuyu Niatia thi!
3969Klingon nuqneH
3970Korean 반갑다 세상아 (bangabda, sesangah)
3971Lao ສະບາຍດີ,ໂລກ (sabaidi olk)
3972Latin AVE MVNDE (ave munde)
3973Latvian Sveika, Pasaule!
3974Lithuanian Sveikas, Pasauli
3975Lojban coi li terdi
3976Luxembourgish Moien Welt!
3977Malagasy Manao ahoana ry tany!
3978Malayalam Namaskaram, lokame
3979Maltese Merhba lid-dinja
3980Norwegian Hallo verden!
3981Persian !سلام دنیا (Salaam Donyaa!)
3982Polish Witaj świecie!
3983Portuguese Olá, mundo!
3984Punjabi ਸਤਿ ਸ੍ਰੀ ਅਕਾਲ ਦੁਨਿਆ (Sati srī akāla duni'ā)
3985Romanian Salut lume!
3986Russian Здравствуй, мир! (Zdra'vstvuj mi'r)
3987Scots Gaelic Halò, a Shaoghail!
3988Serbian Zdravo Svete!
3989Slovak Ahoj, svet!
3990Slovenian Pozdravljen svet!
3991Spanish ¡Hola mundo!
3992Swedish Hallå världen!
3993Tagalog Kamusta mundo!
3994Tamil ஹலோ உலகம் (Halō ulakam)
3995Telugu హలో వరల్డ్ (Halō varalḍ)
3996Thai สวัสดีโลก! (sawadee lok)
3997Turkish Merhaba Dünya!
3998Ukrainian Привiт, свiте! (Pryvi't svi'te)
3999Urdu ہیلو دنیا والو
4000Vietnamese Xin chào thế giới
4001Welsh S'mae byd!
4002Yiddish העלא וועלט (hela velt)
4003Zulu Sawubona Mhlaba
4004
4005HyperTalk
4006Back to index
4007-- Hello World in HyperTalk
4008
4009answer "Hello, world!"
4010IBM-Exec2
4011Back to index
4012Hello World for IBM EXEC2 (under VM/CMS)
4013
4014&TRACE OFF
4015*
4016&TYPE Hello World!
4017*
4018&EXIT 0
4019IBM-Exec
4020Back to index
4021Hello World for IBM EXEC (under VM/CMS)
4022
4023&CONTROL
4024*
4025&TYPE Hello World!
4026*
4027&EXIT 0
4028ici
4029Back to index
4030# Hello World in ici (http://www.zeta.org.au/~atrn/ici/)
4031printf("Hello World!\n");
4032ICL SCL
4033Back to index
4034@ HELLO WORLD IN ICL SCL
4035BEGIN
4036 SEND_MESSAGE("HELLO WORLD")
4037END
4038Icon
4039Back to index
4040# Hello world in Icon (http://www.cs.arizona.edu/icon/)
4041
4042procedure main()
4043 write("Hello world")
4044end
4045IDC
4046Back to index
4047// Hello World in IDC-script language for IDA disaasembler
4048
4049#include <idc.idc>
4050
4051static main(void)
4052{
4053 Message("Hello World!");
4054}
4055IDL
4056Back to index
4057IDL> ; Hello World in IDL (Interactive Data Language)
4058IDL> print, "Hello World"
4059Idris
4060Back to index
4061-- Hello world in Idris
4062
4063module Main
4064
4065main : IO ()
4066main = putStrLn "Hello world"
4067Imba
4068Back to index
4069// Hello world in Imba
4070
4071console.log "hello world"
4072
4073$$(body).append <h1> "Hello world"
4074Informix 4GL
4075Back to index
4076# Hello World in Informix 4GL
4077
4078MAIN
4079
4080 DISPLAY "Hello World"
4081
4082END MAIN
4083Inform
4084Back to index
4085! "Hello world" in Inform
4086[ Main;
4087 print "Hello world^";
4088];
4089Ingres ABF
4090Back to index
4091/* Hello World in Ingres ABF */
4092procedure hello =
4093begin
4094 message 'Hello, World' with style=popup;
4095end
4096InstallScript
4097Back to index
4098// Hello World in InstallScript
4099// (Scripting language of InstallShield, a Windows install generator)
4100
4101program
4102 MessageBox("Hello World!",INFORMATION);
4103endprogram
4104Intercal
4105Back to index
4106Hello World in Intercal
4107
4108DO ,1 <- #13
4109PLEASE DO ,1 SUB #1 <- #234
4110DO ,1 SUB #2 <- #112
4111DO ,1 SUB #3 <- #112
4112DO ,1 SUB #4 <- #0
4113DO ,1 SUB #5 <- #64
4114DO ,1 SUB #6 <- #194
4115DO ,1 SUB #7 <- #48
4116PLEASE DO ,1 SUB #8 <- #22
4117DO ,1 SUB #9 <- #248
4118DO ,1 SUB #10 <- #168
4119DO ,1 SUB #11 <- #24
4120DO ,1 SUB #12 <- #16
4121DO ,1 SUB #13 <- #214
4122PLEASE READ OUT ,1
4123PLEASE GIVE UP
4124Io
4125Back to index
4126// Hello World in io programming language
4127"Hello world!" print
4128Iptscrae
4129Back to index
4130; Hello World in Iptscrae.
4131; 1. from the chat prompt:
4132
4133/ "Hello World!" SAY
4134
4135; 2. in a cyborg:
4136
4137ON OUTCHAT {
4138 { "Hello World!" SAY
4139 } CHATSTR "say it" == IF
4140}
4141
4142; 3. in a room script:
4143
4144ON SELECT {
4145 "Hello World!" SAY
4146}
4147Jade
4148Back to index
4149// Hello World in JADE
4150write "Hello World";
4151Jako
4152Back to index
4153# Hello World in Jako
4154
4155use sys;
4156
4157sys::print("Hello, world!\n");
4158Janet
4159Back to index
4160# Hello world in Janet
4161
4162(print "hello, world!")
4163Jason
4164Back to index
4165// Hello World in Jason
4166
4167!greeting.
4168+!greeting : true <- .print("Hello World").
4169Java
4170Back to index
4171// Hello World in Java
4172
4173class HelloWorld {
4174 static public void main( String args[] ) {
4175 System.out.println( "Hello World!" );
4176 }
4177}
4178Java (Mobile)
4179Back to index
4180// Hello World on a mobile Java device
4181
4182package helloworld;
4183
4184import javax.microedition.midlet.*;
4185import javax.microedition.lcdui.*;
4186
4187public class HelloWorld extends MIDlet {
4188
4189 public HelloWorld()
4190 {
4191 Form form = new Form("Hello World");
4192 form.append("Hello world!");
4193 Display.getDisplay(this).setCurrent(form);
4194 }
4195
4196 protected void pauseApp() { }
4197 protected void startApp() throws
4198 javax.microedition.midlet.MIDletStateChangeException { }
4199 protected void destroyApp(boolean parm1) throws
4200 javax.microedition.midlet.MIDletStateChangeException { }
4201}
4202Java Server Pages
4203Back to index
4204<!-- Hello World for Java Server Pages -->
4205
4206<%@ page language='java' %>
4207<%="Hello World!" %>
4208Java (Servlet)
4209Back to index
4210import javax.servlet.*;
4211import javax.servlet.http.*;
4212import java.io.*;
4213
4214//
4215// Hello World Java Servlet
4216//
4217public class HelloWorld extends HttpServlet {
4218public void service(HttpServletRequest request,
4219HttpServletResponse response)
4220throws IOException {
4221
4222response.setContentType("text/html");
4223PrintWriter out = response.getWriter();
4224
4225out.println("<html><body>");
4226out.println("Hello World!");
4227out.println("</body></html>");
4228}
4229}
4230Java (Swing)
4231Back to index
4232// Hello World in Java using Swing GUI
4233
4234class HelloWorldSwing {
4235 static public void main(String args[]) {
4236 javax.swing.JOptionPane.showMessageDialog(null,"Hello world!");
4237 }
4238}
4239JavaScript
4240Back to index
4241// Hello world in JavaScript
4242
4243console.log("Hello World");
4244JCL
4245Back to index
4246//HERIB JOB ,'HERIBERT OTTEN',PRTY=12
4247//* HELLO WORLD FOR MVS
4248 //HALLO EXEC PGM=IEBGENER
4249 //SYSIN DD DUMMY
4250 //SYSPRINT DD SYSOUT=*
4251 //SYSUT2 DD SYSOUT=T
4252 //SYSUT1 DD *
4253 HELLO WORLD!
4254 /*
4255 //
4256Jess
4257Back to index
4258; Hello World in JESS
4259
4260(printout t "Hello World")
4261J
4262Back to index
4263NB. Hello World in J
4264'Hello World' 1!:2(2)
4265Jorf
4266Back to index
4267| Hello world in Jorf
4268
4269Hello:Start
4270 Msg:Add("Hello", "Ok")
4271 Hello World!
4272 Return
4273JSFuck
4274Back to index
4275// Hello world in JSFuck
4276
4277[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]][([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]])[+!+[]+[+[]]]+([][[]]+[])[+!+[]]+(![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[+!+[]]+([][[]]+[])[+[]]+([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]])[+!+[]+[+[]]]+(!![]+[])[+!+[]]]((![]+[])[+!+[]]+(![]+[])[!+[]+!+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]+(!![]+[])[+[]]+(![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]])[!+[]+!+[]+[+[]]]+([]+[])[(![]+[])[+[]]+(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]])[+!+[]+[+[]]]+([][[]]+[])[+!+[]]+(!![]+[])[+[]]+([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]])[+!+[]+[+[]]]+(!![]+[])[+!+[]]]()[+!+[]+[!+[]+!+[]]]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]][([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]])[+!+[]+[+[]]]+([][[]]+[])[+!+[]]+(![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[+!+[]]+([][[]]+[])[+[]]+([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]])[+!+[]+[+[]]]+(!![]+[])[+!+[]]]((!![]+[])[+!+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+[]]+([][[]]+[])[+[]]+(!![]+[])[+!+[]]+([][[]]+[])[+!+[]]+(+[![]]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]])[+!+[]+[+!+[]]]+([][[]]+[])[+[]]+([][[]]+[])[+!+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(![]+[])[!+[]+!+[]+!+[]]+([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(![]+[])[+!+[]]+(+(!+[]+!+[]+[+!+[]]+[+!+[]]))[(!![]+[])[+[]]+(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]])[+!+[]+[+[]]]+(+![]+([]+[])[([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]])[+!+[]+[+[]]]+([][[]]+[])[+!+[]]+(![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[+!+[]]+([][[]]+[])[+[]]+([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]])[+!+[]+[+[]]]+(!![]+[])[+!+[]]])[+!+[]+[+[]]]+(!![]+[])[+[]]+(!![]+[])[+!+[]]+([![]]+[][[]])[+!+[]+[+[]]]+([][[]]+[])[+!+[]]+(+![]+[![]]+([]+[])[([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]])[+!+[]+[+[]]]+([][[]]+[])[+!+[]]+(![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[+!+[]]+([][[]]+[])[+[]]+([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]])[+!+[]+[+[]]]+(!![]+[])[+!+[]]])[!+[]+!+[]+[+[]]]](!+[]+!+[]+!+[]+[+!+[]])[+!+[]]+(!![]+[])[!+[]+!+[]+!+[]])()([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]][([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]])[+!+[]+[+[]]]+([][[]]+[])[+!+[]]+(![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[+!+[]]+([][[]]+[])[+[]]+([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]])[+!+[]+[+[]]]+(!![]+[])[+!+[]]]((!![]+[])[+!+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+[]]+([][[]]+[])[+[]]+(!![]+[])[+!+[]]+([][[]]+[])[+!+[]]+(+[![]]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]])[+!+[]+[+!+[]]]+(!![]+[])[!+[]+!+[]+!+[]]+(![]+[])[!+[]+!+[]+!+[]]+([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(![]+[])[+!+[]]+(+(!+[]+!+[]+[+!+[]]+[+!+[]]))[(!![]+[])[+[]]+(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]])[+!+[]+[+[]]]+(+![]+([]+[])[([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]])[+!+[]+[+[]]]+([][[]]+[])[+!+[]]+(![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[+!+[]]+([][[]]+[])[+[]]+([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]])[+!+[]+[+[]]]+(!![]+[])[+!+[]]])[+!+[]+[+[]]]+(!![]+[])[+[]]+(!![]+[])[+!+[]]+([![]]+[][[]])[+!+[]+[+[]]]+([][[]]+[])[+!+[]]+(+![]+[![]]+([]+[])[([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]])[+!+[]+[+[]]]+([][[]]+[])[+!+[]]+(![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[+!+[]]+([][[]]+[])[+[]]+([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]])[+!+[]+[+[]]]+(!![]+[])[+!+[]]])[!+[]+!+[]+[+[]]]](!+[]+!+[]+!+[]+[+!+[]])[+!+[]]+(!![]+[])[!+[]+!+[]+!+[]])()(([]+[])[([![]]+[][[]])[+!+[]+[+[]]]+(!![]+[])[+[]]+(![]+[])[+!+[]]+(![]+[])[!+[]+!+[]]+([![]]+[][[]])[+!+[]+[+[]]]+([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(![]+[])[!+[]+!+[]+!+[]]]()[+[]])[+[]]+(!+[]+!+[]+!+[]+!+[]+[!+[]+!+[]+!+[]+!+[]+!+[]+!+[]+!+[]+!+[]])+[])+(!![]+[])[!+[]+!+[]+!+[]]+(![]+[])[!+[]+!+[]]+(![]+[])[!+[]+!+[]]+(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]])[+!+[]+[+[]]]+[[]][([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]])[+!+[]+[+[]]]+([][[]]+[])[+!+[]]+([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(![]+[])[+!+[]]+(!![]+[])[+[]]]([[]])+[]+(+[![]]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]])[+!+[]+[+!+[]]]+(+(!+[]+!+[]+!+[]+[!+[]+!+[]]))[(!![]+[])[+[]]+(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]])[+!+[]+[+[]]]+(+![]+([]+[])[([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]])[+!+[]+[+[]]]+([][[]]+[])[+!+[]]+(![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[+!+[]]+([][[]]+[])[+[]]+([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]])[+!+[]+[+[]]]+(!![]+[])[+!+[]]])[+!+[]+[+[]]]+(!![]+[])[+[]]+(!![]+[])[+!+[]]+([![]]+[][[]])[+!+[]+[+[]]]+([][[]]+[])[+!+[]]+(+![]+[![]]+([]+[])[([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]])[+!+[]+[+[]]]+([][[]]+[])[+!+[]]+(![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[+!+[]]+([][[]]+[])[+[]]+([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]])[+!+[]+[+[]]]+(!![]+[])[+!+[]]])[!+[]+!+[]+[+[]]]](!+[]+!+[]+!+[]+[!+[]+!+[]+!+[]])+(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]])[+!+[]+[+[]]]+(!![]+[])[+!+[]]+(![]+[])[!+[]+!+[]]+([][[]]+[])[!+[]+!+[]]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]][([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]])[+!+[]+[+[]]]+([][[]]+[])[+!+[]]+(![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[+!+[]]+([][[]]+[])[+[]]+([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]])[+!+[]+[+[]]]+(!![]+[])[+!+[]]]((!![]+[])[+!+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+[]]+([][[]]+[])[+[]]+(!![]+[])[+!+[]]+([][[]]+[])[+!+[]]+(+[![]]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]])[+!+[]+[+!+[]]]+([][[]]+[])[+[]]+([][[]]+[])[+!+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(![]+[])[!+[]+!+[]+!+[]]+([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(![]+[])[+!+[]]+(+(!+[]+!+[]+[+!+[]]+[+!+[]]))[(!![]+[])[+[]]+(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]])[+!+[]+[+[]]]+(+![]+([]+[])[([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]])[+!+[]+[+[]]]+([][[]]+[])[+!+[]]+(![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[+!+[]]+([][[]]+[])[+[]]+([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]])[+!+[]+[+[]]]+(!![]+[])[+!+[]]])[+!+[]+[+[]]]+(!![]+[])[+[]]+(!![]+[])[+!+[]]+([![]]+[][[]])[+!+[]+[+[]]]+([][[]]+[])[+!+[]]+(+![]+[![]]+([]+[])[([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]])[+!+[]+[+[]]]+([][[]]+[])[+!+[]]+(![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[+!+[]]+([][[]]+[])[+[]]+([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]])[+!+[]+[+[]]]+(!![]+[])[+!+[]]])[!+[]+!+[]+[+[]]]](!+[]+!+[]+!+[]+[+!+[]])[+!+[]]+(!![]+[])[!+[]+!+[]+!+[]])()([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]][([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]])[+!+[]+[+[]]]+([][[]]+[])[+!+[]]+(![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[+!+[]]+([][[]]+[])[+[]]+([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]])[+!+[]+[+[]]]+(!![]+[])[+!+[]]]((!![]+[])[+!+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+[]]+([][[]]+[])[+[]]+(!![]+[])[+!+[]]+([][[]]+[])[+!+[]]+(+[![]]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]])[+!+[]+[+!+[]]]+(!![]+[])[!+[]+!+[]+!+[]]+(![]+[])[!+[]+!+[]+!+[]]+([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(![]+[])[+!+[]]+(+(!+[]+!+[]+[+!+[]]+[+!+[]]))[(!![]+[])[+[]]+(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]])[+!+[]+[+[]]]+(+![]+([]+[])[([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]])[+!+[]+[+[]]]+([][[]]+[])[+!+[]]+(![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[+!+[]]+([][[]]+[])[+[]]+([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]])[+!+[]+[+[]]]+(!![]+[])[+!+[]]])[+!+[]+[+[]]]+(!![]+[])[+[]]+(!![]+[])[+!+[]]+([![]]+[][[]])[+!+[]+[+[]]]+([][[]]+[])[+!+[]]+(+![]+[![]]+([]+[])[([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]])[+!+[]+[+[]]]+([][[]]+[])[+!+[]]+(![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[+!+[]]+([][[]]+[])[+[]]+([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]])[+!+[]+[+[]]]+(!![]+[])[+!+[]]])[!+[]+!+[]+[+[]]]](!+[]+!+[]+!+[]+[+!+[]])[+!+[]]+(!![]+[])[!+[]+!+[]+!+[]])()(([]+[])[([![]]+[][[]])[+!+[]+[+[]]]+(!![]+[])[+[]]+(![]+[])[+!+[]]+(![]+[])[!+[]+!+[]]+([![]]+[][[]])[+!+[]+[+[]]]+([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(![]+[])[!+[]+!+[]+!+[]]]()[+[]])[+[]]+(!+[]+!+[]+[+!+[]])+[])+([]+[])[(![]+[])[+[]]+(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]])[+!+[]+[+[]]]+([][[]]+[])[+!+[]]+(!![]+[])[+[]]+([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]])[+!+[]+[+[]]]+(!![]+[])[+!+[]]]()[+!+[]+[!+[]+!+[]]]+(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]])[!+[]+!+[]+[+[]]]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]][([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]])[+!+[]+[+[]]]+([][[]]+[])[+!+[]]+(![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[+!+[]]+([][[]]+[])[+[]]+([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]])[+!+[]+[+[]]]+(!![]+[])[+!+[]]]((!![]+[])[+!+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+[]]+([][[]]+[])[+[]]+(!![]+[])[+!+[]]+([][[]]+[])[+!+[]]+(+[![]]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]])[+!+[]+[+!+[]]]+([][[]]+[])[+[]]+([][[]]+[])[+!+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(![]+[])[!+[]+!+[]+!+[]]+([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(![]+[])[+!+[]]+(+(!+[]+!+[]+[+!+[]]+[+!+[]]))[(!![]+[])[+[]]+(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]])[+!+[]+[+[]]]+(+![]+([]+[])[([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]])[+!+[]+[+[]]]+([][[]]+[])[+!+[]]+(![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[+!+[]]+([][[]]+[])[+[]]+([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]])[+!+[]+[+[]]]+(!![]+[])[+!+[]]])[+!+[]+[+[]]]+(!![]+[])[+[]]+(!![]+[])[+!+[]]+([![]]+[][[]])[+!+[]+[+[]]]+([][[]]+[])[+!+[]]+(+![]+[![]]+([]+[])[([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]])[+!+[]+[+[]]]+([][[]]+[])[+!+[]]+(![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[+!+[]]+([][[]]+[])[+[]]+([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]])[+!+[]+[+[]]]+(!![]+[])[+!+[]]])[!+[]+!+[]+[+[]]]](!+[]+!+[]+!+[]+[+!+[]])[+!+[]]+(!![]+[])[!+[]+!+[]+!+[]])()([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]][([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]])[+!+[]+[+[]]]+([][[]]+[])[+!+[]]+(![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[+!+[]]+([][[]]+[])[+[]]+([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]])[+!+[]+[+[]]]+(!![]+[])[+!+[]]]((!![]+[])[+!+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+[]]+([][[]]+[])[+[]]+(!![]+[])[+!+[]]+([][[]]+[])[+!+[]]+(+[![]]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]])[+!+[]+[+!+[]]]+(!![]+[])[!+[]+!+[]+!+[]]+(![]+[])[!+[]+!+[]+!+[]]+([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(![]+[])[+!+[]]+(+(!+[]+!+[]+[+!+[]]+[+!+[]]))[(!![]+[])[+[]]+(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]])[+!+[]+[+[]]]+(+![]+([]+[])[([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]])[+!+[]+[+[]]]+([][[]]+[])[+!+[]]+(![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[+!+[]]+([][[]]+[])[+[]]+([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]])[+!+[]+[+[]]]+(!![]+[])[+!+[]]])[+!+[]+[+[]]]+(!![]+[])[+[]]+(!![]+[])[+!+[]]+([![]]+[][[]])[+!+[]+[+[]]]+([][[]]+[])[+!+[]]+(+![]+[![]]+([]+[])[([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]])[+!+[]+[+[]]]+([][[]]+[])[+!+[]]+(![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[+!+[]]+([][[]]+[])[+[]]+([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]])[+!+[]+[+[]]]+(!![]+[])[+!+[]]])[!+[]+!+[]+[+[]]]](!+[]+!+[]+!+[]+[+!+[]])[+!+[]]+(!![]+[])[!+[]+!+[]+!+[]])()(([]+[])[([![]]+[][[]])[+!+[]+[+[]]]+(!![]+[])[+[]]+(![]+[])[+!+[]]+(![]+[])[!+[]+!+[]]+([![]]+[][[]])[+!+[]+[+[]]]+([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(![]+[])[!+[]+!+[]+!+[]]]()[+[]])[+[]]+[!+[]+!+[]+!+[]]+(+(+!+[]+[+!+[]]))[(!![]+[])[+[]]+(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]])[+!+[]+[+[]]]+(+![]+([]+[])[([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]])[+!+[]+[+[]]]+([][[]]+[])[+!+[]]+(![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[+!+[]]+([][[]]+[])[+[]]+([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]])[+!+[]+[+[]]]+(!![]+[])[+!+[]]])[+!+[]+[+[]]]+(!![]+[])[+[]]+(!![]+[])[+!+[]]+([![]]+[][[]])[+!+[]+[+[]]]+([][[]]+[])[+!+[]]+(+![]+[![]]+([]+[])[([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]])[+!+[]+[+[]]]+([][[]]+[])[+!+[]]+(![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[+!+[]]+([][[]]+[])[+[]]+([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]])[+!+[]+[+[]]]+(!![]+[])[+!+[]]])[!+[]+!+[]+[+[]]]](!+[]+!+[]+[+[]])))()
4278JudoScript
4279Back to index
4280// Hello World in JudoScript (a Java scripting layer)
4281
4282. "Hello World";
4283Julia
4284Back to index
4285# Hello world in Julia
4286
4287println("Hello, World!")
4288K3
4289Back to index
4290/ Hello World in K3
4291
4292`0:"Hello World!\n
4293K4
4294Back to index
4295/ Hello World in K4/Q/KDB
4296
42971"Hello World\n"
4298K5
4299Back to index
4300/ Hello World in K5
4301
43021'"Hello World\n"
4303K
4304Back to index
4305/ Hello world in K
4306
4307"Hello world!"
4308Kitten
4309Back to index
4310// Hello world in Kitten
4311
4312"Hello World!" say
4313Kix
4314Back to index
4315; Hello World in Kix
4316
4317Run( "Notepad.exe" )
4318Sleep 1
4319SetFocus( "Untitled - Notepad" )
4320$ReturnCode = SendKeys("Hello World")
4321Sleep( 2 )
4322$ReturnCode = SendKeys("~{F4}Y")
4323Kotlin
4324Back to index
4325// Hello world in Kotlin
4326
4327fun main(args : Array<String>) {
4328 println("Hello, world!")
4329}
4330Kumir
4331Back to index
4332Hello world in Kumir. This language doesn't have comments.
4333
4334алг
4335нач
4336 вывод “Hello world”
4337кон
4338Kylix
4339Back to index
4340{Hello World in Kylix}
4341
4342program Hello_World;
4343
4344 uses
4345 QDialogs;
4346
4347 begin
4348 ShowMessage('Hello World');
4349 end.
4350L33t
4351Back to index
4352// Hello world in L33t
4353
4354Gr34t l33tN3$$?
4355M3h...
4356iT 41n't s0 7rIckY.
4357
4358l33t sP33k is U8er keWl 4nD eA5y wehn u 7hink 1t tHr0uGh.
43591f u w4nn4be UB3R-l33t u d3f1n1t3lY w4nt in 0n a b4d4sS h4xX0r1ng s1tE!!! ;p
4360w4r3Z c0ll3cT10n2 r 7eh l3Et3r!
4361
4362Qu4k3 cL4nS r 7eh bE5t tH1ng 1n teh 3nTIr3 w0rlD!!!
4363g4m3s wh3r3 u g3t to 5h00t ppl r 70tAl1_y w1cK1d!!
4364I'M teh fr4GM4stEr aN I'lL t0t41_1Ly wIpE teh phr34k1ng fL00r ***j3d1 5tYlE*** wItH y0uR h1dE!!!! L0L0L0L!
4365t3lEphR4gG1nG l4m3rs wit mY m8tes r34lLy k1kK$ A$$
4366
4367l33t hAxX0r$ CrE4t3 u8er- k3wL 5tUff lIkE n34t pR0gR4mm1nG lAnguidGe$...
4368s0m3tIm3$ teh l4nGu4gES l00k jUst l1k3 rE41_ 0neS 7o mAkE ppl Th1nk th3y'r3 ju$t n0rMal lEE7 5pEEk but th3y're 5ecRetLy c0dE!!!!
4369n080DY unDer5tAnD$ l33t SpEaK 4p4rT fr0m j3d1!!!!!
437050mE kId 0n A me$$4gEb04rD m1ghT 8E a r0xX0r1nG hAxX0r wH0 w4nT2 t0 bR34k 5tuFf, 0r mAyb3 ju5t sh0w 7eh wAy5 l33t ppl cAn 8E m0re lIkE y0d4!!! hE i5 teh u8ER!!!!
43711t m1ght 8E 5omE v1rus 0r a Pl4ySt4tI0n ch34t c0dE.
43721t 3v3n MiTe jUs7 s4y "H3LL0 W0RLD!!!" u ju5t cAn'T gu3s5.
4373tH3r3's n3v3r anY p0iNt l00KiNg sC3pT1c4l c0s th4t, be1_1Ev3 iT 0r n0t, 1s whAt th1s 1s!!!!!
4374
43755uxX0r5!!!L0L0L0L0L!!!!!!!
4376LabVIEW
4377Back to index
4378Screenshot of LabVIEW program
4379Lasso
4380Back to index
4381// Hello world in Lasso
4382
4383Hello world!
4384LaTeX
4385Back to index
4386% Hello World! in LaTeX
4387\documentclass{article}
4388\begin{document}
4389Hello World!
4390\end{document}
4391Latino
4392Back to index
4393# Hello world in Latino
4394
4395escribir("Hello World!")
4396L
4397Back to index
4398// Hello World in L
4399
4400namespace Hello is
4401 class Main is
4402 void init is()
4403 IO.Std.out.println("Hello World!");
4404 end
4405 end
4406end
4407LibertyBASIC
4408Back to index
4409'hello world in Liberty BASIC
4410PRINT "Hello World"
4411END
4412Lily
4413Back to index
4414# Hello world in Lily
4415
4416print("Hello World")
4417LilyPond
4418Back to index
4419% Hello World in LilyPond
4420
4421\markup { Hello World! }
4422Limbo
4423Back to index
4424Hello World in Limbo.
4425Limbo is the programming language of the Inferno OS
4426(from Lucent Bell Labs).
4427
4428
4429implement Cmd;
4430
4431include "sys.m";
4432include "draw.m";
4433
4434Cmd : module {
4435 init : fn (ctxt : ref Draw->Context, args : list of string);
4436};
4437
4438init(nil : ref Draw->Context, nil : list of string)
4439{
4440 sys := load Sys Sys->PATH;
4441 sys->print("Hello World\n");
4442}
4443LIMS Basic
4444Back to index
4445'Hello World in LIMS Basic
4446msgbox("hello world")
4447Lingo
4448Back to index
4449Hello World in Lingo (Macromedia Director)
4450
4451on startmovie
4452 alert "Hello World"
4453end
4454Linotte
4455Back to index
4456// Hello World in Linotte
4457
4458BonjourLeMonde:
4459 début
4460 affiche "Hello World!"
4461Lisaac
4462Back to index
4463// Hello World in Lisaac
4464Section Header
4465
4466 + name := HELLO_WORLD;
4467
4468Section Inherit
4469
4470 - parent_object:OBJECT := OBJECT;
4471
4472Section Public
4473
4474 - main <-
4475 (
4476 "Hello world !\n".print;
4477 );
4478Lisp-Emacs
4479Back to index
4480;;; Hello World in Emacs Lisp.
4481
4482(defun hello-world()
4483 "Display the string hello world."
4484 (interactive)
4485 (message "hello world"))
4486LiveCode
4487Back to index
4488-- Hello world in LiveCode (formerly called Revolution, formerly called Transcript)
4489
4490answer "Hello World!"
4491LLVM
4492Back to index
4493; Hello world in LLVM Assembly
4494
4495@.str = internal constant [14 x i8] c"hello, world\0A\00"
4496
4497declare i32 @printf(i8*, ...)
4498
4499define i32 @main(i32 %argc, i8** %argv) nounwind {
4500entry:
4501 %tmp1 = getelementptr [14 x i8]* @.str, i32 0, i32 0
4502 %tmp2 = call i32 (i8*, ...)* @printf( i8* %tmp1 ) nounwind
4503 ret i32 0
4504}
4505Logo
4506Back to index
4507; Hello World in Logo
4508
4509DRUCKEZEILE [Hello World!]
4510Logo (graphical)
4511Back to index
4512; Hello World in LOGO, graphical output.
4513
4514go 20 , left 180,
4515go 40 , left 180,
4516go 20 , right 90,
4517go 20 , left 90 ,
4518go 20 , left 180,
4519go 40 , left 90 ,
4520go 20 , left 90 ,
4521go 20 , right 90 ,
4522go 20 , right 90 ,
4523go 10 , right 90 ,
4524go 20 , left 90 ,
4525go 10 , left 90 ,
4526go 30 , left 90 ,
4527go 40 , left 180,
4528go 40 , left 90 ,
4529go 20 , left 90 ,
4530go 40 , left 180,
4531go 40 , left 90 ,
4532go 40 , left 90 ,
4533go 20 , left 90 ,
4534go 20 , left 90 ,
4535go 20 , left 90 ,
4536go 60 , left 90 ,
4537go 40 , left 180,
4538go 40 , left 90 ,
4539go 20 , left 90 ,
4540go 20 , left 180,
4541go 20 , left 90 ,
4542go 20 , left 90 ,
4543go 40 , left 180,
4544go 40 , left 90 ,
4545go 40 , left 90 ,
4546go 20 , left 90 ,
4547go 20 , left 90 ,
4548go 20 , left 90 ,
4549go 40 , left 90 ,
4550go 20 , right 90,
4551go 20 , right 90,
4552go 5 , left 90 ,
4553go 5 , left 90 ,
4554go 25 , left 180,
4555go 40 , left 90 ,
4556go 40 , left 90 ,
4557go 20 , left 90 ,
4558go 20 , left 90 ,
4559go 20 , left 90 ,
4560go 20 , left 90 ,
4561go 40 , left 180,
4562go 40 ,
4563LOLCODE
4564Back to index
4565BTW Hello World in LOLCODE
4566HAI
4567CAN HAS STDIO?
4568VISIBLE "HAI WORLD!"
4569KTHXBYE
4570Loli
4571Back to index
4572# Hello world in Loli
4573
4574sayln("Hello, world!")
4575LOTOS
4576Back to index
4577(* Hello World in LOTOS (Language Of Temporal Ordering Specifications) *)
4578
4579process HelloWorld [v]: exit :=
4580 v! "Hello World!";
4581 exit
4582endproc
4583Lotus Note Formula
4584Back to index
4585REM "Lotus Note Formula Language";
4586@Prompt([ok];"Hi there";"Hello World");
4587Lotus Script
4588Back to index
4589' Hello World in Lotus Script
4590Sub Initialize
4591 Msgbox "Hello world", 0, "Hi there!"
4592End Sub
4593LÖVE
4594Back to index
4595-- Hello world in LÖVE
4596
4597function love.draw()
4598 love.graphics.print('Hello World!', 400, 300)
4599end
4600LPC
4601Back to index
4602// Hello World in LPC
4603
4604void create()
4605{
4606 message("info","Hello World!",this_user());
4607}
4608LS-DYNA
4609Back to index
4610$ "Hello World" for LS-DYNA
4611*KEYWORD
4612*PART
4613
4614 1 1 1
4615*SECTION_BEAM
4616 1 1 1.0 2 1
4617 1.0 1.0 0.0 0.0 1 1
4618*MAT_ELASTIC
4619 1 1.0E-9 1000.0 0.3
4620*ELEMENT_BEAM
4621 1 1 2 3 1
4622 2 1 3 4 1
4623 3 1 3 6 1
4624 4 1 6 5 1
4625 5 1 8 11 1
4626 6 1 11 12 1
4627 7 1 12 9 1
4628 8 1 9 8 1
4629 9 1 8 7 1
4630 10 1 7 10 1
4631 11 1 14 16 1
4632 12 1 16 15 1
4633 13 1 13 15 1
4634 14 1 15 17 1
4635 15 1 19 21 1
4636 16 1 21 20 1
4637 17 1 18 20 1
4638 18 1 20 22 1
4639 19 1 23 24 1
4640 20 1 24 26 1
4641 21 1 26 25 1
4642 22 1 25 23 1
4643 23 1 27 28 1
4644 24 1 28 29 1
4645 25 1 29 30 1
4646 26 1 30 31 1
4647 27 1 32 33 1
4648 28 1 33 35 1
4649 29 1 35 34 1
4650 30 1 34 32 1
4651 31 1 36 37 1
4652 32 1 37 38 1
4653 33 1 40 42 1
4654 34 1 42 41 1
4655 35 1 39 41 1
4656 36 1 41 43 1
4657 37 1 44 45 1
4658 38 1 45 47 1
4659 39 1 48 47 1
4660 40 1 47 46 1
4661 41 1 46 44 1
4662*NODE
4663 1 0.0 0.0 1.0
4664 2
4665 3 0.0 2.0
4666 4 0.0 4.0
4667 5 2.0
4668 6 2.0 2.0
4669 7 3.0
4670 8 3.0 1.0
4671 9 3.0 2.0
4672 10 5.0
4673 11 5.0 1.0
4674 12 5.0 2.0
4675 13 6.0
4676 14 6.0 4.0
4677 15 7.0
4678 16 7.0 4.0
4679 17 8.0
4680 18 9.0
4681 19 9.0 4.0
4682 20 10.0
4683 21 10.0 4.0
4684 22 11.0
4685 23 12.0
4686 24 12.0 2.0
4687 25 14.0
4688 26 14.0 2.0
4689 27 16.0 2.0
4690 28 16.5
4691 29 17.0 1.0
4692 30 17.5
4693 31 18.0 2.0
4694 32 19.0
4695 33 19.0 2.0
4696 34 21.0
4697 35 21.0 2.0
4698 36 22.0
4699 37 22.0 2.0
4700 38 24.0 2.0
4701 39 25.0
4702 40 25.0 4.0
4703 41 26.0
4704 42 26.0 4.0
4705 43 27.0
4706 44 28.0
4707 45 28.0 2.0
4708 46 30.0
4709 47 30.0 2.0
4710 48 30.0 4.0
4711*END
4712LSL
4713Back to index
4714// Hello World in Linden Scripting Language (LSL)
4715
4716default
4717{
4718 state_entry()
4719 {
4720 llSay(0, "Hello World");
4721 }
4722}
4723Lua
4724Back to index
4725# Hello World in Lua
4726
4727print "Hello world"
4728m4
4729Back to index
4730# Hello World for the m4 macro processor
4731Hello
4732MACRO-10
4733Back to index
4734TITLE HELLO WORLD
4735; HELLO WORLD IN MACRO 10 FOR TOPS-10
4736ENTRY OUTPUT
4737SEARCH UUOSYM
4738
4739LAB: ASCIZ /HELLO WORLD
4740/
4741OUTPUT: OUTSTR LAB ; OUTPUT MESSAGE
4742 MONRT. ; RETURN TO MONITOR
4743 END OUTPUT
4744MACRO-11
4745Back to index
4746; "Hello, world!" in MACRO-11 for RT-11
4747
4748 .MCALL .EXIT,.PRINT
4749START: .PRINT #$1
4750 .EXIT
4751$1: .ASCIZ /Hello, world!/
4752 .END START
4753Macromedia-Flex
4754Back to index
4755<?xml version="1.0" encoding="utf-8"?>
4756<mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml">
4757 <!-- Hello Word in Macromedia Flex -->
4758 <mx:Label text="Hello World"/>
4759</mx:Application>
4760MAD
4761Back to index
4762 R Hello world in MAD
4763
4764PRINT FORMAT HELLOW
4765VECTOR VALUES HELLOW=$13h0Hello, world*$
4766END OF PROGRAM
4767make
4768Back to index
4769# Hello world as a makefile
4770
4771all:
4772 @echo "Hello world!"
4773Malbolge
4774Back to index
4775Hello World in Malbolge. No comment character exists.
4776
4777(=<`$9]7<5YXz7wT.3,+O/o'K%$H"'~D|#z@b=`{^Lx8%$Xmrkpohm-kNi;gsedcba`_^]\[ZYXWVUTSRQPONMLKJIHGFEDCBA@?>=<;:9876543s+O<oLm
4778MAMASH
4779Back to index
4780/* Hello World in MAMASH */
4781
4782TQWD LGYEA NXKIA HELLO_WORLD )1(
4783
4784DWLH CXBZ_YKX
4785
4786ID& HELLO_WORLD YED 'HELLO WORLD' .
4787Maple
4788Back to index
4789# Hello World in Maple
4790
4791>> printf("Hello World!");
4792Marmelade
4793Back to index
4794/ Hello world in Marmelade
4795
4796sayln "Hello, world!"
4797Mathematica
4798Back to index
4799(* Hello World in Mathematica *)
4800
4801Hello[] := Print["Hello, World!"]
4802MATLAB
4803Back to index
4804% Hello World in MATLAB.
4805
4806disp('Hello World');
4807Matrix
4808Back to index
4809| Hello world in Matrix
4810
4811System:Hello_World
4812
4813 Type
4814 BaseType
4815 String
4816 Text : 12
4817
4818 Matrix:Model:Application
4819 Silo:M1:Software_Application
4820 Realm:Analysis_Of_Application
4821 Domain:Friend
4822 Entity:Greeting
4823 State
4824 Dataset:Hail
4825 Text : Message
4826 DynamicDataState:Display:Hail
4827 StateAction
4828 Template
4829 <<|>><<#Message>>
4830 <<:>>
4831 Transition
4832 EventState
4833 Wave -> Display
4834
4835 Silo:M0:Real_World_Objects
4836 RealmObject:Objects_Of_Application
4837 DomainObject:Friend
4838 EntityObject:Greeting
4839 Object
4840 | Identity | State
4841 ID001 : Display
4842 ObjectEvent
4843 | Identity | Event | Message
4844 ID001 : Wave : "Hello World!"
4845Maxima
4846Back to index
4847/* Hello World in Maxima */
4848
4849disp("hello, world");
4850MAX-MSP
4851Back to index
4852Screenshot of program
4853MAXScript
4854Back to index
4855/*Hello World in MAXScript (the script language of 3ds Max).
4856Hello World is both printed as text and in full 3D.*/
4857
4858Print "Hello World"
4859Text text:"Hello World"
4860MCSBL
4861Back to index
4862; Hello world in MCSBL
4863
4864"Hello, world!" println
4865MDM Zinc
4866Back to index
4867// Hello world in MDM Zinc
4868
4869mdm.Dialogs.prompt("Hello World");
4870mdm.Application.exit();
4871MEL
4872Back to index
4873// Hello World in MEL scripting language for Alias Maya
4874
4875proc helloWorld () {
4876 print "Hello World!\n";
4877}
4878
4879helloWorld;
4880MetaPost
4881Back to index
4882% Hello World in MetaPost
4883beginfig(0);
4884 label("Hello, world!", (10,10));
4885endfig;
4886MEX
4887Back to index
4888// "Hello, World!" in MEX for Maximus BBS
4889
4890void main()
4891{
4892 print(COLOR_WHITE,"Hello, World!\n");
4893}
4894Microtik
4895Back to index
4896#Hello World in Mikrotik RouterOS Scripting Host; :put ("Hello, World!");
4897mIRC-Alias
4898Back to index
4899;Hello World for mIRC (alias section)
4900
4901helloworld: /echo -a Hello World!
4902mIRC-Commandline
4903Back to index
4904; Hello World! for mIRC (command line version)
4905
4906echo Hello World!
4907mIRC-Script
4908Back to index
4909;Hello World for mIRC script
4910
4911alias helloworld {
4912 /echo -a Hello World!
4913}
4914MivaScript
4915Back to index
4916<MvCOMMENT>Hello World in Miva Script</MvCOMMENT>
4917<MvEVAL EXPR="{'Hello World'}">
4918MML-AXE10
4919Back to index
4920! Hello world program in MML for Ericsson's AXE10 telephone exchange
4921IOTXP:Hello World;
4922Modula-2
4923Back to index
4924(* Hello World in Modula-2 *)
4925
4926MODULE HelloWorld;
4927FROM InOut IMPORT WriteString,WriteLn;
4928BEGIN
4929 WriteString("Hello World!");
4930 WriteLn;
4931END HelloWorld.
4932Modula-3
4933Back to index
4934(* Hello World in Modula-3 *)
4935
4936MODULE Hello EXPORTS Main;
4937
4938IMPORT IO;
4939
4940BEGIN
4941 IO.Put("Hello World!\n");
4942END Hello.
4943MoHAA-Script
4944Back to index
4945// Hello World in the Medal of Honor Allied Assault scripting language
4946
4947iprintln "Hello World!"
4948MOO
4949Back to index
4950"Hello World in MOO";
4951
4952player.location:announce_all("Hello, world!");
4953Mouse
4954Back to index
4955~ Hello World in Mouse
4956
4957"HELLO, WORLD."
4958$
4959MPD
4960Back to index
4961# Hello World in MPD.
4962
4963resource helloworld()
4964 write("Hello World")
4965end
4966MPLAB IDE
4967Back to index
4968; Hello world in MPLAB IDE
4969
4970load_HELLO_W
4971lfsr2,0x100
4972movlwd'11'
4973movwfPOSTINC2
4974movlw"H"
4975movwfPOSTINC2
4976movlw"E"
4977movwfPOSTINC2
4978movlw"L"
4979movwfPOSTINC2
4980movwfPOSTINC2
4981movlw"O"
4982movwfPOSTINC2
4983movlw" "
4984movwfPOSTINC2
4985movlw"W"
4986movwfPOSTINC2
4987movlw"O"
4988movwfPOSTINC2
4989movlw"R"
4990movwfPOSTINC2
4991movlw"L"
4992movwfPOSTINC2
4993movlw"D"
4994movwfPOSTINC2
4995SEND_HELLO_WORLD
4996lfsr1,0x100
4997movf POSTINC1,w
4998movwfstr_length
4999SLmovf POSTINC1,w
5000movwfTXREG
5001TX_wait
5002btfss TXSTA,TRMT
5003braTX_wait
5004decfszstr_length,f
5005braSL
5006DONE_MESSAGE
5007nop
5008MSDOS
5009Back to index
5010@ECHO OFF
5011REM Hello World for DOS batch
5012
5013ECHO Hello World!
5014MSIL
5015Back to index
5016//Hello World in MSIL (.NET assembler)
5017
5018.assembly helloworld {}
5019.class helloworld
5020{
5021 .method static void Main() cil managed
5022 {
5023 .entrypoint
5024 ldstr "Hello World!"
5025 call void [mscorlib]System.Console::WriteLine(string)
5026 ret
5027 }
5028}
5029MS Small Basic
5030Back to index
5031' Hello World in Microsoft Small Basic
5032
5033TextWindow.WriteLine("Hello, World")
5034MuLisp
5035Back to index
5036; Hello, World! in MuLisp
5037
5038(print 'Hello\,\ world\!)
5039Mumps
5040Back to index
5041; Hello World in Mumps-M
5042 w !,"Hello World"
5043MySQL FUNCTION
5044Back to index
5045-- Hello world in MySQL FUNCTION
5046
5047DELIMITER $$
5048CREATE FUNCTION hello_world() RETURNS TEXT COMMENT 'Hello World'
5049BEGIN
5050 RETURN 'Hello World';
5051END;
5052$$
5053DELIMITER ;
5054
5055SELECT hello_world();
5056Mythryl
5057Back to index
5058#!/usr/bin/mythryl
5059# Hello World in Mythryl
5060printf "Hello, world!\n";
5061Natural
5062Back to index
5063 * Hello World in Natural (by Software AG)
5064Write "Hello, World!".
5065Nemerle
5066Back to index
5067// Hello World in Nemerle (a functional programming language for .NET)
5068
5069System.Console.WriteLine("Hello World");
5070newLISP
5071Back to index
5072;; Hello World in newLISP
5073
5074(println "Hello World")
5075NewtonScript
5076Back to index
5077// Hello World in NewtonScript
5078
5079baseview :=
5080 {viewBounds: {left: -3, top: 71, right: 138, bottom: 137},
5081 viewFlags: 581,
5082 declareSelf: 'base,
5083 _proto: protoFloatNGo,
5084 debug: "baseview"
5085 };
5086
5087textview := * child of baseview *
5088 {text: "Hello World!",
5089 viewBounds: {left: 33, top: 24, right: 113, bottom: 46},
5090 viewFlags: 579,
5091 _proto: protoStaticText,
5092 debug: "textview"
5093 };
5094Nice
5095Back to index
5096//Hello World in Nice
5097
5098void main(String[] args){
5099 println("hello world");
5100}
5101Nim
5102Back to index
5103# Hello world in Nim
5104
5105echo "Hello World"
5106Nit
5107Back to index
5108# Hello world in Nit
5109
5110print "Hello, World!"
5111Node.js
5112Back to index
5113/* Hello world in Node.js */
5114
5115var sys = require('sys');
5116sys.puts('Hello World');
5117Noor
5118Back to index
5119Hello world in Noor
5120
5121اطبع "Hello World"
5122NSIS
5123Back to index
5124; Hello World in Nullsoft Software Install Script (NSIS)
5125
5126Caption "Hello World!"
5127OutFile ".\HelloWorld.exe"
5128SilentInstall silent
5129
5130Section ""
5131 MessageBox MB_OK "Hello World!"
5132SectionEnd
5133NXC
5134Back to index
5135/* Hello World in NXC ("Not Exactly C") */
5136
5137#include "NXCDefs.h"
5138
5139task main()
5140{
5141 TextOut(0, LCD_LINE1, "Hello World!");
5142}
5143Oberon.oberon
5144Back to index
5145MODULE HelloWorld;
5146
5147(* Hello World in Oberon for the Oberon System *)
5148
5149 IMPORT Oberon, Texts;
5150
5151 VAR
5152 W: Texts.Writer;
5153
5154 PROCEDURE Do*;
5155 BEGIN
5156 Texts.WriteString(W,"Hello World!");
5157 Texts.WriteLn(W);
5158 Texts.Append(Oberon.Log,W.buf)
5159 END Do;
5160
5161BEGIN Texts.OpenWriter(W)
5162END HelloWorld.
5163Oberon.std
5164Back to index
5165(* Hello World in Oberon for standard operating systems *)
5166
5167MODULE HelloWorld;
5168IMPORT Out;
5169BEGIN
5170 Out.String("Hello World!");
5171 Out.Ln;
5172END HelloWorld;
5173Objective-C
5174Back to index
5175/* Hello World in Objective-C.
5176** Since the standard implementation is identical to K&R C,
5177** a version that says hello to a set of people passed on
5178** the command line is shown here.
5179*/
5180
5181#include <stdio.h>
5182#include <objpak.h>
5183int main(int argc,char **argv)
5184{
5185 id set = [Set new];
5186 argv++;while (--argc) [set add:[String str:*argv++]];
5187 [set do:{ :each | printf("hello, %s!\n",[each str]); }];
5188 return 0;
5189}
5190OCaml
5191Back to index
5192(* Hello World in OCaml *)
5193
5194print_string "Hello World!\n";;
5195Occam
5196Back to index
5197PROGRAM Hello
5198-- Hello world in Occam
5199#USE ioconv
5200
5201SEQ
5202 write.full.string(screen,"Hello World!")
5203Octave
5204Back to index
5205#Hello World in Octave (http://www.octave.org/)
5206printf("Hello World\n");
5207Omnimark
5208Back to index
5209; Hello World in Omnimark
5210
5211
5212process
5213 output "Hello World!%n"
5214Ook
5215Back to index
5216Hello World in Ook. No comments possible.
5217
5218Ook. Ook? Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook.
5219Ook. Ook. Ook. Ook. Ook! Ook? Ook? Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook.
5220Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook? Ook! Ook! Ook? Ook! Ook? Ook.
5221Ook! Ook. Ook. Ook? Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook.
5222Ook. Ook. Ook! Ook? Ook? Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook?
5223Ook! Ook! Ook? Ook! Ook? Ook. Ook. Ook. Ook! Ook. Ook. Ook. Ook. Ook. Ook. Ook.
5224Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook! Ook. Ook! Ook. Ook. Ook. Ook. Ook.
5225Ook. Ook. Ook! Ook. Ook. Ook? Ook. Ook? Ook. Ook? Ook. Ook. Ook. Ook. Ook. Ook.
5226Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook! Ook? Ook? Ook. Ook. Ook.
5227Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook? Ook! Ook! Ook? Ook! Ook? Ook. Ook! Ook.
5228Ook. Ook? Ook. Ook? Ook. Ook? Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook.
5229Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook! Ook? Ook? Ook. Ook. Ook.
5230Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook.
5231Ook. Ook? Ook! Ook! Ook? Ook! Ook? Ook. Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook.
5232Ook? Ook. Ook? Ook. Ook? Ook. Ook? Ook. Ook! Ook. Ook. Ook. Ook. Ook. Ook. Ook.
5233Ook! Ook. Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook.
5234Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook! Ook!
5235Ook! Ook. Ook. Ook? Ook. Ook? Ook. Ook. Ook! Ook. Ook! Ook? Ook! Ook! Ook? Ook!
5236Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook. Ook.
5237Ook. Ook. Ook. Ook. Ook! Ook.
5238OpenVMS
5239Back to index
5240$! Hello World in OpenVMS DCL
5241
5242$ write sys$output "Hello World"
5243OPL.dialog
5244Back to index
5245REM Hello World for OPL (Psion Organizer 3a)
5246REM More complex version with menues and dialog boxes
5247
5248PROC HELLO:
5249 LOCAL M%
5250 DO
5251 REM Display menu bar
5252 mINIT
5253 mCARD "Sprache","Deutsch",%d,"English",%e
5254 mCARD "Extras","Beenden",%x,"Info",%i
5255 M%=MENU
5256 REM process choosen function
5257 IF M%=%d
5258 REM Display german dialog box
5259 REM with an ENTER button to continue
5260 dBOX:(" ","Hallo Welt"," ","weiter",13)
5261 ELSEIF M%=%e
5262 REM Display english dialog box
5263 REM with an ENTER button to continue
5264 dBOX:(" ","Hello World"," ","continue",13)
5265 ELSEIF M%=%i
5266 REM Display copyright information ;-)
5267 dBOX:("Info","(C) Klaus Müller 0196","FrankfurtMain, Germany","",13)
5268 ENDIF
5269 UNTIL M%=%x
5270ENDP
5271
5272PROC dBOX:(Z1$,Z2$,Z3$,Z4$,BUTTON%)
5273 dINIT Z1$
5274 dTEXT ""," ",0
5275 dTEXT "",Z2$",$102
5276 dTEXT "",Z3$,$202
5277 dBUTTONS Z4$,BUTTON%
5278 DIALOG
5279ENDP
5280OPL.simple
5281Back to index
5282REM Hello World for OPL (Psion Organizer 3a)
5283REM Simple version
5284
5285PROC HELLO:
5286 PRINT "Hello World!"
5287 GET
5288ENDP
5289Oz
5290Back to index
5291% Hello World in Oz
5292
5293functor
5294import
5295 System
5296 Application
5297define
5298 {System.showInfo "Hello World!"}
5299 {Application.exit 0}
5300end
5301ParaSail
5302Back to index
5303// Hello world in ParaSail
5304
5305func Hello_World(var IO) is
5306 IO.Println("Hello, World");
5307end func Hello_World;
5308Parser
5309Back to index
5310# Hello World in Parser
5311
5312Hello world!
5313Pascal
5314Back to index
5315{Hello world in Pascal}
5316
5317program HelloWorld(output);
5318begin
5319 WriteLn('Hello World!');
5320end.
5321Pascal (Windows)
5322Back to index
5323{ Hello World in Borland Pascal 7 for MS-Windows}
5324
5325PROGRAM HelloWorld;
5326
5327USES
5328 WinCRT;
5329
5330BEGIN
5331 InitWinCRT;
5332 WriteLn('Hello World!');
5333 ReadLn;
5334 DoneWinCRT;
5335END.
5336Pawn
5337Back to index
5338/* Hello World in Pawn */
5339
5340main()
5341{
5342 printf "Hello World!"
5343}
5344PBASIC
5345Back to index
5346' Hello World in PBASIC (for the Boe-Bot Robot)
5347
5348' {$STAMP BS2}
5349' {$PBASIC 2.5}
5350
5351DEBUG "Hello World!"
5352
5353END
5354PDF
5355Back to index
5356%Hello World in Portable Document Format (PDF)
5357%PDF-1.2
53581 0 obj
5359<<
5360/Type /Page
5361/Parent 5 0 R
5362/Resources 3 0 R
5363/Contents 2 0 R
5364>>
5365endobj
53662 0 obj
5367<<
5368/Length 51
5369>>
5370stream
5371BT
5372/F1 24 Tf
53731 0 0 1 260 600 Tm
5374(Hello World)Tj
5375ET
5376endstream
5377endobj
53783 0 obj
5379<<
5380/ProcSet[/PDF/Text]
5381/Font <</F1 4 0 R >>
5382>>
5383endobj
53844 0 obj
5385<<
5386/Type /Font
5387/Subtype /Type1
5388/Name /F1
5389/BaseFont /Arial
5390>>
5391endobj
53925 0 obj
5393<<
5394/Type /Pages
5395/Kids [ 1 0 R ]
5396/Count 1
5397/MediaBox
5398[ 0 0 612 792 ]
5399>>
5400endobj
54016 0 obj
5402<<
5403/Type /Catalog
5404/Pages 5 0 R
5405>>
5406endobj
5407trailer
5408<<
5409/Root 6 0 R
5410>>
5411PEARL
5412Back to index
5413MODULE (HELLO);
5414/* Hello World in PEARL (Process and Experiment Automation Realtime Language) */
5415 SYSTEM;
5416 TERMINAL:DIS<->SDVLS(2);
5417 PROBLEM;
5418 SPC TERMINAL DATION INOUT
5419 ALPHIC DIM(,) TFU MAX
5420 FORWARD CONTROL (ALL);
5421 MAIN:TASK;
5422 DCL TEXT INV CHAR(30)
5423 INIT('HELLO WORLD!');
5424 OPEN TERMINAL;
5425 PUT TEXT TO TERMINAL;
5426 CLOSE TERMINAL;
5427 END;
5428MODEND;
5429PeopleCode
5430Back to index
5431/* Hello World in PeopleCode 8.45
5432
5433&MsgText = MsgGetText(66666666, 999999999, "Hello World!");
5434Perl
5435Back to index
5436# Hello world in perl
5437
5438print "Hello World!\n";
5439Perl 6
5440Back to index
5441# Hello world in Perl 6
5442
5443say 'Hello World!';
5444Pharo
5445Back to index
5446"Hello world in Pharo"
5447
5448Transcript show: 'hello world'; cr.
5449PHP+GD
5450Back to index
5451<?
5452// Hello World in PHP + GD library
5453header("Content-type: image/gif");
5454$rscImage = imagecreatetruecolor(80, 25);
5455$intFontC = imagecolorallocate($rscImage, 255, 255, 255);
5456$intBGC = imagecolorallocate($rscImage, 0, 0, 0);
5457imagestring($rscImage, 2, 5, 5, "Hello World!", $intFontC);
5458imagegif($rscImage);
5459imagedestroy($rscImage);
5460?>
5461PHP
5462Back to index
5463<?php
5464 // Hello world in PHP
5465 echo 'Hello World!';
5466?>
5467Picat
5468Back to index
5469% Hello world in Picat
5470
5471main =>
5472 print("Hello, World!\n").
5473Piet
5474Back to index
5475Hello World in Piet. No comment character exists.
5476
5477Screenshot of program
5478Pike
5479Back to index
5480// Hello world in Pike (pike.roxen.com)
5481
5482int main(){
5483 write("Hello World!\n");
5484}
5485PILOT
5486Back to index
5487R:Hello world in PILOT
5488T:Hello World!
5489PL1
5490Back to index
5491/* Hello World in PL/1 */
5492
5493Hello: procedure options(main);
5494 put skip list('Hello World!');
5495end Hello;
5496Plankalkül
5497Back to index
5498Hello world in Plankalkül
5499
5500R1.1(V0[:sig]) => R0
5501R1.2(V0[:m x sig]) => R0
55020 => i | m + 1 => j
5503[W [ i < j -> [ R1.1(V0[i: m x sig]) => R0 | i + 1 => i ] ] ]
5504END
5505R1.3() => R0
5506'H';'e';'l';'l';'o';',';' ';'w';'o';'r';'l';'d';'!' => Z0[: m x sig] R1.2(Z0) => R0
5507END
5508PL-SQL
5509Back to index
5510-- Hello World in Oracle PL/SQL (sqlplus)
5511
5512set serveroutput on
5513
5514begin
5515 dbms_output.enable(10000);
5516 dbms_output.put_line('Hello World');
5517end;
5518/
5519Pocket Calculator
5520Back to index
5521Hello World for standard pocket calculators (7-segment display).
5522Type in and turn calculator upside down.
5523
55240.7734
5525POP-11
5526Back to index
5527;;; Hello World in POP-11
5528
5529: vars outputtext;
5530: "Hello World" -> outputtext;
5531: outputtext =>
5532
5533** Hello World
5534Portugol
5535Back to index
5536// Hello world in Portugol
5537
5538algoritmo "Hello World"
5539var
5540inicio
5541escreva ("Hello World!")
5542fimalgoritmo
5543PostgreSQL
5544Back to index
5545-- Hello World in PL/pgSQL (PostgreSQL Procedural Language)
5546-- In old versions replace '$$' by double qoutes
5547
5548CREATE FUNCTION hello_world() RETURNS text AS $$
5549BEGIN
5550RETURN 'Hello World';
5551END
5552$$ LANGUAGE plpgsql;
5553
5554SELECT hello_world();
5555Postscript
5556Back to index
5557% Hello World in Postscript
5558%!PS
5559/Palatino-Roman findfont
5560100 scalefont
5561setfont
5562100 100 moveto
5563(Hello World!) show
5564showpage
5565POV-Ray
5566Back to index
5567// Hello World for the Persistence of Vision Raytracer.
5568// Click here to view the output.
5569#include "skies.inc"
5570
5571camera{location <0,1,-5> look_at y}
5572light_source{<2,4,-7>,2}
5573sky_sphere{S_Cloud1}
5574plane{y 0 pigment{checker rgb 1,0} finish{reflection .5}}
5575text{ttf "timrom.ttf" "Hello World!" .3,0
5576 pigment {agate scale .2} translate -2.5*x
5577}
5578Powerbasic
5579Back to index
5580' Hello World in Powerbasic Console Compiler
5581
5582FUNCTION PBMAIN () AS LONG
5583
5584 PRINT "Hello World"
5585
5586END FUNCTION
5587Powerflex
5588Back to index
5589// "Hello World" in PowerFlex
5590
5591showln "Hello World"
5592system
5593PowerScript
5594Back to index
5595// Hello World in PowerScript
5596
5597MessageBox("","Hello World!")
5598Powershell
5599Back to index
5600# Hello World in Microsoft Powershell
5601
5602'Hello World!'
5603PPL
5604Back to index
5605;Hello World in PPL (PCBoard Programming Language)
5606PRINTLN "Hello, World!"
5607PQN-PROC
5608Back to index
5609PQN
5610C Hello World in PQN/PROC
5611O Hello World
5612PRAAT
5613Back to index
5614# Hello World in praat (www.praat.org)
5615echo Hello World!
5616Processing
5617Back to index
5618// Hello world in Processing
5619
5620println( "Hello world!" );
5621ProC
5622Back to index
5623/* Hello World in Pro*C, the Oracle's embedded SQL environment */
5624
5625#include <stdio.h>
5626
5627EXEC SQL INCLUDE SQLCA;
5628
5629int main() {
5630 char hello[15];
5631 char *user = "the_user";
5632 char *password = "the_password";
5633 char *sid = "the_sid";
5634
5635 EXEC SQL CONNECT :user IDENTIFIED BY :password USING :sid;
5636
5637 EXEC SQL
5638 SELECT 'Hello World' INTO :hello
5639 FROM DUAL;
5640
5641 printf("%s\n", hello);
5642
5643 EXEC SQL COMMIT RELEASE;
5644
5645 return 0;
5646}
5647Profan
5648Back to index
5649' Hello World in Profan (http://www.profan.de/)
5650
5651cls
5652print "Hello World!"
5653waitkey
5654Prograph
5655Back to index
5656Screenshot of program
5657Progress
5658Back to index
5659/* Hello World in Progress */
5660
5661message "Hello World" view-as alert-box.
5662Prolog
5663Back to index
5664% Hello World in Prolog
5665
5666hello :- display('Hello World!') , nl .
5667Punyforth
5668Back to index
5669\ Hello world in Punyforth
5670
5671println: "Hello world!"
5672PureBasic (Console)
5673Back to index
5674; Hello World in PureBasic (console program)
5675
5676OpenConsole()
5677 ConsoleTitle ("Hello World!")
5678 PrintN ("Hello World!")
5679CloseConsole()
5680PureBasic (Messagebox)
5681Back to index
5682; Hello World in PureBasic (message box)
5683
5684MessageRequester("Hello World Messagebox","Hello World!")
5685PureBasic (Window)
5686Back to index
5687; Hello World in PureBasic (Window)
5688
5689If OpenWindow(0, 216, 0, 268, 133, #PB_Window_SystemMenu | #PB_Window_TitleBar | #PB_Window_ScreenCentered , "Hello World Window")
5690 If CreateGadgetList(WindowID())
5691 TextGadget(1, 100, 60, 60, 20, "Hello World!")
5692 EndIf
5693EndIf
5694
5695Repeat ; Message Loop
5696Until WaitWindowEvent() = #PB_EventCloseWindow
5697Python 2
5698Back to index
5699# Hello world in Python 2
5700
5701print "Hello World"
5702Python 3
5703Back to index
5704# Hello world in Python 3 (aka Python 3000)
5705
5706print("Hello World")
5707Qalb
5708Back to index
5709; Hello world in قلب
5710
5711(قول "مرحبا يا عالم!")
5712QCL
5713Back to index
5714// Hello world in QCL
5715
5716print "Hello World";
5717Q
5718Back to index
5719/* Hello world in Q */
5720
5721hello = writes "Hello, world!\n";
5722qore
5723Back to index
5724#!/usr/local/bin/qore
5725# Hello World in qore
5726
5727class HelloWorld
5728{
5729 constructor()
5730 {
5731 background $.output("Hello, world!");
5732 }
5733 output($arg)
5734 {
5735 printf("%s\n", $arg);
5736 }
5737}
5738
5739new HelloWorld();
5740QuakeC
5741Back to index
5742// Hello World in QuakeC. This should be put somewhere, for instance
5743// PutClientInServer() in Client.qc.
5744
5745bprint("Hello World\n");
5746Quartz Composer
5747Back to index
5748Hello World for Quartz Composer
5749Screenshot of program
5750
5751QuickBASIC
5752Back to index
5753REM Hello World in QuickBASIC
5754PRINT "Hello World!"
5755END
5756Quorum
5757Back to index
5758// Hello world in Quorum
5759
5760output "Hello World!"
5761Racket
5762Back to index
5763;; Hello world in Racket
5764
5765#lang racket/base
5766"Hello, World!"
5767Rapira
5768Back to index
5769\ Hello world in Rapira
5770
5771ПРОЦ СТАРТ()
5772 ВЫВОД: 'Hello World!'
5773КОН ПРОЦ
5774ratfor
5775Back to index
5776# hello.world.in.ratfor
5777print *, 'hello, world'
5778end
5779Rational Rose
5780Back to index
5781' Hello World in Rational Rose scripting language
5782Sub Main
5783 RoseApp.WriteErrorLog "Hello, World!"
5784End Sub
5785React-VR
5786Back to index
5787// Hello world in React-VR
5788
5789import React from 'react';
5790import { AppRegistry, asset, Text, View,} from 'react-vr';
5791
5792export default class HelloWorld extends React.Component {
5793 render() { return (
5794 <View>
5795 <Text
5796 style={{transform: [{translate: [0, 0, -3]}],}}>
5797 Hello World
5798 </Text>
5799 </View>
5800 ); } };
5801AppRegistry.registerComponent('HelloWorld', () => HelloWorld);
5802REALbasic
5803Back to index
5804' Hello World in REALbasic (http://www.realsoftware.com/)
5805
5806msgBox "Hello World!"
5807RealText
5808Back to index
5809<window width="320" height="160">
5810<!-- Hello World in RealText -->
5811 <font size="12" name="Arial">
5812 <center>Hello World!</center>
5813 </font>
5814</window>
5815REBOL
5816Back to index
5817; Hello World in REBOL
5818
5819print "Hello World!"
5820Rebol-view
5821Back to index
5822Hello World in Rebol-view.
5823
5824rebol[]
5825view layout[
5826text "Hello World!"
5827]
5828Redcode
5829Back to index
5830; Hello World in Redcode
5831; Should work with any MARS >= ICWS-86
5832; (with 128x64 gfx core support, of course!)
5833;
5834Start MOV 0,2455
5835 MOV 0,2458
5836 MOV 0,2459
5837 MOV 0,2459
5838 MOV 0,2459
5839 MOV 0,2459
5840 MOV 0,2459
5841 MOV 0,2460
5842 MOV 0,2465
5843 MOV 0,2471
5844 MOV 0,2471
5845 MOV 0,2471
5846 MOV 0,2479
5847 MOV 0,2482
5848 MOV 0,2484
5849 MOV 0,2484
5850 MOV 0,2484
5851 MOV 0,2486
5852 MOV 0,2486
5853 MOV 0,2486
5854 MOV 0,2486
5855 MOV 0,2488
5856 MOV 0,2493
5857 MOV 0,2493
5858 MOV 0,2493
5859 MOV 0,2493
5860 MOV 0,2497
5861 MOV 0,2556
5862 MOV 0,2559
5863 MOV 0,2560
5864 MOV 0,2565
5865 MOV 0,2570
5866 MOV 0,2575
5867 MOV 0,2578
5868 MOV 0,2585
5869 MOV 0,2588
5870 MOV 0,2589
5871 MOV 0,2592
5872 MOV 0,2593
5873 MOV 0,2596
5874 MOV 0,2597
5875 MOV 0,2603
5876 MOV 0,2605
5877 MOV 0,2608
5878 MOV 0,2667
5879 MOV 0,2670
5880 MOV 0,2671
5881 MOV 0,2676
5882 MOV 0,2681
5883 MOV 0,2686
5884 MOV 0,2689
5885 MOV 0,2696
5886 MOV 0,2699
5887 MOV 0,2700
5888 MOV 0,2703
5889 MOV 0,2704
5890 MOV 0,2707
5891 MOV 0,2708
5892 MOV 0,2714
5893 MOV 0,2716
5894 MOV 0,2719
5895 MOV 0,2778
5896 MOV 0,2778
5897 MOV 0,2778
5898 MOV 0,2778
5899 MOV 0,2778
5900 MOV 0,2779
5901 MOV 0,2779
5902 MOV 0,2779
5903 MOV 0,2782
5904 MOV 0,2787
5905 MOV 0,2792
5906 MOV 0,2795
5907 MOV 0,2802
5908 MOV 0,2805
5909 MOV 0,2806
5910 MOV 0,2809
5911 MOV 0,2810
5912 MOV 0,2810
5913 MOV 0,2810
5914 MOV 0,2810
5915 MOV 0,2812
5916 MOV 0,2818
5917 MOV 0,2820
5918 MOV 0,2823
5919 MOV 0,2882
5920 MOV 0,2885
5921 MOV 0,2886
5922 MOV 0,2891
5923 MOV 0,2896
5924 MOV 0,2901
5925 MOV 0,2904
5926 MOV 0,2911
5927 MOV 0,2912
5928 MOV 0,2913
5929 MOV 0,2914
5930 MOV 0,2917
5931 MOV 0,2918
5932 MOV 0,2919
5933 MOV 0,2922
5934 MOV 0,2928
5935 MOV 0,2930
5936 MOV 0,2933
5937 MOV 0,2992
5938 MOV 0,2995
5939 MOV 0,2996
5940 MOV 0,3001
5941 MOV 0,3006
5942 MOV 0,3011
5943 MOV 0,3014
5944 MOV 0,3021
5945 MOV 0,3022
5946 MOV 0,3023
5947 MOV 0,3024
5948 MOV 0,3027
5949 MOV 0,3028
5950 MOV 0,3030
5951 MOV 0,3032
5952 MOV 0,3038
5953 MOV 0,3040
5954 MOV 0,3103
5955 MOV 0,3106
5956 MOV 0,3107
5957 MOV 0,3107
5958 MOV 0,3107
5959 MOV 0,3107
5960 MOV 0,3107
5961 MOV 0,3108
5962 MOV 0,3108
5963 MOV 0,3108
5964 MOV 0,3108
5965 MOV 0,3108
5966 MOV 0,3109
5967 MOV 0,3109
5968 MOV 0,3109
5969 MOV 0,3109
5970 MOV 0,3109
5971 MOV 0,3111
5972 MOV 0,3111
5973 MOV 0,3111
5974 MOV 0,3120
5975 MOV 0,3121
5976 MOV 0,3124
5977 MOV 0,3124
5978 MOV 0,3124
5979 MOV 0,3126
5980 MOV 0,3129
5981 MOV 0,3130
5982 MOV 0,3130
5983 MOV 0,3130
5984 MOV 0,3130
5985 MOV 0,3130
5986 MOV 0,3131
5987 MOV 0,3131
5988 MOV 0,3131
5989 MOV 0,3131
5990 MOV 0,3135
5991 JMP 0
5992REFAL-2
5993Back to index
5994* Hello, World! in REFAL-2
5995start
5996entry go
5997extrn PROUT
5998go = <prout 'Hello, world!'>
5999end
6000Refal
6001Back to index
6002* Hello world in Refal
6003
6004$ENTRY Go { = <Hello>;}
6005Hello {
6006 = <Prout 'Hello world'>;
6007}
6008Regular Expression
6009Back to index
6010Hello World as a regular expression.
6011Replaces everything with "Hello World".
6012For use with vi, sed, etc.
6013
6014Search String : ^.*$
6015Replace String: 'Hello World'
6016Rexx (simple)
6017Back to index
6018/* Hello World in Rexx, simple version (writes to standard output) */
6019
6020say 'Hello World!'
6021exit
6022Rexx (window)
6023Back to index
6024/* Hallo World in Rexx, opens window */
6025
6026call RxFuncAdd 'SysLoadFuncs', 'RexxUtil', 'SysLoadFuncs'
6027call SysLoadFuncs
6028call RxMessageBox 'Hello World!', 'Hello World Window', 'OK', 'EXCLAMATION'
6029exit
6030Rey
6031Back to index
6032//beginning Hello World in Rey:
6033
6034korzystaj "Konsola";
6035
6036program
6037{
6038 PiszLinia("Hello World");
6039}
6040//end Hello World in Rey
6041rhine
6042Back to index
6043;; Hello world in rhine
6044
6045(println "Hello World")
6046RPG IV v3-4
6047Back to index
6048H* Hello world in RPG IV versions 3 and 4
6049
6050D msg S 32 inz(*blank)
6051D wait S 1
6052
6053C eval msg = 'Hello World'
6054
6055C msg dsply wait
6056
6057
6058C eval *inlr = *on
6059RPG IV v5
6060Back to index
6061// Hello world in RPG IV version 5
6062
6063D wait S 1
6064
6065 /Free
6066 dsply ( 'Hello World!') ' ' wait;
6067
6068 *inlr = *on;
6069RPG IV v7.1
6070Back to index
6071// Hello world in RPG IV version 7.1
6072
6073dcl-s wait char(1);
6074
6075dsply ( 'Hello World!') ' ' wait;
6076
6077*inlr = *on;
6078RPL
6079Back to index
6080Hello World in RPL for the HP-28, HP-48, HP-49 and HP-50 series pocket calculators. No comments possible.
6081
6082<<
6083 "HELLO WORLD"
6084 1 DISP
6085 60 FREEZE
6086>>
6087RSL
6088Back to index
6089// Hello World in RSL (RS-Bank Language)
6090
6091[Hello World!];
6092R
6093Back to index
6094# Hello World in R
6095cat("Hello world\n")
6096Ruby
6097Back to index
6098# Hello World in Ruby
6099puts "Hello World!"
6100Rust
6101Back to index
6102// Hello world in Rust
6103
6104fn main() {
6105 println!("Hello World!");
6106}
6107SAKO
6108Back to index
6109K) HELLO WORLD IN SAKO
6110
6111 LINIA
6112 TEKST:
6113 HELLO WORLD
6114 KONIEC
6115SAL
6116Back to index
6117// Hello World in SAL
6118
6119proc main()
6120 MsgBox("Hello from SAL", "Hello, World!")
6121end
6122SApp
6123Back to index
6124comment: Hello World in SApp
6125popup "Hello ## World!" ,
6126SAS
6127Back to index
6128/* Hello world in SAS */
6129
6130* Writes as output title;
6131TITLE "Hello World!";
6132* writes to the log;
6133data _null_;
6134 PUT "Hello world!";
6135run;
6136Sather
6137Back to index
6138-- Hello World in Sather
6139
6140 class HELLO is
6141 main is #OUT + "Hello World!\n" end
6142 end
6143Sawzall
6144Back to index
6145# Hello world in Sawzall
6146
6147emit stdout <- "Hello, World!";
6148Scala
6149Back to index
6150// Hello world in Scala
6151
6152object HelloWorld extends App {
6153 println("Hello world!")
6154}
6155Scheme
6156Back to index
6157; Hello World in Scheme
6158
6159(display "Hello, world!")
6160(newline)
6161Scilab
6162Back to index
6163// Hello World in SciLab.
6164
6165disp('Hello World');
6166Scratch
6167Back to index
6168Hello World in Scratch
6169
6170Screenshot of program
6171Seed7
6172Back to index
6173# Hello World in Seed7
6174
6175$ include "seed7_05.s7i";
6176
6177const proc: main is func
6178 begin
6179 writeln("Hello World!");
6180 end func;
6181Self
6182Back to index
6183(| "Hello World in Self"
6184
6185 hello = (| | 'Hello World!' print)
6186|)
6187SenseTalk
6188Back to index
6189Hello World in SenseTalk.
6190
6191on run put "Hello World!" end run
6192Setl2
6193Back to index
6194-- Hello World in Setl2
6195
6196procedure Hello();
6197 print "Hello World!";
6198end Hello;
6199Shakespeare
6200Back to index
6201The Infamous Hello World Program in Shakespeare.
6202
6203Romeo, a young man with a remarkable patience.
6204Juliet, a likewise young woman of remarkable grace.
6205Ophelia, a remarkable woman much in dispute with Hamlet.
6206Hamlet, the flatterer of Andersen Insulting A/S.
6207
6208
6209 Act I: Hamlet's insults and flattery.
6210
6211 Scene I: The insulting of Romeo.
6212
6213[Enter Hamlet and Romeo]
6214
6215Hamlet:
6216 You lying stupid fatherless big smelly half-witted coward!
6217 You are as stupid as the difference between a handsome rich brave
6218 hero and thyself! Speak your mind!
6219
6220 You are as brave as the sum of your fat little stuffed misused dusty
6221 old rotten codpiece and a beautiful fair warm peaceful sunny summer's
6222 day. You are as healthy as the difference between the sum of the
6223 sweetest reddest rose and my father and yourself! Speak your mind!
6224
6225 You are as cowardly as the sum of yourself and the difference
6226 between a big mighty proud kingdom and a horse. Speak your mind.
6227
6228 Speak your mind!
6229
6230[Exit Romeo]
6231
6232 Scene II: The praising of Juliet.
6233
6234[Enter Juliet]
6235
6236Hamlet:
6237 Thou art as sweet as the sum of the sum of Romeo and his horse and his
6238 black cat! Speak thy mind!
6239
6240[Exit Juliet]
6241
6242 Scene III: The praising of Ophelia.
6243
6244[Enter Ophelia]
6245
6246Hamlet:
6247 Thou art as lovely as the product of a large rural town and my amazing
6248 bottomless embroidered purse. Speak thy mind!
6249
6250 Thou art as loving as the product of the bluest clearest sweetest sky
6251 and the sum of a squirrel and a white horse. Thou art as beautiful as
6252 the difference between Juliet and thyself. Speak thy mind!
6253
6254[Exeunt Ophelia and Hamlet]
6255
6256
6257 Act II: Behind Hamlet's back.
6258
6259 Scene I: Romeo and Juliet's conversation.
6260
6261[Enter Romeo and Juliet]
6262
6263Romeo:
6264 Speak your mind. You are as worried as the sum of yourself and the
6265 difference between my small smooth hamster and my nose. Speak your
6266 mind!
6267
6268Juliet:
6269 Speak YOUR mind! You are as bad as Hamlet! You are as small as the
6270 difference between the square of the difference between my little pony
6271 and your big hairy hound and the cube of your sorry little
6272 codpiece. Speak your mind!
6273
6274[Exit Romeo]
6275
6276 Scene II: Juliet and Ophelia's conversation.
6277
6278[Enter Ophelia]
6279
6280Juliet:
6281 Thou art as good as the quotient between Romeo and the sum of a small
6282 furry animal and a leech. Speak your mind!
6283
6284Ophelia:
6285 Thou art as disgusting as the quotient between Romeo and twice the
6286 difference between a mistletoe and an oozing infected blister! Speak
6287 your mind!
6288
6289[Exeunt]
6290Shen
6291Back to index
6292\\ Hello world in Shen
6293
6294(0-) (pr "hello world")
6295SilverBasic
6296Back to index
6297//Hello World in SilverBasic
6298
6299PRINT "Hello World!"
6300SIMPLE
6301Back to index
6302[::PROGRAM:Hello World program in SIMPLE
6303A EQL @0
6304MSG A
6305END
6306]
6307{::DATA:Data part
6308@0:T
6309Hello World$$M
6310$$@
6311}
6312Simula
6313Back to index
6314! Hello World in Simula;
6315
6316BEGIN
6317 OutText("Hello World!");
6318 OutImage;
6319END
6320SinclairBasic
6321Back to index
632210 REM Hello World in Sinclair BASIC
632320 PRINT "Hello World"
6324Skip
6325Back to index
6326// Hello world in Skip
6327
6328fun main(): void {
6329 print_raw("Hello world!")
6330}
6331Smalltalk MT
6332Back to index
6333"Hello World in Smalltalk MT
6334
6335FrameWindow new
6336 title: 'Hello World';
6337 open
6338Smalltalk (simple)
6339Back to index
6340"Hello World in Smalltalk (simple version)"
6341
6342Transcript show: 'Hello World!'.
6343Smalltalk (window)
6344Back to index
6345"Hello World in Smalltalk (in an own window)"
6346"(to be entered in a special browser)"
6347
6348VisualComponent subclass: #HelloWorldView
6349 instanceVariableNames: ''
6350 classVariableNames: ''
6351 poolDictionaries: ''
6352 category: 'test'
6353
6354displayOn: aGraphicsContext
6355
6356 'Hello World!' asComposedText displayOn: aGraphicsContext.
6357
6358open
6359
6360 |window|
6361 window := ScheduledWindow new.
6362 window label: 'Hello World Demo:'.
6363 window component: self new.
6364 window open.
6365SMIL
6366Back to index
6367<!-- Hello World in SMIL -->
6368<smil>
6369 <head>
6370 <layout>
6371 <root-layout width="300" height="160" background-color="white"/>
6372 <region id="text_region" left="115" top="60"/>
6373 </layout>
6374 </head>
6375 <body>
6376 <text src="data:,Hello%20World!" region="text_region">
6377 <param name="fontFace" value="Arial"/>
6378 </text>
6379 </body>
6380</smil>
6381SML
6382Back to index
6383(* Hello World in SML *)
6384
6385fun hello() = output(std_out, "Hello World!");
6386Snobol
6387Back to index
6388* Hello World in Snobol
6389
6390 OUTPUT = "Hello World!"
6391Spin
6392Back to index
6393' Hello World in Spin
6394
6395CON
6396 _CLKMODE = XTAL1 + PLL16x
6397 _XINFREQ = 5_000_000
6398 TV_PIN = 12
6399
6400OBJ
6401 Tv: "TV_Text"
6402
6403PUB Main
6404 Tv.Start( TV_PIN )
6405 Tv.Str( String( "Hello World" ) )
6406Spiral
6407Back to index
6408Hello World in Spiral. No comment character exists.
6409
6410e0v *** *eXlv** *lX *2X **oXi
6411v * * * * * * 2 * o ** v*
6412* * * * * ***** * v * v * *iX *
6413* * * * * * * ^ v * * * w *
6414* *** * * ***** * v * * * * v *
6415* * * ^ * ^ * * * * * *
6416* *** * * ****v * v * * v * * *
6417* * * * * * * * * * ^ * * *
6418* * * * * ***** * ***** * ***** * *** *
6419* * * * * * * * * * ** **
6420*** *** ******* *****v^ ******* *****
6421
6422*wX *** **3Xp *rX4.. d5* qd**
6423* 3 * * ** v^ * .. * * * ***
6424* v * ^ * #pX v * .. . * * * **
6425* *** v * # r # * .. . * * * !q* *
6426* * * * * # v # * 54 .. * * * * * *
6427* * * * * # * # * @X * * * * * *
6428* * * * * # * # * v * * * * * *
6429* * * * * # * # * * ** * * * * * *
6430* * * * # * # * ** ** * * * *** *
6431* * * * #v* ^ * *** * * ***** * **
6432** * ** ** *v * * * * * * * ***
6433 ***** *v^** *** *** ******* ****
6434SPL4
6435Back to index
6436 HELLO: PROCEDURE OPTIONS(MAIN);
6437*
6438 /* Hello World in SPL4 (Siemens) */
6439*
6440 DCL PRINTC ENTRY;
6441*
6442 CALL PRINTC('Hello World!', 12);
6443 RETURN;
6444*
6445 END HELLO;
6446Splunk SPL
6447Back to index
6448| makeresults `comment("Hello world in Splunk SPL")` | eval mystring="Hello, World!"
6449S-Plus
6450Back to index
6451# Hello World for S-Plus
6452cat("Hello world\n")
6453Spry
6454Back to index
6455# Hello world in Spry
6456
6457echo "Hello World"
6458SPSS
6459Back to index
6460* SPSS Syntax
6461* "Hello World" title in the Output Window of SPSS via SPSS Syntax.
6462
6463TITLE 'Hello World'.
6464SQL (Advantage)
6465Back to index
6466-- Hello World in SQL for Advantage Database
6467
6468select 'Hello World' from system.iota
6469SQL (DB2)
6470Back to index
6471-- Hello World in SQL for DB2
6472VALUES('hello world')
6473SQL (Oracle)
6474Back to index
6475# Hello World in SQL for Oracle
6476
6477SELECT 'Hello World' FROM dual;
6478sqlplus
6479Back to index
6480-- Hello World in Oracle SQL*Plus
6481
6482prompt Hello World!
6483SQL
6484Back to index
6485# Hello World in SQL
6486
6487SELECT 'Hello World';
6488SQR
6489Back to index
6490! Hello World in SQR
6491begin-program
6492 print 'Hello, World.' (1,1)
6493end-program
6494Squeak
6495Back to index
6496"Hello world in Squeak"
6497
6498Transcript show: 'Hello World'
6499Squirrel
6500Back to index
6501#!/usr/bin/squirrelsh
6502// Hello world in Squirrel
6503printl("Hello, world!");
6504SSI
6505Back to index
6506<html><body><p>
6507<!-- Hello world as Server Side Includes, embedded in HTML. -->
6508<!--#set var="hello" value="Hello, world!" -->
6509<!--#echo var="hello" -->
6510</p></body></html>
6511Stata
6512Back to index
6513/* Hello world in Stata */
6514
6515 .program hello
6516 1. display "Hello, World!"
6517 2. end
6518.hello
6519ST-Guide
6520Back to index
6521## Hello World for ST-Guide
6522
6523@node "Hello World!"
6524
6525Hello World!
6526
6527@endnode
6528Sucro
6529Back to index
6530Hello World in Sucro
6531{R}Hello World!{end}
6532SuperCollider
6533Back to index
6534// Hello World in SuperCollider
6535
6536"Hello, world!".postln;
6537SVG
6538Back to index
6539<?xml version="1.0" encoding="utf-8" standalone="no"?>
6540<!-- Hello World in SVG -->
6541
6542<svg width="240" height="100" viewBox="0 0 240 100" zoomAndPan="disable"
6543 xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
6544 <title>Hello World</title>
6545 <g>
6546 <text x="10" y="50">Hello World</text>
6547 <animate attributeName='opacity' values='0;1' dur='4s' fill='freeze' begin="0s"/>
6548 </g>
6549</svg>
6550Swift
6551Back to index
6552// Hello world in Swift
6553
6554println("Hello, world!")
6555Symsyn
6556Back to index
6557| Hello world in Symsyn
6558
6559 'hello world' []
6560szl
6561Back to index
6562# Hello world in szl
6563
6564$global msg {Hello, world!}
6565T9
6566Back to index
6567How to enter Hello World on a standard T9 numeric
6568keypad of an SMS-enabled mobile phone.
6569T9 predictive text has to be off.
6570
657144 33 555 555 666 0 9 666 777 555 3 11111
6572TACL
6573Back to index
6574Comment -- Hello World for TACL (Tandem Advanced Command Language)
6575
6576?tacl macro
6577
6578#OUTPUT Hello world
6579TAL
6580Back to index
6581! Hello world in Tandem TAL (Transaction Application Language)
6582 proc Hello^World main;
6583 begin
6584 int .term[0:12] := [ 12 * [ " " ] ],
6585 .out [0:19];
6586 string .sout := @out << 1, .sp;
6587
6588 call myterm ( term[1] );
6589 call open ( term[1], term );
6590if <> then call abend;
6591
6592sout := "Hello World" -> @sp;
6593 call write ( term, out, @sp-@sout );
6594if <> then call abend;
6595end;
6596Tcl
6597Back to index
6598#!/usr/local/bin/tclsh
6599# Hello World in Tcl
6600
6601puts "Hello World!"
6602TECO
6603Back to index
6604!Hello World in TECO
6605!The $ symbol below wouldn't actually be a printing character -
6606!it's the [escape] character, \u001b!
6607FTHello World$
6608TeX
6609Back to index
6610% Hello World in plain \TeX
6611\immediate\write16{Hello World!}
6612\end
6613Texinfo
6614Back to index
6615\input texinfo
6616@c Hello World for Texinfo
6617
6618@setfilename hello
6619@settitle Hello World
6620
6621@node Top, Hello, (dir), (dir)
6622
6623@menu
6624* Hello:: Hello World
6625@end menu
6626
6627@node Hello, , Top, Top
6628
6629Hello World!
6630
6631@contents
6632@bye
6633T
6634Back to index
6635; Hello world in T
6636
6637"Hello World!"
6638Thue
6639Back to index
6640Hello World in Thue. No comments possible.
6641a::=~Hello World!
6642::=
6643a
6644TI-59
6645Back to index
6646Hello world for the TI-59 with thermo printer. Comments are not part of the source code (not entered).
6647
6648 Code Comment
6649
6650 LBL A Start of program: label A
6651 OP 00 Clear the four print registers
6652 23 "H"
6653 17 "E"
6654 OP 02 Write into print register 2
6655 27 "L"
6656 27 "L"
6657 32 "O"
6658 00 " "
6659 43 "W"
6660 OP 03 Write into print register 3
6661 32 "O"
6662 35 "R"
6663 27 "L"
6664 16 "D"
6665 73 "!"
6666 OP 04 Write into print register 4
6667 OP 05 Start printing
6668 ADV Line feed (optional)
6669 R/S End program
6670TI-8x
6671Back to index
6672Hello World for TI 8x/9x basic (tested on a TI-83)
6673
6674:ClrHome
6675:Disp "HELLO WORLD"
6676TI BASIC
6677Back to index
667810 REM Hello World in TI BASIC
667920 REM for the TI99 series computer
6680100 CALL CLEAR
6681110 PRINT "HELLO WORLD"
6682120 GOTO 120
6683TI Extended BASIC
6684Back to index
668510 REM Hello World in Extended BASIC
668620 REM for the TI99 series computer
6687100 CALL CLEAR :: DISPLAY AT(10,5):"Hello World" :: ACCEPT AT(20,4):A$
6688TinyFugue
6689Back to index
6690;Hello World in TinyFugue
6691
6692/_echo Hello, World!
6693Tk
6694Back to index
6695#!/usr/local/bin/wish -f
6696# Hello World in Tk
6697
6698label .l -text "Hello World!"
6699pack .l
6700Toy
6701Back to index
6702# Hello World code in Toy Programming Language (generic way)
6703
6704<< "Hello World";
6705Trans
6706Back to index
6707// Hello World in Trans (Transmuter Programming Language)
6708import Console
6709Console.write("Hello World!")
6710troff
6711Back to index
6712\" "Hello, world!" in troff
6713
6714Hello, world!
6715TSO CLIST
6716Back to index
6717PROC 0
6718/* Hello World in TSO CLIST */
6719write Hello World!
6720T-SQL
6721Back to index
6722-- Hello World in T-SQL
6723PRINT 'Hello World'
6724Turing Machine
6725Back to index
6726Hello World as a Turing machine.
6727
6728State Read | Write Step Next state
6729---------------|---------------------------------
67301 empty | H > 2
67312 empty | e > 3
67323 empty | l > 4
67334 empty | l > 5
67345 empty | o > 6
67356 empty | blank > 7
67367 empty | W > 8
67378 empty | o > 9
67389 empty | r > 10
673910 empty | l > 11
674011 empty | d > 12
674112 empty | ! > STOP
6742Turing
6743Back to index
6744% Hello World in Turing
6745put "Hello World!"
6746TypeScript
6747Back to index
6748// Hello world in TypeScript
6749
6750alert('Hello world!');
6751Ubercode
6752Back to index
6753// Hello world in Ubercode
6754
6755 Ubercode 1 class Hello
6756
6757 public function main()
6758 code
6759 call Msgbox("Hello", "Hello World!")
6760 end function
6761
6762 end class
6763UniComal
6764Back to index
6765// Hello World in UniComal
6766
6767PRINT "Hello World"
6768Unix Shell
6769Back to index
6770# Hello world for the Unix shells (sh, ksh, csh, zsh, bash, fish, xonsh, ...)
6771
6772echo Hello World
6773unlambda
6774Back to index
6775# Hello World in unlambda
6776
6777`r```````````.H.e.l.l.o. .w.o.r.l.di
6778UnrealScript
6779Back to index
6780// Hello World for UnrealScript
6781
6782class HelloWorldHUD extends HudBase;
6783
6784simulated function DrawHudPassC (Canvas C)
6785{
6786 C.SetPos( 0.50*C.ClipX , 0.50*C.ClipY);
6787 C.DrawText("Hello World!");
6788}
6789
6790defaultproperties
6791{
6792}
6793Ursala
6794Back to index
6795# hello world in Ursala
6796
6797#executable&
6798
6799f = -[hello world]-!
6800Vala
6801Back to index
6802// Hello World in Vala
6803
6804using GLib;
6805
6806int main(string[] args) {
6807 stdout.printf("Hello world!\n");
6808 return 0;
6809}
6810var'aq
6811Back to index
6812(* Hello world in var'aq *)
6813
6814"Hello, world!" cha'
6815Vatical
6816Back to index
6817+ Hello World in Vatical
6818
6819LITURGY:
6820 PRAY "Hello World!"
6821AMEN.
6822VAX-11 Macro
6823Back to index
6824; Hello World in VAX-11 MACRO
6825
6826 .title hello
6827term_name: .ascid /SYS$INPUT/
6828term_chan: .blkw 1
6829out_iosb: .blkq 1
6830msg: .asciz /Hello, world!/
6831
6832 .entry start,0
6833
6834 ; establish a channel for terminal I/O
6835 $assign_s devnam=term_name,-
6836 chan=term_chan
6837 blbc r0,error
6838
6839 ; queue the I/O request
6840 $qio_s chan=term_chan,-
6841 func=#io$_writevblk,-
6842 iosb=out_iosb,-
6843 p1=msg,-
6844 p2=#13
6845 blbc r0,error
6846
6847 $exit_s ; normal exit
6848
6849error: halt ; error condition
6850
6851 .end start
6852VAX Macro
6853Back to index
6854Hello World in VAX Macro.
6855
6856 .title helloworld
6857 .ident /hello world/
6858;
6859 .library /sys$library:lib/
6860 $libdef
6861 $lib$routinesdef
6862
6863
6864 .psect $data,wrt,noshr,noexe,long
6865
6866hello: .ascid /Hello World!/
6867
6868 .psect $code,nowrt,shr,exe,long
6869
6870 .entry helloworld,^m<r9,r10,r11>
6871
6872 pushaq hello ; output the
6873message
6874 calls #1,g^lib$put_output ;
6875
6876 ret ; GTFOH
6877 .end helloworld ;
6878VBA (Excel)
6879Back to index
6880' Hello world in Visual Basic for Applications, Excel version
6881
6882Private Sub Workbook_Open()
6883 MsgBox "Hello world!"
6884End Sub
6885VBA (Word)
6886Back to index
6887' Hello world in Visual Basic for Applications, Word version
6888
6889Private Sub Document_Open()
6890 MsgBox "Hello world!"
6891End Sub
6892VBScript
6893Back to index
6894' Hello World in VBScript (Windows Scripting Host)
6895msgbox "Hello, World!"
6896Velato
6897Back to index
6898Hello world in Velato. The source code is this MIDI file, or the following score.
6899
6900Screenshot of source code
6901
6902Velocity
6903Back to index
6904<HTML>
6905<!-- Hello World in Velocity -->
6906<BODY>
6907 #set( $foo = "Hello World" )
6908 $foo
6909</BODY>
6910</HTML>
6911Verilog
6912Back to index
6913/* Hello World in Verilog. */
6914
6915module main;
6916
6917 initial
6918 begin
6919 $display("Hello, World");
6920 $finish ;
6921 end
6922
6923 endmodule
6924Vexi
6925Back to index
6926<!-- Hello World in Vexi. -->
6927
6928<vexi xmlns:ui="vexi://ui">
6929 <ui:box framewidth="200" frameheight="100">
6930 <ui:box text="Hello World!" />
6931 vexi.ui.frame = thisbox;
6932 </ui:box>
6933</vexi>
6934/<
6935VHDL
6936Back to index
6937--Hello World in VHDL
6938
6939ENTITY helloworld IS
6940END helloworld;
6941
6942ARCHITECTURE hw OF helloworld IS
6943
6944BEGIN
6945
6946ASSERT FALSE
6947REPORT "HELLO, WORLD!"
6948SEVERITY NOTE;
6949
6950END hw;
6951Vim script
6952Back to index
6953" Hello world in Vim script
6954
6955:echom "Hello world!"
6956Visual Basic
6957Back to index
6958REM Hello World in Visual Basic for Windows
6959
6960VERSION 2.00
6961Begin Form Form1
6962 Caption = "Form1"
6963 ClientHeight = 6096
6964 ClientLeft = 936
6965 ClientTop = 1572
6966 ClientWidth = 6468
6967 Height = 6540
6968 Left = 876
6969 LinkTopic = "Form1"
6970 ScaleHeight = 6096
6971 ScaleWidth = 6468
6972 Top = 1188
6973 Width = 6588
6974 Begin Label Label1
6975 Caption = "Hello World!"
6976 Height = 372
6977 Left = 2760
6978 TabIndex = 0
6979 Top = 2880
6980 Width = 972
6981 End
6982End
6983Option Explicit
6984Visual Basic 6
6985Back to index
6986' Hello World in Visual Basic 6
6987
6988Private Sub Form_Load()
6989Print "Hello World"
6990End Sub
6991Visual Basic .NET
6992Back to index
6993'Hello World in Visual Basic .NET (VB.NET)
6994
6995Imports System.Console
6996
6997Class HelloWorld
6998
6999 Public Shared Sub Main()
7000 WriteLine("Hello, world!")
7001 End Sub
7002
7003End Class
7004Visual FoxPro
7005Back to index
7006*Hello World in Microsoft Visual FoxPro 5-9
7007? "Hello World!"
7008Visual Prolog
7009Back to index
7010/* Hello World in Visual Prolog */
7011
7012goal
7013 console::init(),
7014 stdio::write("Hello World!").
7015VisualWorks Smalltalk
7016Back to index
7017"Hello World! in VisualWorks Smalltalk"
7018
7019Dialog warn: 'Hello World!'.
7020VMS-DCL
7021Back to index
7022$ ! Hello World in Digital Command Language for the VMS operating system
7023
7024$ WRITE SYS$OUTPUT "Hello World!"
7025VRML
7026Back to index
7027#VRML V2.0 utf8
7028# Hello World in VRML
7029
7030Shape
7031 {
7032 geometry Text
7033 {string "Hello World!"}
7034 }
7035VSL
7036Back to index
7037/* "hello, world" in VSL (the script language of Virtools),
7038to be used in a "Run VSL" building block */
7039
7040void main()
7041{
7042 bc.OutputToScreen("hello, world");
7043}
7044VVVV
7045Back to index
7046Hello World in VVVV
7047
7048Screenshot of program
7049Whenever
7050Back to index
7051/* Hello world in Whenever */
7052
70531 print("Hello world!");
7054Whirl
7055Back to index
7056Hello World in Whirl. This language has no comments.
7057
7058110001100111000111110000010001111100011000000000110000011100000110000010000
7059011000111100000111110000011100001111100100011001110000111111100001001111100
7060011000000000110000011000111110001000000000000000000001001111110000111111000
7061100000000000000000000000000011111000100100000000111111000100000000000001001
7062000011111000001110000111110010001100011000000100010000011000000000000000001
7063100000111001111100111111000100111001111000011100010011111110000111000110000
7064000000000000000000000000000001000100001111100000111000011111001100011100000
7065111000000010001111100000111110001000000000111000110000000000000000000000000
7066000000100100001111100000111000011100010000000000000100010000111110001110001
7067111100111111000011100001100111000111000000000001111100000111000110000110110
7068001000000000010000001111100000111000011111000000010001110000000000000000000
7069000000000000100000011111000001100
7070Whitespace
7071Back to index
7072Hello #World #in #Whitespace * # # * # # #
7073+ *[Space]
7074+ #is #marked #with"#" # #[tab] #with"*" *line-feed #with #"+" * # *so
7075+it #would
7076+be #easier #to #write #again... #All *the *non-whitespace-characters #are *ignored... * # #
7077+ *
7078+ # # # # # * * # * * # #
7079+ *
7080+ # # # # # * * # * * * *
7081+ *
7082+ # # # # # * # # # # #
7083+ *
7084+ # # # # # * # * # * * *
7085+ *
7086+ # # # # # * * # * * * *
7087+ *
7088+ # # # # # * * * # # * #
7089+ *
7090+ # # # # # * * # * * # #
7091+ *
7092+ # # # # # * * # # * # #
7093+ *
7094+ # # # # # * # # # # *
7095+ *
7096+ # # # # # * # * #
7097+ *
7098+ # #
7099+
7100+
7101+
7102wml
7103Back to index
7104# Hello World in Wesnoth Markup Language (wml)
7105#define HELLOWORLD
7106 [message]
7107 speaker="narrator"
7108 message=_"Hello World"
7109 [/message]
7110#enddef
7111Wolfram
7112Back to index
7113(* Hello world in Wolfram Language *)
7114
7115CloudDeploy["Hello World"]
7116WSH
7117Back to index
7118// Hello World for the Windows Scripting Host
7119WScript.Echo("Hello World!");
7120Xbase++
7121Back to index
7122Hello World in Xbase++
7123func Main()
7124 Qout("Hello World!")
7125return 1
7126xblite
7127Back to index
7128' Hello World in xblite, Windows GUI mode
7129
7130 IMPORT "gdi32"
7131 IMPORT "user32"
7132
7133DECLARE FUNCTION Entry ()
7134
7135FUNCTION Entry ()
7136 MessageBoxA (0, &"Hello World!", &"Hello World Window", $$MB_OK)
7137END FUNCTION
7138END PROGRAM
7139XHTML
7140Back to index
7141<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
7142<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
7143 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
7144<!-- Hello World in XHTML -->
7145<html
7146 xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
7147 <head>
7148 <title>
7149 Hello World!
7150 </title>
7151 </head>
7152 <body>
7153 <h1>Hello World!</h1>
7154 </body>
7155</html>
7156XLogo
7157Back to index
7158#Hello World in XLogo
7159
7160to helloworld
7161 resetall
7162 hideturtle
7163 fd 20 left 180
7164 fd 40 left 180
7165 fd 20 right 90
7166 fd 20 left 90
7167 fd 20 left 180
7168 fd 40 left 90
7169 fd 20 left 90
7170 fd 20 right 90
7171 fd 20 right 90
7172 fd 10 right 90
7173 fd 20 left 90
7174 fd 10 left 90
7175 fd 30 left 90
7176 fd 40 left 180
7177 fd 40 left 90
7178 fd 20 left 90
7179 fd 40 left 180
7180 fd 40 left 90
7181 fd 40 left 90
7182 fd 20 left 90
7183 fd 20 left 90
7184 fd 20 left 90
7185 fd 60 left 90
7186 fd 40 left 180
7187 fd 40 left 90
7188 fd 20 left 90
7189 fd 20 left 180
7190 fd 20 left 90
7191 fd 20 left 90
7192 fd 40 left 180
7193 fd 40 left 90
7194 fd 40 left 90
7195 fd 20 left 90
7196 fd 20 left 90
7197 fd 20 left 90
7198 fd 40 left 90
7199 fd 20 right 90
7200 fd 20 right 90
7201 fd 5 left 90
7202 fd 5 left 90
7203 fd 25 left 180
7204 fd 40 left 90
7205 fd 40 left 90
7206 fd 20 left 90
7207 fd 20 left 90
7208 fd 20 left 90
7209 fd 20 left 90
7210 fd 40 left 180
7211 fd 40
7212end
7213XPL0
7214Back to index
7215\Hello World in XPL0
7216code Text=12;
7217Text(0, "Hello World!
7218")
7219XQuery
7220Back to index
7221(: Hello World with XQuery :)
7222let $i := "Hello World"
7223return $i
7224XSL-FO
7225Back to index
7226<?xml version="1.0" encoding="utf-8"?>
7227<!-- Hello World in XSL-FO -->
7228<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
7229 <fo:layout-master-set>
7230 <fo:simple-page-master master-name="LetterPage" page-width="8.5in" page-height="11in">?
7231 <fo:region-body region-name="PageBody" margin="0.7in"/>
7232 </fo:simple-page-master>
7233 </fo:layout-master-set>
7234 <fo:page-sequence master-reference="LetterPage">
7235 <fo:flow flow-name="PageBody">
7236 <fo:block font-size="12pt" font-family="courier">Hello, World</fo:block>
7237 </fo:flow>
7238 </fo:page-sequence>
7239</fo:root>
7240XSLT
7241Back to index
7242<?xml version="1.0" encoding="UTF-8"?>
7243<!-- Hello World in XSLT -->
7244<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
7245 <xsl:template match="/">
7246 <xsl:text>Hello World!</xsl:text>
7247 </xsl:template>
7248</xsl:stylesheet>
7249X++
7250Back to index
7251// Hello World in X++ (Microsoft Axapta)
7252
7253class classHelloWorld
7254{
7255}
7256
7257static void main(args Args)
7258{
7259 dialog dialog;
7260 ;
7261 dialog = new dialog();
7262 dialog.addText("Hello World!");
7263 dialog.run();
7264}
7265Yacas
7266Back to index
7267Hello World in Yacas
7268
7269WriteString("Hello World")
7270Zig
7271Back to index
7272// Hello world in Zig
7273
7274const io = @import("std").io;
7275
7276pub fn main(args: [][]u8) -> %void {
7277 %%io.stdout.printf("Hello, world!\n");
7278}
7279ZIM
7280Back to index
7281% Hello World in ZIM (database and development language)
7282
7283out "Hello World"
7284μλ
7285Back to index
7286// Hello world in μλ
7287
7288> EEEEEEEΔΔΘς v
7289v ςΘΔEEEEEEEEEE <
7290> EEEEEEEEEEEδδΘς v
7291v ΘδδEEEEEEEEEEEς <
7292> ς EEEEEEEEEEEΔΘ v
7293v ΘΔΔΔΔEEEEς <
7294> ςEEEΔΔΘ v
7295v ΘδEEEEEEEEEEEEς <
7296> ςEEEEEEEEEEEΔΘ v
7297v ΘΔΔΔΔEEEEEEEEEEEς <
7298> ςEEEEEEEEEEEδδΘ v
7299v ΘEEEEEEEEEEς <
7300> ςEEEΔΔΔΘ λ
7301Credits And Sources
7302Programs were contributed by (in chronological order):
7303
7304Wolfram Rösler: Founder and maintainer of the Collection — Reinhard Hamann: Prolog, Lisp, 68000 Assembler (Atari) — Malte Schiphorst, Gino Lucrezi: Pascal — Stefan Radermacher: TeX — Marcus Schmidke: Occam, MSDOS batch, Intel Assembler, 6502 Assembler (C64) — Ralf Lenz: Fortran IV, VMS DCL — Marc Van-Woerkom: C++ — Thomas Menschel: 68008 Assembler — Heribert Otten: Cobol, PL/1 — Thomas Piske: BS2000 batch — Thomas Preymesser: Pocket calculator — Adrian Nye & Tim O'Reilly: X11-Athena — Udo Halfmann: ELAN — Pedro Martin, Rodrigo Cacilhas: Portuguese — Stefan Llabres: Postscript — Volker Wurst: Smalltalk — Dirk Theisen: Oberon (standard OS) — Georg Bauer: Rexx (simple version), Erlang, SML, Snobol, Setl2, CAML light — Michael Glaesner: Perl, awk — Peter Gummer: Eiffel — Markus Omers: Presentation Manager — Thomas Dorner: SPL4 — Jochen Kunz: Rexx (window version), HP-48 — Sascha Bendinger: Dylan — Steffen Pohlen: Visual Basic, Gofer (dialog) — Andreas Dierks: Algol-60, Algol-68, Fortran, Fortran-77, dBase IV, Logo — Klaus Mueller: TSO CLIST, OPL — Jens Kilian: Self — Martin Uebing: Intuition — Andreas Maeder: Borland Pascal 7 — Stefan Brozinski: Windows, HP-41C — Jens Schaefers: Beta — Wolfgang Houben: PDP-11 Assembler — Pascal Costanza: Oberon (Oberon OS) — Martin Oefelein: Sather, GynkoSoft — Ralf Unland, Claudio Larini: TI-59 — Dan Sanders: English translation of TI-59 program — Stefan Rupp: Java — Werner Huber: Informix 4GL — Lutz Heitmann: Turing machine — Federico Hernandez-Püschel: HTML — Gunter Baumann: NewtonScript — Torsten Landschoff: ST-Guide — Florian Erhard: Gofer (simple) — Niels 'Frolic' Froehling: 68000 Assembler (Amiga) — Michael Sievert: Rexx — Andy Newman: ici — Sammy Mitchell: SAL — Ian Trudel: Icon, Objective C — Chris Locke: Limbo — Victor Koenders: BrainF*** — Bora Bali: Assembler IBM 370, IBM Exec, IBM Exec2, ASP (VB-Script and JavaScript), Java Servlet, Turkish, Italian — Neil L. Burman: VAX Macro — Yushin Washio: XHTML — Roel Adriaans: PHP — Ad Boerma: TI-8x/9x, PHP — Paulo Tanimoto: Haskell — Monwar: Bengali — Wolfgang Teschner: Python — Joel Dimbernat: Rebol-view — Todd Nathan: SenseTalk — Heiko Berges: BCPL, ABAP/4, Focal, B, MACRO10 — Carlo Keil: Profan — Bruno Bord: French — Andreas Meinl: C++ (Qt) — Mikael Brandström: Pike — Mariano Corsunsky: Spanish — Larisa Tkachenko, Leandro: PL/SQL — Thomas Fromm: Java Server Pages — Josha Munnik: Shakespeare, Java-Mobile — Fredrik Sandebert: REALbasic — NYYRIKKI: Z80 Assembler for consoles — Simen Schweder: Norwegian — Jeroen Vandezande, Christian Petri, Aux: Delphi — Rodrigo Missiaggia: lua — Dr. Markus Mohnen (c't 25/2003, p. 243): Clean — Egil Groenn: Simula, Norwegian — Nina Cording: Actionscript, Lingo — Stuart Soffer: Mumps — Petri Heikkonen: Whitespace — Marco Pontello: Redcode — Gunnar Jutelius: AXEL — James Robinson: BAL — Krzysztof Szymiczek: Logo (graphical) — Ralf Steines: Amiga-E — Arpadffy Zoltan: OpenVMS DCL — Karlheinz Kronauer: Natural — David Rutter : Spiral — Sanath Kumar.S: Verilog — Jonas Braathen (command line version): mIRC — David Clesse: POV-Ray — Peter Hans van den Muijzenberg: Dutch, Frisian, ZX81-Assembler — Gilson do Nascimento D'Elrei, Rafael Sartori (fixed): Clipper — Marcos Diez: Octave — Mathias P. Grädler: PureBasic — Alan Eliasen: Frink — Thomas Marcks von Würtemberg: Q-Basic — Pan Yongzhi: Shell scripts — Tynan Sylvester: UnrealScript — Christian Klauser: Command Script — Eric Gauvin: DynaMorph — Daniel Monteiro: Brazilian Portuguese — Tom Demuyt: Judoscript — Pawel Dobrzycki: bc — David Peterson: SIMPLE (submitted by Barry Hitchings) — curian: MSIL — BENI Andras: VRML — Fatty fatty: SQL — Deepak D: Progress — Paul Tingle: POP-11 — Istvan Szapudi: OCaml — Jason H. Jester: ratfor — Jason: SQL (Advantage) — Steve Gwilt: TAL — Hynek (Pichi) Vychodil: dc — Petr Adamek: Java (Swing GUI) — David Howell: XSL-FO — Robert McNally: Mathematica — Libor Tvrdik: XSLT — Andrej Krivulcik (The Fox): Slovak — Wikipedia (submitted by Petr Simek): Inform — Jashin Eugene: Windows Scripting Host — A.Shulga: C++ Epoc — Lokshin Mark: PowerScript — Andrey Grigoriev: 1C:Enterprise — Roman Truschev: RSL — Alex Badarin: Gentee (normal and simple version) — Laurent Tonnelier: SVG — Sascha Welter: AppleScript — Aaron Duley: LabVIEW — Andrey V. Sokolov: Russian — Dennis Melentyev: Ukrainian — George D: MIPS Assembler, Visual FoxPro — Shawn Lucas: G Code — Sandor van Voorst: TACL — Stephen Stainless: TI BASIC, TI Extended BASIC — Joan Puigcerver: Catalan — Eugene Ivanov: Win32 Assembler — Darren Debono: VP Assembler — simXa: MAMASH, Hebrew — Tom Kaitchuck: Nice — Jozef Knepp: DML — Per "Muusu" Lindstrand: MATLAB, MDP, QuakeC — Larry Burton: Forth — Doug Gwyn: troff, MACRO-11 — John Bito: TECO — John Park: MEL — Yutaka Kachi, Hiroe Shibata, Dario: Japanese — Marcelo Toledo: Emacs Lisp — josh.go: Regular expression — Ric Ford: HyperTalk — Erik Hansen: Cocoa Obj-C — Wesley Cabral: Dataflex Procedural — Klaus Bailly: Finnish — Steven Fisher: Prograph — Steve Ardis: Groovy — Francisco Fernandez: IDC, ASP-VBE — Lukas Jaun: Assembler (MMIX) — Hemant Dabral: PDF, RealText, SMIL — Vasil Bachvarov: Bulgarian — Alexander Toresson: Euphoria — flyingboz: AutoIT3 — Jose Taonga: Malagasy — Olivier "oliv3" Girondel: Erlang (fixed) — Grog Grueslayer: Darkbasic — Toby Thain: VAX-11 Macro, Assembler (PDP-8), Assembler (DG Nova) — E.S. van der Meer: Elliott Autocode — Morten Wegelbye Nissen: Danish — Marian Bonda: qore — Zeal Li: Chinese — Farid Effendiyev: Azeri — Morten Lehrman: Ingres ABF — Vadim Konovalov: PL/1 (fixed) — Nikolay Malakhov: sqlplus — Seth Johnson: ColdFusion — Alexander Bogdanov: REFAL-2, MuLisp — Michael Boyarsky: Console Postscript — Vassili Goussakov: Macromedia Flex — Chris Leung: SilverBasic — Iker Mancenido: Basque/Euskara — Zoltan Arpadffy: Hungarian, Serbian, Bosnian, Croatian — Randy Sugianto: Indonesian — Clint Dalrymple: Fjölnir — Michail Michailidis: Greek — Marat Buharov: C/AL — Juan Carlos Castro y Castro: Asterisk — Markus Schmaus: Ruby — Henrik Bengtsson: R, S-Plus — Jeffrey Creem: Ada — Nathan Keir: LSL — Michal Nowakowski: Polish — Marko Meza: Slovenian — Vasile V. Alaiba: Romanian — Lorenz Schallinger: Visual Basic .NET — Jack Doerner: Liberty BASIC — Diptesh Ghosh: LaTeX, Maple — Thomas Mertes: Seed7 — Sam Birch: SApp — Cindi Knox: mIRC (script and alias versions) — Thomas Kilgore: unlambda, Ook, m4, Jako — Laurent Schneider: XQuery — Hovik Melikyan: Armenian — Sudarshan HS: Kannada, Hindi — Rusak Maxim: Kylix — Evgeniy Polkin: HQ9+, HQ9++ — Wikipedia: Piet — Paulius Maruška: Lithuanian — R Shanmuga Sundaram: Tamil — Shaikh Sonny Aman: Ferite — #x: Belarusian — Anton Balabanov: SPSS — Sascha Wilde: Argh! — Mike Quigley: T-SQL — Andrej Popov: Omnimark — Amy de Buitleir: Irish — Leszek Godlewski: MoHAA Script — Don Higgins: IBM z390 Assembler, High Level Assembler — Eric Bergman: FOCUS — IaRRoVaWo: Galician — Rudolfs Eglitis: Latvian — Richard Leggett: ActionScript 2.0 (Flash 8) — Max Wolf: VVVV — Nanci Naomi Arai: IDL, Fortran 90 — Libor Tvrdik: Velocity — Jose Miguel Robles Roman: LOTOS — Hyeonseok Shin: CSS — Glaucio Melo: Io — Daniel Campos: Gambas — Uwe Eichler: LIMS Basic — Robert Follett: Microtik Router OS — Jacob Krebs: LS-DYNA — Donna-n-Doug Finner: Lotus Note Formula Language — Nils Rekow: Nullsoft Software Install Script (NSIS) — Atanas Boev: 6502 Assembler (Apple II) — hiphapis: PHP + GD library — Rodrigo B. de Oliveira: Boo — Dan E. Kelley: Gri — Kasper Fehrend: Lotus Script — Tjibbe Rijpma: PostgreSQL — Andrew Cooke: Malbolge — Ebben Feagan: FreeBASIC — Eyal Ronel: LilyPond — Jonathan R.: AutoHotkey — Alyn Ashworth: Welsh — Jalal Noureddine: Arabic — Lucas Lucas: Blitz Plus — Kalman Zsoltai: Centura — Archville: Toy — Gõsi Csaba: Hungarian (fixed) — Alberti István: PBASIC — Drake Guan: Pawn — Jorge Monasterio: Esperanto — Brett Sinclair: Alpha Five Xbasic — Neil Croft: Powerbasic — RPG GAME: GML — Tomas Lindquist Olsen: D — Craig Bennett: Databasic, PQN/PROC — Sindri Snaer // Zn0w: Icelandic — Mart: easm — Misgana Ambissa: amharic — David Simpson: Mouse — Andrew Jones: C++/CLI (.NET) — Guy Lonne: xblite — Andreas Öberg: MAXScript — Laureta Asllani: Albanian — Edmanuel Torres: C++-FLTK — Josef Betancourt: Powershell — Dileep R: Malayalam — Bruce V Chiarelli: Hmong — JP Theberge: wml — Jonathan Bergeron: Google Gadget — Nicolaj Christensen: LOLCODE, VHDL — Jürgen Jung: Visual Works Smalltalk — Simon James Kearon: Bemba — Silvano Riccio: XSLT — Chris de Almeida: K&R's original Hello World program — Shahram Monshipouri: Persian — Soren Dalsgaard: MML for AXE10 — Peter Furlan: Trans — Christoph Salomon: SQL (DB2) — Zoltan Adamek aka Scorchio: Max/MSP — Sam Hart: Assembler for Darwin PPC, Hawaiian — Robert Bird: PPL — Xooxer Xoox: DM — Don Reba: Nemerle — Bruno VARON: CLP — Benjamin Webber: Turing — Enrique Ferreyra: Clarion — pelikoira: CoolBasic — Lars Burgstahler: Chef — acm: OpenGL — Garen Arevian: E — Robert Resetar: ZIM — Matthew L. Fischer: Assembler (Itanium and PA-RISC) — Steve Roper: Mobile Phone — Francisco Cabrita: VSL — Andrew Platt: APC — Chris Thornhill: CYBOL — Paul Gafa: Maltese — Frank Hartmann: PEARL — Normann Nielsen: Powerflex — Arturo Olguin Cruz: Pro*C — James McMurrin: Iptscrae — Martijn Lievaart: BIT — Ingmar Steiner: PRAAT — James Landis: UniComal — J A: ARM assembler — Giovanni Ferranti: GRAMophone — John Camara: Scheme (fixed) — Yiwei Xu: VBScript — Jan Krohn: Latin — Steven Kazoullis: RPL, Filemaker Script — Darren Debono: C for Amiga Anywhere — Juan Pablo Espinosa: Miva Script — Tony G., Keymaker: Befunge — Dave Parker: Flaming Thunder — Lutz Mueller: newLISP — Greg Douglas: GameMonkey Script — Dan Phan: Vietnamese — Dennis Furey: Ursala — Paulo Tanimoto: Tagalog — Henrique Dante de Almeida: C++-gtkmm — Kim Nguyen: CDuce — Al Koury: 4Test — Hubert Bielenia: AviSynth — Dave Carmichael: DCL — Keith Forsythe: PeopleCode — Jonathan Taylor: Action! — Jason Rogers: ICL SCL — Harald Massa: Python 3000 — Patrice Blancho: Thue, FALSE — Angus Strong: JADE — Geoff Canyon: J — Angel David Reyes Figueroa: NXC — Daniel Hugenroth: Casio BASIC — Jose Antonio Chacon: ActionScript 3 — Olivier Rossiny: Vala — Artur Gajowy: Scilab — Morgan Dell: Rational Rose — Kenneth Vanhoey: Luxembourgish, Lisaac — Eunice Ndungu: Kiswahili, Kikuyu — The Happy Hippy: PICAXE BASIC, Spin — Veselov Ilya: C# — Poon Poon: F# — James Irwin: REBOL — Ronaldo Lachenal: Maximus BBS — Mike Wessler: Quartz Composer — Paulo Lima: Xbase++ — Y R U 2 L8: K — Fabian Andres Chara Parra: SQR — Database Consulting Group: D4 — Bruno Kenj: ASP.NET — Chase Peeler: XLogo — eNTiDi di Fontana Nicola: MetaPost — Roman Stumm: Smalltalk MT — Diego Charles: Jess — Renan Caldeira: BMC Remedy — Jomi Hubner: Jason — Charles Goodwin: Vexi — Paulo Dionisio Coelho: Kix — Tim Cas: Arena — Charlie Nolan: MOO — Wacek Kusnierczyk: OZ — Nicholas Kingsley: BlitzMax — Tijs van Bakel: Intercal — Za3k: Scheme — Adam Majewski: Maxima — Florian Jenett: Processing — Vlad Albulescu: Cool — James Kingsley: GLBasic — Tom Ragle: BuddyScript — Ben Aceler: Parser — Marcio Automatiza: Assembler (8051) — Robert Gosling: CICS COBOL — Vijaye Raji: MS Small Basic — Yoav Krauz: Byte Syze — Martin Bishop: Modula-3 — Pawel Baszuro: Rey — Brian Tiffin: Falcon — Love Grönvall: AMOS — Andrei Bautu: BibTex — Guy Selis: Caché Object Script — Nigi: LPC — Makc (and many others): Go — Julio Wittwer: ADVPL — ellvis/Zeroteam: Sinclair Basic — Mark Hagenau: TinyFugue — Eliezer Basner: JCL — aurele: Mythryl — Larry Soule: QR code image — Nathan Christiansen: Cherokee — Francesco Di Filippo: Guile, Squirrel, AngelScript — Gero Zahn: SSI — Nataniel López: MDM Zinc — Nathapon Vaiyavuthipinyo: Thai, Lao — Claudio Larini: ERRE — Seungho Seo: Node.js — Michael V: CoDScript — Jiyoung In: MySQL FUNCTION, Korean — Mads Ohm Larsen: Elixir — /u/geocar: Hoon, and lots of fixes — Frank Burnham: Clojure — chris s: Elm — Stefan Holm: VBA (Excel and Word), Draco, Scratch, Haxe, TypeScript, make — /u/SagetBob: Scala — Adam Johnston: ACPI Source Language — Daniel Temkin: Velato — Herbert Breunung: Perl 6 — Daniël Minnaar: Julia, Afrikaans — Jon Paris: RPG IV — Ingemar Ragnemalm: CUDA — Isaac: Symsyn — Ilia Mikhnevich: BrightScript — Alan Yeung: CA-Easytrieve Plus — Jeff Tomich: cpl — Pouya Kary: Arendelle — Basix: aheui — Paul Koning: Electrologica X1 and X8 — Zachary Smith: Arduino — Donald Fisk: Full Metal Jacket — Erik Svedäng: Carp — Mike Finn: Matrix — Lambert Meertens: ABC — Bacco: Harbour — Rolf Huisman: SPARC Assembly Language — /u/farias0: Portugol — Dave Kilroy: LiveCode — Leon (Yinliang) Wu: SAS — Marco Pontello: Z80 Assembly for CP/M — Akash Issar: Stata — Kate Go: MCSBL — Aleksey Rakov: ELENA — Andreas Bjørn Hassing Nielsen: JavaScript — Andreas Wiegenstein: BSP — Ron Aaron: 8th — Jesús Cuerda: Genie — LegionMammal978: Lojban — Ahmed Abdalla: Noor — Joel Bryan Juliano: Bato — Chris Huryn: Splunk SPL — Lutz Haselof: ConTeXt — Peter Bauer: 4D — Robert Weißenfels: BitZ — John D. Gwinner: React-VR — Fiosaiche: Scots Gaelic — Ilya Savistsky: Kumar — Marco Bambini: Gravity — Rainard Buchmann: TAS Assembler for TR 440 — Err Enchagaray: Marmelade — Mathew R. Rumsey: Genero BDL — Chris Gray: MPLAB IDE — Err Enchagaray, Семён Белый, Azumi Tanaka: Loli — Yves Charton: HP-85 assembler — Adam Ridemar: Swedish — Aaron Liu: AsciiDots
7305
7306Programs were taken from these Internet sources:
7307
7308ACS — Agda — Amazon States Language — Andl — Anguish — ARM assembly — Batsh — C* — Ceylon — ChaiScript — Coconut — CoffeeScript — Dafny — Emojicode — Ezhil — Eve — Fennel — Fetlang — Gosu — Hack — Have — Hubot — Idris — Imba — Janet — JSFuck — Kitten — Kotlin — Latino — Lily — Linotte — LLVM — μλ — Nit — ParaSail — Picat — Pharo — Punyforth — Qalb — QCL — Quorum — Rapira — rhine — SAKO — Sawzall — Several human languages — Shen — Skip — SPARC Assembly — Spry — Squeak — szl — Ubercode — Zig
7309
7310Hello World Links
7311About Hello World
7312The Wikipedia article about Hello World programs.
7313A discussion about the origin of the "hello world" phrase.
7314How the way people code "Hello World" varies depending on their age and job from the GNU Humor Collection.
7315Analyzing the Hello World program to death.
7316More Hello World Programs
7317A github repository collecting Hello World programs.
7318Another collection of Hello World programs, seemingly discontinued.
7319A Wiki with some interesting languages and additional information.
7320Hello World in 180+ esoteric programming languages.
7321A Wiki with some interesting languages and additional information.
7322The GNU Hello project, a sophisticated C implementation of the Hello World program.
7323A famous polyglottal Hello World program that runs in Cobol, Pascal, Fortran, C, Postscript, sh, Perl and x86 machine language.
7324Another polyglottal Hello World program that runs in C, Perl, Brainf*ck and Whitespace. Submitted by Raphaël Bois.
7325Contests about writing obfuscated Hello World programs: one from 2011, another one from 2014.
7326"Hello world" in BCPL on the Xerox Alto simulator.
7327The Hello World Quiz: Can you name the programming language based on its Hello World syntax?
7328Other Ways To Say Hello World
7329Hello World in Semacode, written in a wheat field.
7330A collection of Hello and other greetings in hundreds of human languages.
7331A paper poster of the Hello World collection.
7332A quiz game about guessing programming languages from Hello World programs.
7333#TGIQF - the programming language quiz, by heise online (German).
7334Hello World in C, hand-written and autographed by Brian Kernighan in 1978
7335About This Collection
7336A video explaining how the Hello World Collection is built and maintained.
7337An interview about background and history of the Hello World Collection, from the June 2014 edition of the Italian online magazine "Notas y Reflexiones".
7338The oldest known version of the Hello World Collection (January 1996), and probably one of the first ones that were published on the Internet.
7339The oldest version of the Hello World site in the Internet Archive (March 2000, 94 programs).
7340The History of the Hello World Collection
7341The Hello World Collection was started on 3-Oct-1994 as a simple text file. After some posts on a German BBS network, it was put on the World Wide Web on 30-Dec-1999 as part of a private homepage. On 14-Sep-2014 it moved to its own domain, helloworldcollection.de, by which time it had accumulated 21 Reddit points, 35 LinkedIn shares, 156 Google Plus's, 450 Tweets, and 1947 Facebook likes. It got its own Twitter account, @HelloWorldClctn, on 31-Jan-2015.
7342
7343The Collection exceeded 200 entries on 14-Jul-2005, 300 on 6-Dec-2006, 400 on 27-Jul-2008, and (after a four-year hiatus which ended in 2014) 500 on 27-Dec-2015.
7344
7345The Collection is administered as a bunch of text files which are compiled into this single HTML file by a bash script, originally written for Linux, then used under Cygwin on Windows, then for several years on macOS, now on Linux again.
7346
7347By the way, this site is the original Hello World Collection. Throughout the Web, you can find many copies of various versions of this file, not all of which give proper credit to those who compiled and contributed to it over the years. The official address of the Hello World Collection is helloworldcollection.de.
7348
7349Terms Of Service
7350The Hello World Collection is a static page with no active contents. It doesn't have any scripts, cookies, ads, trackers, Facebook links, or anything else that might poke around in your private parts. It doesn't track or record your IP address beyond what's required by the Internet protocols to deliver static content to your browser. You don't have to log in, register, pay, or sell your soul in order to use it. Just browse it, read it as long as you wish, leave when you're done. Feel free to send feedback to info@helloworldcollection.de.
7351
7352Contact
7353The Hello World Collection was founded and is maintained by Wolfram Rösler. You can find me by E-Mail, on Twitter, on Mastodon, on LinkedIn, on GitLab.
7354
7355Valid HTML 4.01 Transitional