The Hello World Collection

"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:

main() { printf("hello, world

"); }

Since then, Hello World has been implemented in just about every programming language on the planet. This collection includes 603 Hello World programs in as many more-or-less well known programming languages, plus 78 human languages.

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

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

Click here for a list of all contributors and other sources.

Click here for related links.

Click here for brief history of the Hello World Collection.

Support the KDE Education Project with our exclusive Hello World merchandise — T-shirts, mugs and more!

Last update: Aug 20, 2020.

Index

The latest additions are shown in bold.



… قلب μλ

# 1C-Enterprise 4D 4Test 8th

A ABAP4 ABC ACPI Source Language ACS Action! Actionscript (Flash 5) ActionScript (Flash 8) Actionscript (Flash MX) ActionScript 3.0 Ada ADVPL Agda aheui Algol-60 Algol-68 Alpha-Five-Xbasic Amazon States Language amharic Amiga-E AMOS Andl AngelScript Anguish Ansible 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

B B BAL BASIC-PICAXE BASIC Bato Batsh bc BCPL BeanShell Beef Befunge Beta BibTex Binary Lambda Calculus BIT BitZ Blender BlitzMax BlitzPlus BMC Remedy Boo Brainfuck BrightScript BS2000 BSP BuddyScript Buzz Byte Syze

C C* C/AL C♯ C (Amiga Anywhere) C (ANSI) C (Curses) C (GEM) C (Intuition) C (K&R) C (OpenGL) C (PresentationManager) C (Windows) C (X11 Athena) C++ C++ (.NET CLI) C++ (Epoc) C++ (FLTK) C++ (Gtk++) C++ (ISO) C++ (MFC) C++ (Qt) CA-Easytrieve Plus Caché Object Script CAML-Light Carp Casio BASIC CDuce Centura Ceylon ChaiScript Chef Chicken CICS-COBOL Clarion Clean Clipper Clojure CLP CMake COBOL Cobra Cocoa Coconut CoDScript CoffeeScript ColdFusion CommandScript Common Lisp Console Postscript ConTeXt Cool CoolBasic cpl Crystal CSS CUDA CWEB CYBOL

D D D4 Dafny Darkbasic Dart Databasic Dataflex dBase dc DCL Delphi Dialect DM DML Draco DWIM Dylan DynaMorph

E E easm Ecstasy Ecstatic Eiffel Elan ELENA 3.0 ELENA 4.0 Elixir Elliott Elm Emojicode Emoticon EOS 2 Erlang ERRE Eta Euphoria Eve Ezhil

F F# F Falcon FALSE Felix Fennel Ferite Fetlang Filemaker Fjölnir Flaming Thunder Focal FOCUS Folders Forth Fortran Fortran77 Fortran90 FortranIV Fortress FreeBASIC Frink Full Metal Jacket

G G-code Gambas GameMonkey Script Genero BDL Genie Gentee-simple Gentee GLBasic GML Go Gofer GoogleGadgets Gosu GRAMophone Gravity Gri Groovy Guile GynkoSoft

H Hack Harbour Haskell Have Haxe HDX HolyC Hoon HP-41C HP-48 HQ9+ HTML Hubot Human HyperTalk

I IBM-Exec IBM-Exec2 ici ICL SCL Icon IDC IDL Idris Imba Inform Informix 4GL Ingres ABF InstallScript Intercal Io Iptscrae

J J Jade Jako Janet Jason Java Java (Mobile) Java (Servlet) Java (Swing) Java Server Pages JavaScript JCL Jess Jorf JSFuck JudoScript Julia

K K K3 K4 K5 Kitten Kix Kotlin Kumir Kylix

L LÖVE L L33t LabVIEW Lasso LaTeX Latino LibertyBASIC Lily LilyPond Limbo LIMS Basic Lingo Linotte Lisaac Lisp-Emacs LiveCode LLVM Logo Logo (graphical) LOLCODE Loli LOTOS Lotus Note Formula Lotus Script LPC LS-DYNA LSL Lua

M m4 MACRO-10 MACRO-11 Macromedia-Flex MAD make Malbolge MAMASH Maple Marmelade Mathematica MATLAB Matrix MAX-MSP Maxima MAXScript MCSBL MDM Zinc MEL MetaPost MEX Microtik MiniScript mIRC-Alias mIRC-Commandline mIRC-Script MivaScript MML-AXE10 Modula-2 Modula-3 MoHAA-Script MOO Mouse MPD MPLAB IDE MS Small Basic MSDOS MSIL MuLisp Mumps MySQL FUNCTION Mythryl

N Natural Nemerle newLISP NewtonScript Nice Nim Nit Node.js Noor NSIS NXC

O Oberon.oberon Oberon.std Objective-C OCaml Occam Octave Omnimark Ook OpenVMS OPL.dialog OPL.simple Oz

P ParaSail Parser Pascal (Windows) Pascal Pawn PBASIC PDF PEARL PeopleCode Perl Perl 6 Pharo PHP+GD PHP Picat Piet Pike PILOT PL-SQL PL1 Plankalkül Pocket Calculator POP-11 Portugol PostgreSQL Postscript POV-Ray Powerbasic Powerflex PowerScript Powershell PPL PQN-PROC PRAAT ProC Processing Profan Prograph Progress Prolog Punyforth PureBasic (Console) PureBasic (Messagebox) PureBasic (Window) Python 2 Python 3

Q Q Qalb QCL qore QuakeC Quartz Composer QuickBASIC Quorum

R R Racket Rapira ratfor Rational Rose React-VR REALbasic RealText Reason Rebol-view REBOL 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 Ruby Rust

S S-Plus SAKO SAL SApp SAS Sather Sawzall Scala Scheme Scilab Scratch Seed7 Self SenseTalk Setl2 Shakespeare Shen SilverBasic SIMPLE Simula SinclairBasic Skip Smalltalk (simple) Smalltalk (window) Smalltalk MT SMIL SML Snobol Spin Spiral SPL4 Splunk SPL Spry SPSS SQL (Advantage) SQL (DB2) SQL (Oracle) SQL sqlplus SQR Squeak Squirrel SSI ST-Guide Stata Sucro SuperCollider SVG Swift SyMAL Symsyn szl

T T-SQL T T9 TACL TAL Tcl TECO TeX Texinfo Thue TI BASIC TI Extended BASIC TI-59 TI-8x TinyFugue Tk Toy Trans troff TSO CLIST Turing Machine Turing TypeScript

U Ubercode UniComal Unix Shell unlambda UnrealScript Ursala

V Vala var'aq Vatical VAX Macro VAX-11 Macro VBA (Excel) VBA (Word) VBScript Velato Velocity Verilog Vexi VHDL Vim script Visual Basic Visual Basic .NET Visual Basic 6 Visual FoxPro Visual Prolog VisualWorks Smalltalk VMS-DCL VRML VSL VVVV

W wenyan Whenever Whirl Whitespace wml Wolfram WSH

X X++ Xbase++ xblite XHTML XLogo XPL0 XQuery XSL-FO XSLT

Y Yacas

Z Zig ZIM

قلب Back to index

Hello world in قلب ‫(قول "مرحبا يا عالم!")

μλ Back to index

// Hello world in μλ > EEEEEEEΔΔΘς v v ςΘΔEEEEEEEEEE < > EEEEEEEEEEEδδΘς v v ΘδδEEEEEEEEEEEς < > ς EEEEEEEEEEEΔΘ v v ΘΔΔΔΔEEEEς < > ςEEEΔΔΘ v v ΘδEEEEEEEEEEEEς < > ςEEEEEEEEEEEΔΘ v v ΘΔΔΔΔEEEEEEEEEEEς < > ςEEEEEEEEEEEδδΘ v v ΘEEEEEEEEEEς < > ςEEEΔΔΔΘ λ

// Hello World in 1C:Enterprise built-in script language Message("Hello, World!");

4D Back to index

// Hello world in 4D, formerly known as 4th Dimension ALERT("Hello World!")

4Test Back to index

// Hello World in 4Test testcase printHelloWorld() print("Hello World!")

8th Back to index

\ Hello world in 8th "Hello, world!

" .

ABAP4 Back to index

REPORT ZHB00001. *Hello world in ABAP/4 * WRITE: 'Hello world'.

ABC Back to index

\ Hello world in ABC WRITE "Hello, World!" /

ACPI Source Language Back to index

// Hello world in ACPI Source Language Scope(\) { Method(_WAK) { Store ("Hello World", Debug) Return(Package(2){0x00000000,0}) } }

ACS Back to index

// Hello world in Action Code Script (scripting language for the Hexen/Doom game engine) #include "zcommon.acs" script 1 ENTER { print(s:"Hello World!"); }

; Hello world in Action! programming language for the Atari 8-Bit computers PROC Main() PrintE("Hello World!") RETURN

Actionscript (Flash 5) Back to index

// Hello World in Actionscript (up to Flash 5, IDE only) trace ("Hello World");

ActionScript (Flash 8) Back to index

// Hello World in ActionScript 2.0 (Flash 8) class HelloWorld { private var helloWorldField:TextField; public function HelloWorld( mc:MovieClip ) { mc.helloWorldField = mc.createTextField("helloWorldField", mc.getNextHighestDepth(), 0, 0, 100, 100); mc.helloWorldField.autoSize = "left"; mc.helloWorldField.html = true; mc.helloWorldField.htmlText = '<font size="20" color="#0000FF">Hello World!</font>'; } } // on a frame import HelloWorld; var hw:HelloWorld = new HelloWorld( this );

Actionscript (Flash MX) Back to index

// Hello World in Actionscript (Flash MX onwards) _root.createTextField("mytext",1,100,100,300,100); mytext.multiline = true; mytext.wordWrap = true; mytext.border = false; myformat = new TextFormat(); myformat.color = 0xff0000; myformat.bullet = false; myformat.underline = true; mytext.text = "Hello World!"; mytext.setTextFormat(myformat);

ActionScript 3.0 Back to index

// Hello World in ActionScript 3. Place code in the first frame Actions. var t:TextField=new TextField(); t.text="Hello World!"; addChild(t);

Ada Back to index

-- Hello World in Ada with Text_IO; procedure Hello_World is begin Text_IO.Put_Line("Hello World!"); end Hello_World;

ADVPL Back to index

// Hello World in ADVPL User Function Hello() Local cMsg := "Hello, world!" conout(cMsg) MsgInfo(cMsg) Return

Agda Back to index

-- Hello world in Agda module hello where open import IO main = run (putStrLn "Hello, World!")

aheui Back to index

Hello world in aheui. This language has no comments.

밤밣따빠밣밟따뿌 빠맣파빨받밤뚜뭏 돋밬탕빠맣붏두붇 볻뫃박발뚷투뭏붖 뫃도뫃희멓뭏뭏붘 뫃봌토범더벌뿌뚜 뽑뽀멓멓더벓뻐뚠 뽀덩벐멓뻐덕더벅

'BEGIN' 'COMMENT' Hello World in Algol 60; OUTPUT(4,'(''('Hello World!')',/')') 'END'

( # Hello World in Algol 68 # print(("Hello World!",newline)))

' Hello World in Alpha Five Xbasic ui_msg_box("The 'Hello World' Collection", "Hello World", UI_ATTENTION_SYMBOL)

Amazon States Language Back to index

{ "Comment": "Hello world in Amazon States Language", "StartAt": "Hello World", "States": { "Hello World": { "Type": "Task", "Resource": "arn:aws:lambda:us-east-1:123456789012:function:HelloWorld", "End": true } } }

amharic Back to index

Hello World in amharic (in JavaScript) <%@ language="javascript" %> <html><body> <% Response.Write('Hello World!'); %> </body></html>

-> Hello World in Amiga-E PROC main() IS WriteF('Hello World

')

AMOS Back to index

Rem Hello world in AMOS Print "Hello world!"

Andl Back to index

// Hello world in Andl 'Hello world!'

AngelScript Back to index

// Hello world in AngelScript void main() { print("Hello world

"); }

Anguish Back to index

Hello world in Anguish.

‌﻿⁣‌⁣‍﻿⁣⁣﻿﻿﻿⁡﻿⁢﻿​⁠﻿‌‍⁣⁣‍⁡⁡⁡⁡⁡⁡⁡⁡‌⁠⁡⁡⁡⁡‌⁠⁡⁡⁠⁡⁡⁡⁠⁡⁡⁡⁠⁡​​​​⁢‍⁠⁡⁠⁡⁠⁢⁠⁠⁡‌​‍​⁢‍⁠⁠⁣⁠⁢⁢⁢⁣⁡⁡⁡⁡⁡⁡⁡⁣⁣⁡⁡⁡⁣⁠⁠⁣​⁢⁣​⁣⁡⁡⁡⁣⁢⁢⁢⁢⁢⁢⁣⁢⁢⁢⁢⁢⁢⁢⁢⁣⁠⁠⁡⁣⁠⁡⁡⁣

Ansible Back to index

--- - name: Hello world as an Ansible Playbook hosts: ansibleclient01.local tasks: - name: Create a file called '/tmp/testfile.txt' with the content 'hello world'. copy: content: hello worldn dest: /tmp/testfile.txt

Ante Back to index

Hello world in Ante. This language has no comments. 9♦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♥

APC Back to index

// Hello World in the APC language for probes probe program { on_entry log ("Hello, world!

"); }

APL Back to index

⍝ Hello World in APL ⎕←\'Hello World\'

AppleScript Back to index

-- "Hello World" in AppleScript: display dialog "Hello World"

Arduino Back to index

// Hello world in the Arduino programming language void setup() { Serial.begin(9600); Serial.println("Hello, world!"); } void loop() { }

Arena Back to index

// Hello world in Arena print("Hello World!");

Arendelle Back to index

// Hello world in Arendelle "Hello, World!"

Hello World in Argh!. No comment character exists. j world lppppppPPPPPPsrfj hello, * j qPh

ArnoldC Back to index

# Hello world in ArnoldC IT'S SHOWTIME TALK TO THE HAND "Hello World" YOU HAVE BEEN TERMINATED

AsciiDots Back to index

`` Hello world in AsciiDots .-$"Hello, World!"

ASP (C♯) Back to index

<!-- Hello World for ASP.NET using C# --> <% @ Page Language="C#" %> <% ="Hello World!" %>

ASP (JavaScript) Back to index

Hello World for Microsoft ASP (in JavaScript) <%@ language="javascript" %> <html><body> <% Response.Write('Hello World!'); %> </body></html>

ASP (VBE) Back to index

<!-- Hello World in ASP-VBE (Visual Basic Script Encided) --> <html> <script language="VBScript.Encode">#@~^HQAAAA==@#@&HdTAK6PrCsVKP WMV[Zr@#@&HwcAAA==^#~@</script> </html>

ASP (VBS) Back to index

Hello World for Microsoft ASP (in VBScript) <%@ language="vbscript" %> <html><body> <% Response.write "Hello World!" %> </body></html>

<!-- Hello World in ASP.NET --> <%= "Hello World!" %>

Assembler (6502, Apple II) Back to index

********************************** * * * HELLO WORLD FOR 6502 * * APPLE ][, MERLIN ASSEMBLER * * * ********************************** STROUT EQU $DB3A ;OUTPUTS AY-POINTED NULL TERMINATED STRING LDY #>HELLO LDA #<HELLO JMP STROUT HELLO ASC "HELLO WORLD!",00

Assembler (6502, C64) Back to index

; Hello World for 6502 Assembler (C64) ldy #0 beq in loop: jsr $ffd2 iny in: lda hello,y bne loop rts hello: .tx "Hello World!" .by 13,10,0

Assembler (68000, Amiga) Back to index

; Hello World in 68000 Assembler for dos.library (Amiga) move.l #DOS move.l 4.w,a6 jsr -$0198(a6) ;OldOpenLibrary move.l d0,a6 beq.s .Out move.l #HelloWorld,d1 A) moveq #13,d2 jsr -$03AE(a6) ;WriteChars B) jsr -$03B4 ;PutStr move.l a6,a1 move.l 4.w,a6 jsr -$019E(a6) ;CloseLibrary .Out rts DOS dc.b 'dos.library',0 HelloWorld dc.b 'Hello World!',$A,0

Assembler (68000, Atari ST) Back to index

; Hello World in 68000 Assembler (Atari ST) move.l #helloworld,-(A7) move #9,-(A7) trap #1 addq.l #6,A7 move #0,-(A7) trap #1 helloworld: dc.b "Hello World!",$0d,$0a,0

Assembler (68008) Back to index

; Hello World in 68008 Assembler (Sinclar QL) move.l #0,a0 lea.l mess,a1 move.w $d0,a2 jsr (a2) rts mess dc.w 12 dc.b 'Hello World!',10 end

Assembler (8051) Back to index

-- Hello World in Assembler for the Intel 8051 (MSC51) Org 0 mov dptr,#msg mov R0,#30h loop: clr a movc a,@a+dptr jz end mov @R0,a inc R0 inc dptr sjmp loop end: jmp $ msg: db 'Hello World",0

Assembler (ARM, Android) Back to index

/* Hello world in ARM assembly (Android devices) */ .data msg: .ascii "Hello, World!

" len = . - msg .text .globl _start _start: mov %r0, $1 ldr %r1, =msg ldr %r2, =len mov %r7, $4 swi $0 mov %r0, $0 mov %r7, $1 swi $0

Assembler (ARM, RISC OS) Back to index

; Hello World in ARM code assembler, with RISC OS software interrupt SWI "OS_WriteS" EQUS "Hello World!" EQUB 0 ALIGN MOV PC,R14

Assembler (DG-Nova) Back to index

.TITL HELLO 02 ; "HELLO, WORLD" FOR NOVA RUNNING RDOS 03 ; USES PCHAR SYSTEM CALL 04 .NREL 05 .ENT START 06 07 START: 08 00000'022424 DOCHAR: LDA 0,@PMSG ; LOAD AC0 WITH NEXT CHARACTER, 09 00001'101015 MOV# 0,0,SNR ; TEST AC0; 10 00002'000412 JMP DONE ; SKIPPED IF NONZERO 11 00003'006017 .SYSTM 12 00004'010000 .PCHAR ; PRINT FIRST 13 00005'000413 JMP ER ; SKIPPED IF OK 14 00006'101300 MOVS 0,0 ; SWAP BYTES 15 00007'006017 .SYSTM 16 00010'010000 .PCHAR ; PRINT SECOND 17 00011'000407 JMP ER ; SKIPPED IF OK 18 00012'010412 ISZ PMSG ; POINT TO NEXT WORD 19 00013'000765 JMP DOCHAR ; GO AROUND AGAIN 20 21 00014'006017 DONE: .SYSTM ; NORMAL EXIT 22 00015'004400 .RTN 23 00016'000402 JMP ER 24 00017'063077 HALT 25 00020'006017 ER: .SYSTM ; ERROR EXIT 26 00021'006400 .ERTN 27 00022'063077 HALT 28 00023'063077 HALT 29 30 00024'000025'PMSG: .+1 ; ADDRESS OF FIRST WORD OF TEXT 31 ; NOTE BYTES ARE PACKED RIGHT-TO-LEFT BY DEFAULT 32 00025'042510 .TXT /HELLO, WORLD!<15><12>/ ; THAT'S CR LF 33 046114 34 026117 35 053440 36 051117 37 042114 38 006441 39 000012 40 00035'000000 0 ; FLAG WORD TO END STRING 41 42 .END START

Assembler (HLA) Back to index

; Hello World for Intel compatible High Level Assembler program HELLO; #include( "stdlib.hhf" ); begin HELLO; stdout.put("Hello World",nl); end HELLO;

Assembler (HP-85) Back to index

010 ! Hello world in Assembler for the HP-85 020 NAM HELLO 030 DEF RUNTIM 040 DEF TOKENS 050 DEF PARSE 060 DEF ERMSG 070 DEF INIT 100 PARSE BYT 0,0 110 RUNTIM BYT 0,0,377,377 120 TOKENS BYT 377 130 ERMSG BYT 377 140 ! 150 INIT LDM R26,=MSG 160 ADMD R26,=BINTAB 170 LDM R36,=12D,0 180 JSB =OUTSTR 190 RTN 200 MSG ASC "Hello World!" 210 BINTAB DAD 101233 220 OUTSTR DAD 35052 300 FIN

Assembler (IBM 370) Back to index

ITLE 'Hello World for IBM Assembler/370 (VM/CMS)' HELLO START BALR 12,0 USING *,12 * WRTERM 'Hello World!' * SR 15,15 BR 14 * END HELLO

Assembler (Intel) Back to index

; Hello World for Intel Assembler (MSDOS) mov ax,cs mov ds,ax mov ah,9 mov dx, offset Hello int 21h xor ax,ax int 21h Hello: db "Hello World!",13,10,"$"

Assembler (Itanium) Back to index

/* Hello world for IA64 (Itanium) Assembly */ .HW: stringz "Hello World" .text .align 16 .global main# .proc main# main: .prologue 14, 32 .save ar.pfs, r33 alloc r33 = ar.pfs, 0, 4, 1, 0 .vframe r34 mov r34 = r12 adds r12 = -16, r12 mov r35 = r1 .save rp, r32 mov r32 = b0 .body addl r14 = @ltoffx(.HW), r1 ;; ld8.mov r14 = [r14], .HW ;; st8 [r34] = r14 ld8 r36 = [r34] br.call.sptk.many b0 = puts# mov r1 = r35 ;; mov ar.pfs = r33 mov b0 = r32 .restore sp mov r12 = r34 br.ret.sptk.many b0

Assembler (MIPS) Back to index

## Hello Word in Assemlber for the MIPS Architecture .globl main main: jal hwbody #call Hello Word Procedure trap 10 #exit hwbody: addi $30, $30,-4 #we need to preserve sw $4, 0($30) #existing values in register 4 addi $4,$0,72 # H trap 101 addi $4,$0,101 # e trap 101 addi $4,$0,108 # l trap 101 trap 101 # l addi $4,$0,111 # o trap 101 addi $4,$0,32 # <space> trap 101 addi $4,$0,87 # W trap 101 addi $4,$0,111 # o trap 101 addi $4,$0,114 # r trap 101 addi $4,$0,108 # l trap 101 addi $4,$0,100 # d trap 101 addi $4,$0,33 # ! trap 101 addi $4,$0,10 #

trap 101 done: lw $4, 0($30) #restore values addi $30, $30, 4 #in register 4 jr $31 #return to the main

Assembler (MMIX) Back to index

* Hello World in Assembler * for the MMIX Computer LOC #100 Main GETA $255,String TRAP 0,Fputs,StdOut TRAP 0,Halt,0 String BYTE "Hello, world!",#a,0

Assembler (PA-RISC) Back to index

// Hello World written in PA-RISC 2.0 assembly code .LEVEL 2.0N .SPACE $TEXT$,SORT=8 .SUBSPA $CODE$,QUAD=0,ALIGN=4,ACCESS=0x2c,CODE_ONLY,SORT=24 main .PROC .CALLINFO CALLER,FRAME=16,SAVE_RP,ORDERING_AWARE .ENTRY STW %r2,-20(%r30) ;offset 0x0 LDO 64(%r30),%r30 ;offset 0x4 ADDIL LR'M$3-$global$,%r27,%r1 ;offset 0x8 LDO RR'M$3-$global$(%r1),%r1 ;offset 0xc STW %r1,-56(%r30) ;offset 0x10 ADDIL LR'M$3-$global$+16,%r27,%r1 ;offset 0x14 LDO RR'M$3-$global$+16(%r1),%r26 ;offset 0x18 LDW -56(%r30),%r25 ;offset 0x1c LDIL L'printf,%r31 ;offset 0x20 .CALL ARGW0=GR,ARGW1=GR,RTNVAL=GR ;in=25,26;out=28; BE,L R'printf(%sr4,%r31),%r31 ;offset 0x24 COPY %r31,%r2 ;offset 0x28 LDW -84(%r30),%r2 ;offset 0x2c BVE (%r2) ;offset 0x30 .EXIT LDO -64(%r30),%r30 ;offset 0x34 .PROCEND ; .SPACE $TEXT$ .SUBSPA $CODE$ .SPACE $PRIVATE$,SORT=16 .SUBSPA $DATA$,QUAD=1,ALIGN=8,ACCESS=0x1f,SORT=16 M$3 .ALIGN 8 .STRINGZ "Hello World" .BLOCK 4 .STRINGZ "%s

" .IMPORT $global$,DATA .SPACE $TEXT$ .SUBSPA $CODE$ .EXPORT main,ENTRY,PRIV_LEV=3,LONG_RETURN .IMPORT printf,CODE .END

Assembler (PDP-11) Back to index

; Hello World in Assembler for the DEC PDP-11 with the ; RSX-11M-PLUS operating system ; .title Hello .ident /V0001A/ .mcall qiow$s, exit$s .psect $code,ro,i start: qiow$s #5,#5,,,,<#str, #len, #40> exit$s .psect $data,ro,d str: .ascii / Hello World!/ len=.-str .end start

Assembler (PDP-8) Back to index

/ Hello World in Assembler for the DEC PDP-8 *200 hello, cla cll tls / tls to set printer flag. tad charac / set up index register dca ir1 / for getting characters. tad m6 / set up counter for dca count / typing characters. next, tad i ir1 / get a character. jms type / type it. isz count / done yet? jmp next / no: type another. hlt type, 0 / type subroutine tsf jmp .-1 tls cla jmp i type charac, . / used as initial value of ir1 310 / H 305 / E 314 / L 314 / L 317 / O 254 / , 240 / 327 / W 317 / O 322 / R 314 / L 304 / D 241 / ! m6, -15 count, 0 ir1 = 10 $

Assembler (PPC, Darwin) Back to index

; Hello World in Assembler for the Darwin Power-PC .data .cstring .align 2 msg: .asciz "Hello world!

" len = . - msg .text .align 2 .globl _start _start: li r0,4 li r3,1 lis r4,ha16(msg) ori r4,r4,lo16(msg) li r5,len sc li r0,1 li r3,0 sc

Assembler (SPARC) Back to index

! Hello world in SPARC Assembly Language .section ".data1" .align 4 .L16: .ascii "hello world

\0" .section ".text" .global main main: save %sp,-96,%sp set .L16,%o0 call printf,1 nop restore

Assembler (TAS) Back to index

-- Hello world in TAS Assembler for the TR 440 -- HELLO.=SEGM,XBA VB616, SSR 6 16, FB616=R&ENDE, VB616=FB616/AG, 3/H, TEXT/AG, 3/H, TEXT=''*020Hello World!'', ENDE,

Assembler (VP) Back to index

; Hello World in VP Assembler for intent (Amiga Anywhere) .include 'tao' tool 'home/hello',VP,TF_MAIN,8192,0 ent (-:-) qcall lib/print,(hello_world.p : i~) ret () entend data hello_world: dc.b "Hello World!",ASCII_LF,0 toolend

Assembler (Win32) Back to index

; Hello world in Assembler for the Win32 architecture TITLE Hello world in win32. Tasm VERSION T310 Model use32 Flat,StdCall start_code segment byte public 'code' use32 begin: Call MessageBox, 0, offset sHallo, offset caption, 0 Call ExitProcess, 0 start_code Ends start_data segment byte public 'data' use32 sHallo db 'Hello world',0 caption db "Hi",0 start_data Ends End begin

Assembler (X1) Back to index

Hello world in Assembler for the Electrologica X1 (ca. 1958). Line numbers and comments are removed by the human who punches the source text.

dp zz 0 x 5 da 0 zz 0 di 0 2b 1 a set address increment to 1 3-> 1 2a 4 zz 0 c p load next character to A 2 6y 2 xp print it 3 y 2t 1 zz 0 a loop if not last char 4 7p and halt 5 dn + 19 lower case 6 + 28 h 7 + 25 e 8 + 32 l 9 + 32 l 10 + 35 o 11 + 15 comma 12 + 20 space 13 + 43 w 14 + 35 o 15 + 38 r 16 + 32 l 17 + 24 d 18 - 52 clrf, negative = last char de 0 zz 0

Assembler (X8) Back to index

" Hello world in Assembler for the Electrologica X8 (ca. 1965) 'BEGIN' TEL='1 000 000', TTY=8 M[24]: GOTO(:START) M[(64+TTY*4)]: TAR: M[(64+38*4)]: TPAR: M['400']: START: A=:HELLO DESCR " point to I/O descriptor TAR[0]=A " set address of string TAR[1]=-A " set IFT = -1 A=D18 TAR[2]=A AFON(TTY) " send the message LOOP: GOTO(:LOOP) " spin (since there is no halt) D18: '001 000 000' HELLO DESCR: 0 (17*TEL + :DAG[-1]) 0 DAG: 37 " letters, red print 5 " H 16 " E 9 " L 9 " L 3 " O 27 " figures 6 " comma 31 " letters 4 " space 25 " W 3 " O 10 " R 9 " L 18 " D 2 " cr 8 " nl

Assembler (z390) Back to index

; Hello World for z390 IBM compatible mainframe assembler HELLO CSECT USING *,15 WTO 'Hello World' BR 14 END

Assembler (Z80 Console) Back to index

; This is a "Hello World" program for Z80 and TMS9918 / TMS9928 / TMS9929 / ; V9938 or V9958 VDP. ; That means that this should work on SVI, MSX, Colecovision, Memotech, ; and many other Z80 based home computers or game consoles. ; ; Because we don't know what system is used, we don't know where RAM ; is, so we can't use stack in this program. ; ; This version of Hello World was written by Timo "NYYRIKKI" Soilamaa ; 17.10.2001 ; ;---------------------------------------------------------------------- ; Configure this part: DATAP: EQU #98 ; VDP Data port #98 works on all MSX models ; (TMS9918/TMS9929/V9938 or V9958) ; #80 works on SVI ; (for other platforms you have to figure this out by your self) CMDP: EQU #99 ; VDP Command port #99 works on all MSX models ; (TMS9918/TMS9929/V9938 or V9958) ; #81 works on SVI ; (for other platforms you have to figure this out by your self) ;----------------------------------------------------------------------- ; Program starts here: ORG 0 ; Z80 starts always from here when power is turned on DI ; We don't know, how interrupts works in this system, so we disable them. ; Let's set VDP write address to #0000 XOR A OUT (CMDP),A LD A,#40 OUT (CMDP),A ; Now let's clear first 16Kb of VDP memory LD B,0 LD HL,#3FFF LD C,DATAP CLEAR: OUT (C),B DEC HL LD A,H OR L NOP ; Let's wait 8 clock cycles just in case VDP is not quick enough. NOP JR NZ,CLEAR ; Now it is time to set up VDP registers: ;---------------------------------------- ; Register 0 to #0 ; ; Set mode selection bit M3 (maybe also M4 & M5) to zero and ; disable external video & horizontal interrupt LD C,CMDP LD E,#80 OUT (C),A OUT (C),E ;---------------------------------------- ; Register 1 to #50 ; ; Select 40 column mode, enable screen and disable vertical interrupt LD A,#50 INC E OUT (C),A OUT (C),E ;---------------------------------------- ; Register 2 to #0 ; ; Set pattern name table to #0000 XOR A INC E OUT (C),A OUT (C),E ;---------------------------------------- ; Register 3 is ignored as 40 column mode does not need color table ; INC E ;---------------------------------------- ; Register 4 to #1 ; Set pattern generator table to #800 INC A INC E OUT (C),A OUT (C),E ;---------------------------------------- ; Registers 5 (Sprite attribute) & 6 (Sprite pattern) are ignored ; as 40 column mode does not have sprites INC E INC E ;---------------------------------------- ; Register 7 to #F0 ; Set colors to white on black LD A,#F0 INC E OUT (C),A OUT (C),E ;---------------------------------------- ; Let's set VDP write address to #808 so, that we can write ; character set to memory ; (No need to write SPACE it is clear char already) LD A,8 OUT (C),A LD A,#48 OUT (C),A ; Let's copy character set LD HL,CHARS LD B, CHARS_END-CHARS COPYCHARS: LD A,(HL) OUT (DATAP),A INC HL NOP ; Let's wait 8 clock cycles just in case VDP is not quick enough. NOP DJNZ COPYCHARS ; Let's set write address to start of name table XOR A OUT (C),A LD A,#40 OUT (C),A ; Let's put characters to screen LD HL,ORDER LD B,ORDER_END-ORDER COPYORDER: LD A,(HL) OUT (DATAP),A INC HL JR OVERNMI NOP NOP ; Here is address #66, that is entry for NMI RETN ;Return from NMI OVERNMI: DJNZ COPYORDER ; The end HALT ; Character set: ; -------------- ORDER: DEFB 1,2,3,3,4,0,5,4,6,3,7 ORDER_END: CHARS: ; H DEFB %10001000 DEFB %10001000 DEFB %10001000 DEFB %11111000 DEFB %10001000 DEFB %10001000 DEFB %10001000 DEFB %00000000 ; e DEFB %00000000 DEFB %00000000 DEFB %01110000 DEFB %10001000 DEFB %11111000 DEFB %10000000 DEFB %01110000 DEFB %00000000 ; l DEFB %01100000 DEFB %00100000 DEFB %00100000 DEFB %00100000 DEFB %00100000 DEFB %00100000 DEFB %01110000 DEFB %00000000 ; o DEFB %00000000 DEFB %00000000 DEFB %01110000 DEFB %10001000 DEFB %10001000 DEFB %10001000 DEFB %01110000 DEFB %00000000 ; W DEFB %10001000 DEFB %10001000 DEFB %10001000 DEFB %10101000 DEFB %10101000 DEFB %11011000 DEFB %10001000 DEFB %00000000 ; r DEFB %00000000 DEFB %00000000 DEFB %10110000 DEFB %11001000 DEFB %10000000 DEFB %10000000 DEFB %10000000 DEFB %00000000 ; d DEFB %00001000 DEFB %00001000 DEFB %01101000 DEFB %10011000 DEFB %10001000 DEFB %10011000 DEFB %01101000 DEFB %00000000 chars_end:

Assembler (Z80, CP/M) Back to index

; Hello world in Z80 Assembly for CP/M BDOS equ 05h WRTLINE equ 09h ; org 0100h lxi d,sHello mvi c,WRTLINE call BDOS ret ; sHello db 'Hello, World!$'

Assembler (ZX81) Back to index

; Hello World in Assembler for the ZX81 (Zilog Z80) CALL SPRINT DEFM HELLO WORLD. DEFB FF RET SPRINT POP HL LD A,(HL) INC HL PUSH HL CP FF RET Z CALL PRINT JR SPRINT

Asterisk Back to index

;; Hello world in Asterisk exten => s,1,NoOp(Hello World)

ATS Back to index

// Hello world in ATS implement main () = begin print ("Hello, world!"); print_newline () end

AutoHotkey Back to index

; Hello World in AutoHotkey Msgbox Hello, World!

AutoIT3 Back to index

;Hello, World for AutoIT3 http://www.autoitscript.com msgbox(0,"Hello World",0)

Automator Back to index

Hello world for Mac OS X Automator

AviSynth Back to index

# Hello World for AviSynth video editor BlankClip() Subtitle("Hello, world!")

AWK Back to index

# Hello world in AWK BEGIN { print "Hello World!" }

B Back to index

/* Hello World in B */ main() { extern a, b, c; putchar (a); putchar (b); putchar (c); putchar ('!*n'); } a 'hell' ; b 'o, w' ; c 'orld' ;

BAL Back to index

Hello World in IBM mainframe Basic Assembler Language (BAL) HELLO CSECT STM R14,R12,12(R13) LR R12,R15 USING HELLO,R12 LA R10,SAVEAREA ST R13,4(R10) ST R10,8(R13) LR R13,R10 * WTO 'HELLO WORLD',ROUTCDE=1 * L R13,4(R13) LM R14,R12,12(R13) SR R15,R15 BCR B'1111',R14 * SAVEAREA DS 18F LTORG R0 EQU 0 R1 EQU 1 R2 EQU 2 R3 EQU 3 R4 EQU 4 R5 EQU 5 R6 EQU 6 R7 EQU 7 R8 EQU 8 R9 EQU 9 R10 EQU 10 R11 EQU 11 R12 EQU 12 R13 EQU 13 R14 EQU 14 R15 EQU 15 END HELLO

' Hello World in PICAXE BASIC Symbol TX_PIN = 0 Symbol TX_BAUD = N2400 SerOut TX_PIN, TX_BAUD, ( "Hello World", CR, LF )

BASIC Back to index

10 REM Hello World in BASIC 20 PRINT "Hello World!"

Bato Back to index

# Hello world in Bato mag_print "Hello World!"

Batsh Back to index

// Hello world in Batsh println("Hello world!");

bc Back to index

#!/usr/bin/bc -q # Hello World for the Unix "bc" calculator print "Hello World!

"

BCPL Back to index

// Hello world in BCLP GET "libhdr" LET start() = VALOF $( writes("Hello world*N") RESULTIS 0 $)

BeanShell Back to index

// Hello World in BeanShell print ("Hello World!");

Beef Back to index

// Hello world in Beef using System; namespace HelloWorld { class Program { static void Main() { Console.WriteLine("Hello, world!"); } } }

Befunge Back to index

v Hello World in Befunge >"dlroW olleH",,,,,,,,,,,@

Beta Back to index

{ *** Hello World in BETA ***} (# do 'Hello World!'->putLine #)

BibTex Back to index

%Hello world in BibTex ENTRY{author}{}{} FUNCTION {hello.world} { "Hello World!" write$ newline$ } READ EXECUTE {hello.world}

Binary Lambda Calculus Back to index

!Hello, world

BIT Back to index

Hello world in byte-oriented Binary Lambda Calculus

Hello world in BIT. No comments are possible in this language.

LINENUMBERZEROCODEPRINTZEROGOTOONELINENUMBERONECODEPRINTONEGOTOONEZEROLINENUMBE RONEZEROCODEPRINTZEROGOTOONEONELINENUMBERONEONECODEPRINTZEROGOTOONEZEROZEROLINE NUMBERONEZEROZEROCODEPRINTONEGOTOONEZEROONELINENUMBERONEZEROONECODEPRINTZEROGOT OONEONEZEROLINENUMBERONEONEZEROCODEPRINTZEROGOTOONEONEONELINENUMBERONEONEONECOD EPRINTZEROGOTOONEZEROZEROZEROLINENUMBERONEZEROZEROZEROCODEPRINTZEROGOTOONEZEROZ EROONELINENUMBERONEZEROZEROONECODEPRINTONEGOTOONEZEROONEZEROLINENUMBERONEZEROON EZEROCODEPRINTONEGOTOONEZEROONEONELINENUMBERONEZEROONEONECODEPRINTZEROGOTOONEON EZEROZEROLINENUMBERONEONEZEROZEROCODEPRINTZEROGOTOONEONEZEROONELINENUMBERONEONE ZEROONECODEPRINTONEGOTOONEONEONEZEROLINENUMBERONEONEONEZEROCODEPRINTZEROGOTOONE ONEONEONELINENUMBERONEONEONEONECODEPRINTONEGOTOONEZEROZEROZEROZEROLINENUMBERONE ZEROZEROZEROZEROCODEPRINTZEROGOTOONEZEROZEROZEROONELINENUMBERONEZEROZEROZEROONE CODEPRINTONEGOTOONEZEROZEROONEZEROLINENUMBERONEZEROZEROONEZEROCODEPRINTONEGOTOO NEZEROZEROONEONELINENUMBERONEZEROZEROONEONECODEPRINTZEROGOTOONEZEROONEZEROZEROL INENUMBERONEZEROONEZEROZEROCODEPRINTONEGOTOONEZEROONEZEROONELINENUMBERONEZEROON EZEROONECODEPRINTONEGOTOONEZEROONEONEZEROLINENUMBERONEZEROONEONEZEROCODEPRINTZE ROGOTOONEZEROONEONEONELINENUMBERONEZEROONEONEONECODEPRINTZEROGOTOONEONEZEROZERO ZEROLINENUMBERONEONEZEROZEROZEROCODEPRINTZEROGOTOONEONEZEROZEROONELINENUMBERONE ONEZEROZEROONECODEPRINTONEGOTOONEONEZEROONEZEROLINENUMBERONEONEZEROONEZEROCODEP RINTONEGOTOONEONEZEROONEONELINENUMBERONEONEZEROONEONECODEPRINTZEROGOTOONEONEONE ZEROZEROLINENUMBERONEONEONEZEROZEROCODEPRINTONEGOTOONEONEONEZEROONELINENUMBERON EONEONEZEROONECODEPRINTONEGOTOONEONEONEONEZEROLINENUMBERONEONEONEONEZEROCODEPRI NTZEROGOTOONEONEONEONEONELINENUMBERONEONEONEONEONECODEPRINTZEROGOTOONEZEROZEROZ EROZEROZEROLINENUMBERONEZEROZEROZEROZEROZEROCODEPRINTZEROGOTOONEZEROZEROZEROZER OONELINENUMBERONEZEROZEROZEROZEROONECODEPRINTONEGOTOONEZEROZEROZEROONEZEROLINEN UMBERONEZEROZEROZEROONEZEROCODEPRINTONEGOTOONEZEROZEROZEROONEONELINENUMBERONEZE ROZEROZEROONEONECODEPRINTZEROGOTOONEZEROZEROONEZEROZEROLINENUMBERONEZEROZEROONE ZEROZEROCODEPRINTONEGOTOONEZEROZEROONEZEROONELINENUMBERONEZEROZEROONEZEROONECOD EPRINTONEGOTOONEZEROZEROONEONEZEROLINENUMBERONEZEROZEROONEONEZEROCODEPRINTONEGO TOONEZEROZEROONEONEONELINENUMBERONEZEROZEROONEONEONECODEPRINTONEGOTOONEZEROONEZ EROZEROZEROLINENUMBERONEZEROONEZEROZEROZEROCODEPRINTZEROGOTOONEZEROONEZEROZEROO NELINENUMBERONEZEROONEZEROZEROONECODEPRINTZEROGOTOONEZEROONEZEROONEZEROLINENUMB ERONEZEROONEZEROONEZEROCODEPRINTONEGOTOONEZEROONEZEROONEONELINENUMBERONEZEROONE ZEROONEONECODEPRINTZEROGOTOONEZEROONEONEZEROZEROLINENUMBERONEZEROONEONEZEROZERO CODEPRINTZEROGOTOONEZEROONEONEZEROONELINENUMBERONEZEROONEONEZEROONECODEPRINTZER OGOTOONEZEROONEONEONEZEROLINENUMBERONEZEROONEONEONEZEROCODEPRINTZEROGOTOONEZERO ONEONEONEONELINENUMBERONEZEROONEONEONEONECODEPRINTZEROGOTOONEONEZEROZEROZEROZER OLINENUMBERONEONEZEROZEROZEROZEROCODEPRINTZEROGOTOONEONEZEROZEROZEROONELINENUMB ERONEONEZEROZEROZEROONECODEPRINTONEGOTOONEONEZEROZEROONEZEROLINENUMBERONEONEZER OZEROONEZEROCODEPRINTONEGOTOONEONEZEROZEROONEONELINENUMBERONEONEZEROZEROONEONEC ODEPRINTONEGOTOONEONEZEROONEZEROZEROLINENUMBERONEONEZEROONEZEROZEROCODEPRINTZER OGOTOONEONEZEROONEZEROONELINENUMBERONEONEZEROONEZEROONECODEPRINTONEGOTOONEONEZE ROONEONEZEROLINENUMBERONEONEZEROONEONEZEROCODEPRINTONEGOTOONEONEZEROONEONEONELI NENUMBERONEONEZEROONEONEONECODEPRINTONEGOTOONEONEONEZEROZEROZEROLINENUMBERONEON EONEZEROZEROZEROCODEPRINTZEROGOTOONEONEONEZEROZEROONELINENUMBERONEONEONEZEROZER OONECODEPRINTONEGOTOONEONEONEZEROONEZEROLINENUMBERONEONEONEZEROONEZEROCODEPRINT ONEGOTOONEONEONEZEROONEONELINENUMBERONEONEONEZEROONEONECODEPRINTZEROGOTOONEONEO NEONEZEROZEROLINENUMBERONEONEONEONEZEROZEROCODEPRINTONEGOTOONEONEONEONEZEROONEL INENUMBERONEONEONEONEZEROONECODEPRINTONEGOTOONEONEONEONEONEZEROLINENUMBERONEONE ONEONEONEZEROCODEPRINTONEGOTOONEONEONEONEONEONELINENUMBERONEONEONEONEONEONECODE PRINTONEGOTOONEZEROZEROZEROZEROZEROZEROLINENUMBERONEZEROZEROZEROZEROZEROZEROCOD EPRINTZEROGOTOONEZEROZEROZEROZEROZEROONELINENUMBERONEZEROZEROZEROZEROZEROONECOD EPRINTONEGOTOONEZEROZEROZEROZEROONEZEROLINENUMBERONEZEROZEROZEROZEROONEZEROCODE PRINTONEGOTOONEZEROZEROZEROZEROONEONELINENUMBERONEZEROZEROZEROZEROONEONECODEPRI NTONEGOTOONEZEROZEROZEROONEZEROZEROLINENUMBERONEZEROZEROZEROONEZEROZEROCODEPRIN TZEROGOTOONEZEROZEROZEROONEZEROONELINENUMBERONEZEROZEROZEROONEZEROONECODEPRINTZ EROGOTOONEZEROZEROZEROONEONEZEROLINENUMBERONEZEROZEROZEROONEONEZEROCODEPRINTONE GOTOONEZEROZEROZEROONEONEONELINENUMBERONEZEROZEROZEROONEONEONECODEPRINTZEROGOTO ONEZEROZEROONEZEROZEROZEROLINENUMBERONEZEROZEROONEZEROZEROZEROCODEPRINTZEROGOTO ONEZEROZEROONEZEROZEROONELINENUMBERONEZEROZEROONEZEROZEROONECODEPRINTONEGOTOONE ZEROZEROONEZEROONEZEROLINENUMBERONEZEROZEROONEZEROONEZEROCODEPRINTONEGOTOONEZER OZEROONEZEROONEONELINENUMBERONEZEROZEROONEZEROONEONECODEPRINTZEROGOTOONEZEROZER OONEONEZEROZEROLINENUMBERONEZEROZEROONEONEZEROZEROCODEPRINTONEGOTOONEZEROZEROON EONEZEROONELINENUMBERONEZEROZEROONEONEZEROONECODEPRINTONEGOTOONEZEROZEROONEONEO NEZEROLINENUMBERONEZEROZEROONEONEONEZEROCODEPRINTZEROGOTOONEZEROZEROONEONEONEON ELINENUMBERONEZEROZEROONEONEONEONECODEPRINTZEROGOTOONEZEROONEZEROZEROZEROZEROLI NENUMBERONEZEROONEZEROZEROZEROZEROCODEPRINTZEROGOTOONEZEROONEZEROZEROZEROONELIN ENUMBERONEZEROONEZEROZEROZEROONECODEPRINTONEGOTOONEZEROONEZEROZEROONEZEROLINENU MBERONEZEROONEZEROZEROONEZEROCODEPRINTONEGOTOONEZEROONEZEROZEROONEONELINENUMBER ONEZEROONEZEROZEROONEONECODEPRINTZEROGOTOONEZEROONEZEROONEZEROZEROLINENUMBERONE ZEROONEZEROONEZEROZEROCODEPRINTZEROGOTOONEZEROONEZEROONEZEROONELINENUMBERONEZER OONEZEROONEZEROONECODEPRINTONEGOTOONEZEROONEZEROONEONEZEROLINENUMBERONEZEROONEZ EROONEONEZEROCODEPRINTZEROGOTOONEZEROONEZEROONEONEONELINENUMBERONEZEROONEZEROON EONEONECODEPRINTZEROGOTOONEZEROONEONEZEROZEROZEROLINENUMBERONEZEROONEONEZEROZER OZEROCODEPRINTZEROGOTOONEZEROONEONEZEROZEROONELINENUMBERONEZEROONEONEZEROZEROON ECODEPRINTZEROGOTOONEZEROONEONEZEROONEZEROLINENUMBERONEZEROONEONEZEROONEZEROCOD EPRINTONEGOTOONEZEROONEONEZEROONEONELINENUMBERONEZEROONEONEZEROONEONECODEPRINTZ EROGOTOONEZEROONEONEONEZEROZEROLINENUMBERONEZEROONEONEONEZEROZEROCODEPRINTZEROG OTOONEZEROONEONEONEZEROONELINENUMBERONEZEROONEONEONEZEROONECODEPRINTZEROGOTOONE ZEROONEONEONEONEZEROLINENUMBERONEZEROONEONEONEONEZEROCODEPRINTZEROGOTOONEZEROON EONEONEONEONELINENUMBERONEZEROONEONEONEONEONECODEPRINTONE

BitZ Back to index

Hello world in BitZ. The source code is the BMP file shown below.

Blender Back to index

# Hello World as a 3D object in Blender import Blender from Blender import Scene, Text3d txt = Text3d.New("Text") txt.setText('Hello, world!') Scene.GetCurrent().objects.new(txt) Blender.Redraw()

BlitzMax Back to index

' Hello World for BlitzMax Graphics 640,480,16 While Not KeyHit(KEY_ESCAPE) Cls DrawText "Hello World",0,0 Flip EndWhile

BlitzPlus Back to index

; Hello World in Blitz Plus (graphical mode) Graphics 800,600,0,1 Text 790, 600, "Hello World" WaitKey

BMC Remedy Back to index

char-set: windows-1252 # # Hello World in BMC Remedy 7.0 # File exported Thu May 8 09:36:46 2008 # begin active link name : Remedy_HelloWorld timestamp : 1210249958 export-version : 9 owner : Demo last-changed : Demo actlink-order : 0 wk-conn-type : 1 schema-name : _1 actlink-mask : 16 enable : 1 permission : 0 action { message-type: 0 message-num : 10000 message-pane: 1 message-text: Hello World!! } object-prop : 2\60016\4\1\0\60017\4\1\0\ end

Boo Back to index

# Hello World in Boo print "Hello World"

Brainfuck Back to index

Hello World in Brainfuck ++++++++++[>+++++++>++++++++++>+++<<<-]>++.>+.+++++++ ..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.

BrightScript Back to index

' Hello world in BrightScript sub Main() port = CreateObject("roMessagePort") screen = CreateObject("roTextScreen") screen.SetText("Hello World") screen.setMessagePort(port) screen.Show() while true msg = wait(0, port) if(msg.isScreenClosed()) return -1 end if end while end sub

BS2000 Back to index

/BEGIN-PROCEDURE LOGGING=N /REMARK "HELLO WORLD" IN BS2000 (SDF) /ASSIGN-SYSDTA TO-FILE=*SYSCMD /WRITE-TEXT 'HELLO WORLD!' /SET-JOB-STEP /ASSIGN-SYSDTA TO-FILE=*PRIMARY /END-PROCEDURE

BSP Back to index

<!— Hello World in SAP Business Server Pages (BSP) <%@page language="abap"%> <%@extension name="htmlb" prefix="htmlb"%> <html><body> <% CONSTANTS lv_hworld TYPE string VALUE `Hello World!`. %> <%=lv_hworld%>"> </body> </html>

BuddyScript Back to index

# Hello World in BuddyScript + =AnythingPerfect - Hello, world!

Buzz Back to index

# Hello world in Buzz log("Hello World!")

Byte Syze Back to index

c7 3c 2a 3c 2a 2b 2a 5c 3c 28 5c 2a 2b 2a 5c 3c 28 5c 2a 2b 2a 5c 3c 28 5c 2a 2b 2a 5c 3c 28 5c 2a 2b 2a 5c 3c 28 5c 2a 2b 2a 5c 3c 28 5c 2a 2b 2a 5c 3c 28 5c 2a 2b 2a 5c 3c 28 5c 2a 2b 2a 5c 3c 28 5c 2a 2b 2a 5c 3c 28 5c 2a 2b 2a 5c 3c 28 5c 2a 2b 2a 5c 3c 28 5c 2a 2b 2a 5c 3c 28 5c 2a 2b 2a 00 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 64 48 65 6c 6c 6f 2c 20 57 6f 72 6c 64 21 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

/* Hello world in C* */ #include <stdio.h> main() { printf("Hello World!

"); }

OBJECT Codeunit 50000 HelloWorld { PROPERTIES { OnRun=BEGIN //Hello World in C/AL (Microsoft Business Solutions-Navision) MESSAGE(Txt001); END; } CODE { VAR Txt001@1000000000 : TextConst 'ENU=Hello World'; BEGIN END. } }

//Hello World in C# class HelloWorld { static void Main() { System.Console.WriteLine("Hello, World!"); } }

C (Amiga Anywhere) Back to index

/* Hello World in C for Amiga Anywhere 2 (AA2) */ #include <aa.h> int aaMain(int argc, char **argv) { aaOpenDisplay(200, 200, 16, "Hello World", FAA_DISPLAY_WINDOW); aaDrawString(AA_DISPLAY_PIXMAP, "Hello, world!", 20, 20, AA_DEFAULT_FONT, 0xffff00, 0, FAA_FONT_INK, -1); aaUpdate(); aaWaitInput(); return 0; }

C (ANSI) Back to index

/* Hello World in C, Ansi-style */ #include <stdio.h> #include <stdlib.h> int main(void) { puts("Hello World!"); return EXIT_SUCCESS; }

C (Curses) Back to index

/* Hello World in C for Curses */ #include <curses.h> main() { initscr(); addstr("Hello World!

"); refresh(); endwin(); return 0; }

C (GEM) Back to index

/* Hello World for C with GEM */ #include <aes.h> main() { appl_init(); form_alert(1,"[0][Hello World!][Ok]"); appl_exit(); return 0; }

C (Intuition) Back to index

/* Hello World in C for Intution (Amiga GUI) */ #include <intuition/intuition.h> struct IntuitionBase *IntuitionBase = NULL; struct IntuiText hello_text = {-1,-1,JAM1,0,0,NULL,"Hello World!",NULL }; struct IntuiText ok_text = {-1,-1,JAM1,0,0,NULL,"Ok",NULL }; void main(void) { IntuitionBase = (struct IntuitionBase *) OpenLibrary("intuition.library", 0); AutoRequest(NULL, &hello_text, NULL, &ok_text, NULL, NULL, 100, 50); CloseLibrary(IntuitionBase); }

C (K&R) Back to index

/* Hello World in C, K&R-style */ main() { puts("Hello World!"); return 0; }

C (OpenGL) Back to index

/* "Hello World" in C using OGL - Open Graphics Library */ #include <GL/glut.h> #define font GLUT_BITMAP_HELVETICA_18 #define tx "Hello World!" void text(void) { char *p, tex[] = tx; p = tex; glColor3d(1.0, 1.0, 0.0); glRasterPos2d(-.5, 0.); while(*p) glutBitmapCharacter(font, *p++); } void display() { glClear(GL_COLOR_BUFFER_BIT); text(); glFlush(); } void reshape(int width, int height) { glViewport(0, 0, width, height); glMatrixMode(GL_PROJECTION); glLoadIdentity(); glOrtho(-1, 1, -1, 1, -1, 1); glMatrixMode(GL_MODELVIEW); display(); } int main(int argc, char **argv) { glutInit(&argc, argv); glutInitDisplayMode(GLUT_SINGLE | GLUT_RGB); glutInitWindowPosition(50, 50); glutInitWindowSize(500, 500); glutCreateWindow("Hello World OpenGL"); glClearColor(0,0,0,0); glutDisplayFunc(display); glutReshapeFunc(reshape); glutMainLoop(); return 0; }

C (PresentationManager) Back to index

/* Hello World for C with PresentationManager / OS/2 2.11 */ #define INCL_WIN #include <os2.h> int main( void ) { HMQ hmq; hmq = WinCreateMsgQueue( 0, 0 ); WinMessageBox( HWND_DESKTOP, HWND_DESKTOP, (PSZ)"Hello World!", (PSZ)"", 0, MB_OK ); WinDestroyMsgQueue( hmq ); return 0; }

C (Windows) Back to index

/* Hello world in C for MS-Windows */ #include <windows.h> int PASCAL WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR CmdLine, int Show) { MessageBox(GetActiveWindow(), "Hello World!", "Hello Windows World", MB_OK); return 0; }

C (X11 Athena) Back to index

/* Hello World in C with X11 using Athena widgets */ #include <X11/Intrinsic.h> #include <X11/StringDefs.h> #include <X11/Xaw/Label.h> main(int argc,char **argv) { XtAppContext app_context; Widget toplevel,hello; toplevel = XtVaAppInitialize(&app_context,"XHello",NULL,0, &argc,argv,NULL,NULL); hello = XtVaCreateManagedWidget("Hello World!",labelWidgetClass, toplevel,(void*)0); XtRealizeWidget(toplevel); XtAppMainLoop(app_context); return 0; }

// Hello World in C++ (pre-ISO) #include <iostream.h> main() { cout << "Hello World!" << endl; return 0; }

// Hello World in C++/CLI for .NET using namespace System; void main() { Console::WriteLine("Hello World"); }

// Hello World in C++, Epoc style (for Symbian OS) #include <eikapp.h> #include <eikdoc.h> #include <eikappui.h> class CHelloWorldAppUi; class CEikApplication; class CHelloWorldAppView; class CHelloWorldApplication : public CEikApplication { public: TUid AppDllUid() const; protected: CApaDocument* CreateDocumentL(); }; class CHelloWorldDocument : public CEikDocument { public: static CHelloWorldDocument* NewL(CEikApplication& aApp); static CHelloWorldDocument* NewLC(CEikApplication& aApp); ~CHelloWorldDocument(){}; public: CEikAppUi* CreateAppUiL(); private: void ConstructL() {}; CHelloWorldDocument(CEikApplication& aApp){}; }; class CHelloWorldAppUi : public CEikAppUi { public: void ConstructL(); CHelloWorldAppUi(){}; ~CHelloWorldAppUi(){}; }; static const TUid KUidHelloWorldApp = {0x10005B91}; GLDEF_C TInt E32Dll(TDllReason ) { return KErrNone; } EXPORT_C CApaApplication* NewApplication() { return (new CHelloWorldApplication); } CApaDocument* CHelloWorldApplication::CreateDocumentL() { CApaDocument* document = CHelloWorldDocument::NewL(*this); return document; } TUid CHelloWorldApplication::AppDllUid() const { return KUidHelloWorldApp; } CHelloWorldDocument* CHelloWorldDocument::NewL(CEikApplication& aApp) { CHelloWorldDocument* self = NewLC(aApp); CleanupStack::Pop(self); return self; } CHelloWorldDocument* CHelloWorldDocument::NewLC(CEikApplication& aApp) { CHelloWorldDocument* self = new (ELeave) CHelloWorldDocument(aApp); CleanupStack::PushL(self); self->ConstructL(); return self; } CEikAppUi* CHelloWorldDocument::CreateAppUiL() { CEikAppUi* appUi = new (ELeave) CHelloWorldAppUi; return appUi; } void CHelloWorldAppUi::ConstructL() { BaseConstructL(); _LIT(message,"Hello!"); CAknInformationNote* informationNote = new (ELeave) CAknInformationNote; informationNote->ExecuteLD(message); }

// Hello World in C++-FLTK #include <FL/Fl.H> #include <FL/Fl_Window.H> #include <FL/Fl_Box.H> int main(int argc, char **argv) { Fl_Window *ventana = new Fl_Window(300,180); ventana->begin(); Fl_Box *box = new Fl_Box(20,40,260,100,"Hello World!"); box->labelsize(50); ventana->end(); ventana->show(argc, argv); return Fl::run(); }

// Hello World in C++ for the Gtk+ toolkit #include <gtkmm/main.h> #include <gtkmm/button.h> #include <gtkmm/window.h> #include <iostream> void button_clicked() { std::cout << "Hello, World !" << std::endl; } int main (int argc, char *argv[]) { Gtk::Main kit(argc, argv); Gtk::Window hello_window; Gtk::Button hello_button("Hello World"); hello_window.set_border_width(10); hello_window.add(hello_button); hello_button.signal_clicked().connect(sigc::ptr_fun(&button_clicked)); hello_button.show(); Gtk::Main::run(hello_window); return 0; }

// Hello World in ISO C++ #include <iostream> int main() { std::cout << "Hello World!" << std::endl; }

// Hello World in C++ for Microsoft Foundation Classes // (Microsoft Visual C++). #include <afxwin.h> class CHello : public CFrameWnd { public: CHello() { Create(NULL,_T("Hello World!"),WS_OVERLAPPEDWINDOW,rectDefault); } }; class CHelloApp : public CWinApp { public: virtual BOOL InitInstance(); }; BOOL CHelloApp::InitInstance() { m_pMainWnd = new CHello(); m_pMainWnd->ShowWindow(m_nCmdShow); m_pMainWnd->UpdateWindow(); return TRUE; } CHelloApp theApp;

// Hello World in C++ for the Qt framework #include <qapplication.h> #include <qlabel.h> int main(int argc, char *argv[]) { QApplication a(argc, argv); QLabel l("Hello World!", 0); l.setCaption("Test"); l.setAlignment(Qt::AlignCenter); l.resize(300, 200); a.setMainWidget(&l); l.show(); return(a.exec()); }

CA-Easytrieve Plus Back to index

* Hello world in CA-Easytrieve Plus JOB DISPLAY 'HELLO, WORLD!'

Caché Object Script Back to index

HelloWorld ;Hello World in Caché Object Script Start ; Write "Hello world" Quit

(* Hello World in CAML Light *) let hello = print_string "Hello World!"; ;;

Carp Back to index

;; Hello world in Carp (println "hello world")

Casio BASIC Back to index

'Hello World in Casio-Basic. [new line symbol here (press EXE)] "Hello World!"

CDuce Back to index

(* Hello World in CDuce *) print "Hello World!

";;

Centura Back to index

! Hello World in Centura Function: HelloWorld Description: Returns Parameters Static Variables Local variables Actions Call SalMessageBox( 'Hello World','Message',MB_Ok)

Ceylon Back to index

// Hello world in Ceylon print("Hello, World!");

ChaiScript Back to index

// Hello world in ChaiScript #include <chaiscript/chaiscript.hpp> std::string helloWorld(const std::string &t_name) { return "Hello " + t_name + "!"; } int main() { chaiscript::ChaiScript chai; chai.add(chaiscript::fun(&helloWorld), "helloWorld"); chai.eval(R"( puts(helloWorld("World")); )"); }

Chef Back to index

Hello World Souffle. This recipe prints the immortal words "Hello world!", in a basically brute force way. It also makes a lot of food for one person. Ingredients. 72 g haricot beans 101 eggs 108 g lard 111 cups oil 32 zucchinis 119 ml water 114 g red salmon 100 g dijon mustard 33 potatoes Method. Put potatoes into the mixing bowl. Put dijon mustard into the mixing bowl. Put lard into the mixing bowl. Put red salmon into the mixing bowl. Put oil into the mixing bowl. Put water into the mixing bowl. Put zucchinis into the mixing bowl. Put oil into the mixing bowl. Put lard into the mixing bowl. Put lard into the mixing bowl. Put eggs into the mixing bowl. Put haricot beans into the mixing bowl. Liquefy contents of the mixing bowl. Pour contents of the mixing bowl into the baking dish. Serves 1.

Chicken Back to index

Hello World in Byte Syze . No comments possible. The following is actually a hexdump of the binary source code.

Hello world in Chicken. This language has no comments.

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 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 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 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 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 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 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 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 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 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 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 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 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 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 chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken chicken

-- Hello World in CICS COBOL 000100 IDENTIFICATION DIVISION. 000200 PROGRAM-ID. HELLO. 000300 * HELLO WORLD IN CICS COBOL. 000400 AUTHOR. ROBERT GOSLING. 000500 ENVIRONMENT DIVISION. 000600 DATA DIVISION. 000700 WORKING-STORAGE SECTION. 000800 01 WS-DATA-AREA PIC X(80) VALUE "HELLO WORLD!". 000900 PROCEDURE DIVISION. 001000 EXEC CICS SEND FROM (WS-DATA-AREA) END-EXEC. 001100 EXEC CICS RETURN END-EXEC.

Clarion Back to index

!Hello World in Clarion PROGRAM MAP END CODE MESSAGE('Hello World!') RETURN

Clean Back to index

// Hello World in Clean module hello Start :: String Start = "Hello World!

"

Clipper Back to index

// Hello World in Clipper ? "Hello World"

Clojure Back to index

; Hello world in Clojure (defn hello [] (println "Hello world!")) (hello)

CLP Back to index

/* Hello World in CLP for the IBM AS/400 */ PGM SNDPGMMSG MSG('Hello World !') MSGTYPE(*COMP) ENDPGM

CMake Back to index

# Hello World in CMake message(STATUS "Hello World!")

COBOL Back to index

* Hello World in COBOL ***************************** IDENTIFICATION DIVISION. PROGRAM-ID. HELLO. ENVIRONMENT DIVISION. DATA DIVISION. PROCEDURE DIVISION. MAIN SECTION. DISPLAY "Hello World!" STOP RUN. ****************************

Cobra Back to index

"""Hello world in Cobra""" class Hello def main print 'Hello, world.'

Cocoa Back to index

// Hello World in Cocoa Obj-C (OS X) #import <Foundation/Foundation.h> int main (int argc, const char * argv[]) { NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init]; NSLog(@"Hello, World!"); [pool release]; return 0; }

Coconut Back to index

# Hello world in Coconut "hello, world!" |> print

CoDScript Back to index

// Hello world in CoDScript main(){ iPrintLnBold("Hello World!"); }

CoffeeScript Back to index

// Hello world in CoffeeScript alert "Hello, World!"

ColdFusion Back to index

<!---Hello world in ColdFusion---> <cfset message = "Hello World"> <cfoutput> #message#</cfoutput>

CommandScript Back to index

#Hello World in Command Script 3.1 #Meta.Name: "Hello World" #Block(Main).Start echo "Hello World!" #Block(Main).End

Common Lisp Back to index

;;; Hello world in Common Lisp (print "Hello World")

Console Postscript Back to index

%% Hello World in Console PostScript serverdict begin 0 exitserver /Courier findfont 48 scalefont setfont 22 22 moveto (Hello World!) show showpage %% End

ConTeXt Back to index

% Hello world in ConTeXt \starttext Hello World! \stoptext

Cool Back to index

-- Hello World in Cool class Main inherits IO{ main():Object{ out_string("Hello, world!

") }; };

CoolBasic Back to index

' Hello World in CoolBasic print "hello world" wait key

cpl Back to index

title 'Hello world in cpl on a Warrex Centurion' system zhelloworld (main,exp=d) ; file crt:sysipt,class=0,seq ; define m00:'hello world' format f00:c132 ; entrypoint crt ; entry ; open io crt ; write (crt, f00) m00 stop 0 ; end

Crystal Back to index

# Hello world in Crystal puts "Hello World"

CSS Back to index

/* Hello World in CSS */ body:before { content: "Hello World"; }

CUDA Back to index

// Hello world in CUDA #include <stdio.h> const int N = 16; const int blocksize = 16; __global__ void hello(char *a, int *b) { a[threadIdx.x] += b[threadIdx.x]; } int main() { char a[N] = "Hello \0\0\0\0\0\0"; int b[N] = {15, 10, 6, 0, -11, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}; char *ad; int *bd; const int csize = N*sizeof(char); const int isize = N*sizeof(int); printf("%s", a); cudaMalloc( (void**)&ad, csize ); cudaMalloc( (void**)&bd, isize ); cudaMemcpy( ad, a, csize, cudaMemcpyHostToDevice ); cudaMemcpy( bd, b, isize, cudaMemcpyHostToDevice ); dim3 dimBlock( blocksize, 1 ); dim3 dimGrid( 1, 1 ); hello<<<dimGrid, dimBlock>>>(ad, bd); cudaMemcpy( a, ad, csize, cudaMemcpyDeviceToHost ); cudaFree( ad ); cudaFree( bd ); printf("%s

", a); return EXIT_SUCCESS; }

CWEB Back to index

\def\title{<a href="/showArticle.jhtml?documentID=cuj9505wittenbe&pgno=1">Listing 1</a>} @*A Simple Example. This is a trivial example of a \.{CWEB} program. It is, of course, the classic "hello, world" program we all know and love: @c @<Header files needed by the program@>@; @# main(void) { @<Print the message |"hello, world"|@>@; } @ Naturally, we use |printf| to do the dirty work: @<Print the message |"hello, world"|@>= printf("hello, world

"); @ The prototype for |printf| is in the standard header, \.{<stdio.h>}. @<Header files needed by the program@>= #include <stdio.h> @*Index.

CYBOL Back to index

<!-- Hello World in Cybernetics Oriented Language (CYBOL) --> <model> <part name="send_message" channel="inline" abstraction="operation" model="send"> <property name="channel" channel="inline" abstraction="character" model="shell"/> <property name="message" channel="inline" abstraction="character" model="Hello, World!"/> </part> <part name="exit_application" channel="inline" abstraction="operation" model="exit"/> </model>

D Back to index

// Hello World in D import std.stdio; void main() { writefln("Hello World!"); }

D4 Back to index

// Hello World as a relation-variable in D4 select row { "Hello World" AMessage }

Dafny Back to index

// Hello world in Dafny method Main() { print "Hello, World!

"; }

Darkbasic Back to index

` Hello World in Darkbasic print "Hello World!" wait key

Dart Back to index

// Hello world in Dart main() { print('Hello world!'); }

Databasic Back to index

PROGRAM HELLO.B # Hello World in Databasic CRT "HELLOW WORLD" END

Dataflex Back to index

// Hello World in Dataflex Procedural /tela Hello world /* clearscreen page tela

dBase Back to index

* Hello World in dBase IV ? "Hello World!"

dc Back to index

#!/usr/bin/dc # Hello world! in dc (Unix desk calculator) [Hello world!]p

DCL Back to index

$! Hello world in Digital/Compaq/HP DCL (Digital Command Language) $ write sys$output "Hello World"

Delphi Back to index

// Hello World in Delphi Program Hello_World; {$APPTYPE CONSOLE} Begin WriteLn('Hello World'); End.

Dialect Back to index

# Hello World in Dialect print "Hello World"

DM Back to index

// Hello World in DM (Dream Maker) mob Login() ..() world << "Hello World!"

DML Back to index

! Hello World in DML (Gembase database language) PROCEDURE_FORM MAIN PRINT/NOWAIT ("Hello world") END_FORM

Draco Back to index

/* Hello world in Draco */ proc main()void: writeln("Hello world!"); corp;

DWIM Back to index

Hello World in DWIM ("Do what I mean"). Comments are not needed in this language.

DWIM

Dylan Back to index

module: hello-world author: Homer copyright: (c) 1994 Homer version: 1.0 // Hello World in DYLAN define method main (#rest args) princ("Hello world!"); end; main();

DynaMorph Back to index

<<!! Hello World in DynaMorph >> <#setString foo {Hello World!}#> <html> <head> <title>DynaMorph</title> </head> <body> <#getString foo#> </body> </html>

E Back to index

# Hello World in E println("Hello, world!")

easm Back to index

// Hello World in easm (Win32). subsystem cui section imports from msvcr70.dll import printf from kernel32.dll import ExitProcess section data string pszOutput = "Hello World!" section code call printf (&pszOutput) call ExitProcess (00h)

Ecstasy Back to index

// Hello world in Ecstasy module HelloWorld { void run() { @Inject Console console; console.println("Hello World!"); } }

Ecstatic Back to index

Hello world in Ecstatic. No comments are possible in this language.

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

(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)

Eiffel Back to index

note "Hello World in Eiffel" class HELLO create run feature run do print ("Hello World!%N") end end

Elan Back to index

(* Hello World in ELAN *) putline ("Hello World!");

ELENA 3.0 Back to index

// Hello world in ELENA 3.0 program = [ console writeLine:"Hello world!". ].

ELENA 4.0 Back to index

// Hello world in ELENA 4.0 public program() { console.writeLine("Hello world!") }

Elixir Back to index

# Hello world in Elixir defmodule HelloWorld do IO.puts "Hello, World!" end

Elliott Back to index

:: Hello World in Elliott Autocode SETF PUNCH SETR 1 1)TELEPRINTER LINE TITLE Hello World.; STOP START 1

Elm Back to index

-- Hello world in Elm import Text main = Text.plainText "Hello, world!"

Emojicode Back to index

👴 Hello world in Emojicode 🐇 🐼 🍇 🐇🐖 🏁 ➡️ 🚂 🍇 😀 🔤Hello world!🔤 🍎 0 🍉 🍉

Emoticon Back to index

** Hello world in Emoticon ** hello world :-Q S:-P :-Q

EOS 2 Back to index

// Hello world in EOS 2 Fenster:Fenster Text:Textfeld Fenster.zeichne(Text) Text.zeileHinzufügen("Hello, World!")

Erlang Back to index

%% Hello World in Erlang -module(hello). -export([hello/0]). hello() -> io:format("Hello World!~n", []).

ERRE Back to index

! Hello world in ERRE PROGRAM HELLO BEGIN PRINT("Hello World!") END PROGRAM

Eta Back to index

-- Hello world in Eta main = putStrLn $ "Hello World!"

Euphoria Back to index

-- Hello World in Euphoria puts(1, "Hello World!

")

Eve Back to index

# Hello world in Eve bind @browser [tag: "div", text: "Hello, world"]

Ezhil Back to index

# Hello world in Ezhil பதிப்பி "வணக்கம்!" பதிப்பி "உலகே வணக்கம்" பதிப்பி "******* நன்றி!. *******" exit()

(* Hello World in F# *) printf "Hello World!

"

F Back to index

! Hello world in F program hello print *, "Hello world!" end program hello

Falcon Back to index

// Hello World in Falcon > "Hello World!"

FALSE Back to index

{ Hello World in FALSE } "Hello world! "

Felix Back to index

// Hello world in Felix println$ "Hello World";

Fennel Back to index

// Hello world in Fennel (print "Hello world!")

Ferite Back to index

/** * start script -- Hello world in Ferite ( www.ferite.org ) */ uses "console"; Console.println("Hello World"); /* end script */

Fetlang Back to index

(Hello world in Fetlang) Make slave scream "Hello World!"

Filemaker Back to index

#Hello World in Filemaker Script Show Custom Dialog ["Hello World" ; "Hello World"]

Fjölnir Back to index

;; Hello World in Fjölnir (Icelandic programming language) "hello" < main { main -> stef(;) stofn skrifastreng(;"Halló Veröld!"), stofnlok } * "GRUNNUR" ;

Flaming Thunder Back to index

# Write "Hello world" in Flaming Thunder. Write "Hello world".

Focal Back to index

1.01 COMMENT HELLO WORLD IN FOCAL 1.02 TYPE "HELLO WORLD", ! 1.03 QUIT

FOCUS Back to index

-* Hello World in FOCUS -TYPE Hello world

Folders Back to index

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

Forth Back to index

' Hello world in Forth ." Hello World" CR

Fortran Back to index

C Hello World in Fortran PROGRAM HELLO WRITE (*,100) STOP 100 FORMAT (' Hello World! ' /) END

Fortran77 Back to index

C Hello World in Fortran 77 PROGRAM HELLO PRINT*, 'Hello World!' END

Fortran90 Back to index

! Hello World in Fortran 90 and 95 PROGRAM HelloWorld WRITE(*,*) "Hello World!" END PROGRAM

FortranIV Back to index

PROGRAM HELLO c C Hello World in Fortran IV (supposedly for a TR440) c WRITE (6,'('' Hello World!'')') END

Fortress Back to index

(* Hello World in Fortress *) export Executable run(args) = print "Hello, world!"

FreeBASIC Back to index

'Hello World in FreeBASIC print "Hello World"

Frink Back to index

// Hello World in Frink println["Hello World!"]

Full Metal Jacket Back to index

// Hello world in Full Metal Jacket

Hello World in G-code. Click here for a preview.

% O1000 (PROGRAM NAME - HELLOWORLD) (DATE=DD-MM-YY - 30-06-05 TIME=HH:MM - 19:37) N10G20 N20G0G17G40G49G80G90 /N30G91G28Z0. /N40G28X0.Y0. /N50G92X0.Y0.Z0. ( 1/16 FLAT ENDMILL TOOL - 1 DIA. OFF. - 1 LEN. - 1 DIA. - .0625) (CONTOUR) N60T1M6 N70G0G90X0.Y1.A0.S5000M3 N80G43H1Z.5 N90Z.25 N100G1Z-.005F2. N110Y0.F20. N120G0Z.5 N130X.5 N140Z.25 N150G1Z-.005F2. N160Y1.F20. N170G0Z.5 N180Y.6106 N190Z.25 N200G1Z-.005F2. N210X0.F20. N220G0Z.5 N230X.6157Y.4712 N240Z.25 N250G1Z-.005F2. N260X.6039Y.4135F20. N270X.6Y.351 N280X1.1 N290G3X1.0098Y.6202R.4333 N300X.8941Y.6971R.2625 N310X.7255Y.6538R.1837 N320X.6157Y.4712R.332 N330G0Z.5 N340X.6Y.351 N350Z.25 N360G1Z-.005F2. N370X.6039Y.2885F20. N380G3X.7255Y.0481R.385 N390X.9745R.1853 N400X1.0843Y.2308R.332 N410G0Z.5 N420X1.2039Y0. N430Z.25 N440G1Z-.005F2. N450Y1.F20. N460G0Z.5 N470X1.3098 N480Z.25 N490G1Z-.005F2. N500Y0.F20. N510G0Z.5 N520X1.4706Y.125 N530Z.25 N540G1Z-.005F2. N550X1.502Y.0817F20. N560G3X1.6176Y.0048R.2625 N570X1.7863Y.0481R.1837 N580X1.9118Y.351R.3957 N590X1.8216Y.6202R.4333 N600X1.7059Y.6971R.2625 N610X1.5373Y.6538R.1837 N620X1.4157Y.4135R.358 N630X1.4706Y.125R.4611 N640G0Z.5 N650X1.9853Y0. N660Z.25 N670G1Z-.005F2. N680X2.0422Y.1442F20. N690G0Z.5 N700X2.5706Y1. N710Z.25 N720G1Z-.005F2. N730X2.6961Y0.F20. N740X2.8216Y1. N750X2.9451Y0. N760X3.0706Y1. N770G0Z.5 N780X3.2961Y.6538 N790Z.25 N800G1Z-.005F2. N810X3.2608Y.6202F20. N820G3X3.1745Y.2885R.4408 N830X3.2961Y.0481R.385 N840X3.5451R.1853 N850X3.6706Y.351R.3957 N860X3.5804Y.6202R.4333 N870X3.4647Y.6971R.2625 N880X3.2961Y.6538R.1837 N890G0Z.5 N900X3.7461Y.7019 N910Z.25 N920G1Z-.005F2. N930Y0.F20. N940G0Z.5 N950Y.3654 N960Z.25 N970G1Z-.005F2. N980X3.7637Y.4663F20. N990G2X3.8422Y.6587R.4948 N1000X3.9167Y.7019R.0929 N1010G1X4.0755 N1020G2X4.15Y.6587R.0929 N1030X4.1951Y.5769R.246 N1040G0Z.5 N1050X4.3255Y1. N1060Z.25 N1070G1Z-.005F2. N1080Y0.F20. N1090G0Z.5 N1100X4.9275 N1110Z.25 N1120G1Z-.005F2. N1130Y1.F20. N1140G0Z.5 N1150X5.0314 N1160Z.25 N1170G1Z-.005F2. N1180Y.2981F20. N1190G0Z.5 N1200X4.9275Y.274 N1210Z.25 N1220G1Z-.005F2. N1230X4.8941Y.1731F20. N1240G2X4.7627Y.0192R.3255 N1250X4.5529Y.0481R.1862 N1260X4.4314Y.2885R.358 N1270X4.5176Y.6202R.4408 N1280X4.6333Y.6971R.2625 N1290X4.802Y.6538R.1837 N1300X4.8941Y.5288R.3457 N1310G1X4.9275Y.4279 N1320G0Z.5 N1330X5.0314Y.149 N1340Z.25 N1350G1Z-.005F2. N1360Y0.F20. N1370G0Z.5 N1380M5 N1390G91G28Z0. N1400G28X0.Y0.A0. N1410M30 %

Gambas Back to index

'************************************ ' Hello world in Gambas '************************************ PUBLIC SUB Main() PRINT "Hello World" END

GameMonkey Script Back to index

// Hello World in GameMonkey Script print("Hello World");

Genero BDL Back to index

-- Hello world in Genero BDL main display "hello world" end main

Genie Back to index

// Hello world in Genie init print "Hello world!"

// Hello World in Gentee (simple version) func hello<main> : @"Hello, World!"

Gentee Back to index

// Hello World in Gentee func hello <main> { print( "Hello, World!" ) getch() }

GLBasic Back to index

// Hello World in GLBasic PRINT "Hello World",1,1 SHOWSCREEN MOUSEWAIT

GML Back to index

// Hello World in GML (Game Maker Language) draw_text(10,10,"Hello World") screen_refresh() keyboard_wait()

Go Back to index

// Hello world in Go package main import "fmt" func main() { fmt.Printf("Hello World

") }

Gofer Back to index

-- Hello World in Gofer -- Simple version helloWorld:: String helloWorld = "Hello World!

" -- Hello World in Gofer -- Dialog version helloWorld :: Dialogue helloWorld resps = [AppendChan stdout "Hello world!"]

GoogleGadgets Back to index

<?xml version="1.0" encoding="UTF-8" ?> <!-- Hello World as a Google gadget --> <Module> <ModulePrefs title="hello world example" /> <Content type="html"> <![CDATA[ Hello, world! ]]> </Content> </Module>

Gosu Back to index

// Hello world in Gosu print ( "Hello World!" )

GRAMophone Back to index

//Hello World in GRAMophone composition "Hello, World!" of "Composer" { % player player1 { grammar lindenmayer % axiom->print("Hello, World!"); } player player2 { grammar chomsky % @composition->print("Hello, World!"); } }

Gravity Back to index

// Hello world in Gravity func main() { System.print("Hello World!"); }

Gri Back to index

# Hello World in Gri show "hello world"

Groovy Back to index

// Hello World in Groovy println "Hello World"

Guile Back to index

; Hello world in Guile (define do-hello (lambda () (display "Hello world.") (newline)))

GynkoSoft Back to index

; Hello World in GynkoSoft ; Simple version 0.00 Protocol "Hello, World!" ; Hello World in GynkoSoft ; Dialog box output 0.00 Message "Hello, World!"

Hack Back to index

<?hh // Hello world in Hack echo 'Hello World';

Harbour Back to index

// Hello world in Harbour ? "Hello World"

Haskell Back to index

-- Hello World in Haskell main = putStrLn "Hello World"

Have Back to index

// Hello world in Have func main() { print("Hello, world!") }

Haxe Back to index

// Hello world in Haxe class Hello { static public function main() { trace("Hello world!"); } }

HDX Back to index

# Hello World as bdehaldia.exe external command proc hdx_info {} { set ::Titel [TRA "&Hello World"] set ::Menu GMA } proc hdx_run {} { tk_messageBox -type ok -message [TRA "Hello World!"] destroy . }

HolyC Back to index

// Hello World in HolyC, the language of TempleOS "Hello world";

Hoon Back to index

:: Hello world in Hoon !:("Hello World")

Hello World for the HP 41C. No comment character exists. 01 LBL "HELLO" 02 "HELLO WORLD" 03 AVIEW

<< @ Hello World for the HP-48 @ << and >> are one char each "HELLO WORLD" >>

Hello World in HQ9+ and HQ9++. No comment character exists. H

HTML Back to index

<HTML> <!-- Hello World in HTML --> <HEAD> <TITLE>Hello World!</TITLE> </HEAD> <BODY> Hello World! </BODY> </HTML>

Hubot Back to index

# Hello world as a Hubot script module.exports = (robot) -> robot.respond /hello/i, (msg) -> msg.send 'Hello World!'

Human Back to index

Hello World in human languages.

Afrikaans Hallo, wêreld! Albanian Pershëndetje Botë Arabic أهلاً بالعالم (Ahlan bil 'Alam) Armenian Բարե՛ւ, աշխարհ։ (barev ash'kharh) Azeri Salam Dünya Czech Ahoj Světe! Basque/Euskara Kaixo mundua! Belarusian Прывітанне свет (Pryvitannie sviet) Bemba Shani Mwechalo! Bengali Shagatam Prithivi! Bosnian Zdravo Svijete! Bulgarian Здравей, свят! (Zdrav'ei svi'at) Cambodian ជំរាបសួរ ពិភពលោក (chomreabsuor piphoplok) Catalan Hola món! Chinese 你好世界 (nǐ hǎo shì jiè) Cherokee ᎣᏏᏲ ᎡᎶᎯ (O-si-yo E-lo-hi) Chinook Wawa Klahowya Hayas Klaska Croatian Bok Svijete! Danish Hej, Verden! Dutch Hallo, wereld! English Hello World! Esperanto Saluton mondo! Estonian Tere maailm! Finnish Hei maailma! French Salut le Monde! Frisian Hallo, wrâld! Galician Ola mundo! German Hallo Welt! Greek Γεια σου κόσμε! (Geia soy kosme) Hawaiian Aloha Honua Hebrew שלום עולם (Shalom Olam) Hindi नमस्ते दुनिया (namaste duniya) Hmong Nyob zoo ntiaj teb. Hungarian Helló világ! Icelandic Halló heimur! Igbo Ndewo Ụwa Indonesian Halo Dunia! Irish Dia dhaoibh, a dhomhain! Italian Ciao Mondo! Japanese こんにちは、 世界！ (konnichiwa sekai) Kannada ಹಲೋ ವರ್ಲ್ಡ್ (Halō varlḍ) Kiswahili Habari dunia! Kikuyu Niatia thi! Klingon nuqneH Korean 반갑다 세상아 (bangabda, sesangah) Lao ສະບາຍດີ,ໂລກ (sabaidi olk) Latin AVE MVNDE (ave munde) Latvian Sveika, Pasaule! Lithuanian Sveikas, Pasauli Lojban coi li terdi Luxembourgish Moien Welt! Malagasy Manao ahoana ry tany! Malayalam Namaskaram, lokame Maltese Merhba lid-dinja Norwegian Hallo verden! Persian !سلام دنیا (Salaam Donyaa!) Polish Witaj świecie! Portuguese Olá, mundo! Punjabi ਸਤਿ ਸ੍ਰੀ ਅਕਾਲ ਦੁਨਿਆ (Sati srī akāla duni'ā) Romanian Salut lume! Russian Здравствуй, мир! (Zdra'vstvuj mi'r) Scots Gaelic Halò, a Shaoghail! Serbian Zdravo Svete! Slovak Ahoj, svet! Slovenian Pozdravljen svet! Spanish ¡Hola mundo! Swedish Hallå världen! Tagalog Kamusta mundo! Tamil ஹலோ உலகம் (Halō ulakam) Telugu హలో వరల్డ్ (Halō varalḍ) Thai สวัสดีโลก! (sawadee lok) Turkish Merhaba Dünya! Ukrainian Привiт, свiте! (Pryvi't svi'te) Urdu ہیلو دنیا والو Vietnamese Xin chào thế giới Welsh S'mae byd! Yiddish העלא וועלט (hela velt) Zulu Sawubona Mhlaba

HyperTalk Back to index

-- Hello World in HyperTalk answer "Hello, world!"

Hello World for IBM EXEC (under VM/CMS) &CONTROL * &TYPE Hello World! * &EXIT 0

Hello World for IBM EXEC2 (under VM/CMS) &TRACE OFF * &TYPE Hello World! * &EXIT 0

ici Back to index

# Hello World in ici (http://www.zeta.org.au/~atrn/ici/) printf("Hello World!

");

ICL SCL Back to index

@ HELLO WORLD IN ICL SCL BEGIN SEND_MESSAGE("HELLO WORLD") END

Icon Back to index

# Hello world in Icon (http://www.cs.arizona.edu/icon/) procedure main() write("Hello world") end

IDC Back to index

// Hello World in IDC-script language for IDA disaasembler #include <idc.idc> static main(void) { Message("Hello World!"); }

IDL Back to index

IDL> ; Hello World in IDL (Interactive Data Language) IDL> print, "Hello World"

Idris Back to index

-- Hello world in Idris module Main main : IO () main = putStrLn "Hello world"

Imba Back to index

// Hello world in Imba console.log "hello world" $$(body).append <h1> "Hello world"

Inform Back to index

! "Hello world" in Inform [ Main; print "Hello world^"; ];

Informix 4GL Back to index

# Hello World in Informix 4GL MAIN DISPLAY "Hello World" END MAIN

Ingres ABF Back to index

/* Hello World in Ingres ABF */ procedure hello = begin message 'Hello, World' with style=popup; end

InstallScript Back to index

// Hello World in InstallScript // (Scripting language of InstallShield, a Windows install generator) program MessageBox("Hello World!",INFORMATION); endprogram

Intercal Back to index

Hello World in Intercal DO ,1 <- #13 PLEASE DO ,1 SUB #1 <- #234 DO ,1 SUB #2 <- #112 DO ,1 SUB #3 <- #112 DO ,1 SUB #4 <- #0 DO ,1 SUB #5 <- #64 DO ,1 SUB #6 <- #194 DO ,1 SUB #7 <- #48 PLEASE DO ,1 SUB #8 <- #22 DO ,1 SUB #9 <- #248 DO ,1 SUB #10 <- #168 DO ,1 SUB #11 <- #24 DO ,1 SUB #12 <- #16 DO ,1 SUB #13 <- #214 PLEASE READ OUT ,1 PLEASE GIVE UP

Io Back to index

// Hello World in io programming language "Hello world!" print

Iptscrae Back to index

; Hello World in Iptscrae. ; 1. from the chat prompt: / "Hello World!" SAY ; 2. in a cyborg: ON OUTCHAT { { "Hello World!" SAY } CHATSTR "say it" == IF } ; 3. in a room script: ON SELECT { "Hello World!" SAY }

J Back to index

NB. Hello World in J 'Hello World' 1!:2(2)

Jade Back to index

// Hello World in JADE write "Hello World";

Jako Back to index

# Hello World in Jako use sys; sys::print("Hello, world!

");

Janet Back to index

# Hello world in Janet (print "hello, world!")

Jason Back to index

// Hello World in Jason !greeting. +!greeting : true <- .print("Hello World").

Java Back to index

// Hello World in Java class HelloWorld { static public void main( String args[] ) { System.out.println( "Hello World!" ); } }

Java (Mobile) Back to index

// Hello World on a mobile Java device package helloworld; import javax.microedition.midlet.*; import javax.microedition.lcdui.*; public class HelloWorld extends MIDlet { public HelloWorld() { Form form = new Form("Hello World"); form.append("Hello world!"); Display.getDisplay(this).setCurrent(form); } protected void pauseApp() { } protected void startApp() throws javax.microedition.midlet.MIDletStateChangeException { } protected void destroyApp(boolean parm1) throws javax.microedition.midlet.MIDletStateChangeException { } }

Java (Servlet) Back to index

import javax.servlet.*; import javax.servlet.http.*; import java.io.*; // // Hello World Java Servlet // public class HelloWorld extends HttpServlet { public void service(HttpServletRequest request, HttpServletResponse response) throws IOException { response.setContentType("text/html"); PrintWriter out = response.getWriter(); out.println("<html><body>"); out.println("Hello World!"); out.println("</body></html>"); } }

Java (Swing) Back to index

// Hello World in Java using Swing GUI class HelloWorldSwing { static public void main(String args[]) { javax.swing.JOptionPane.showMessageDialog(null,"Hello world!"); } }

Java Server Pages Back to index

<!-- Hello World for Java Server Pages --> <%@ page language='java' %> <%="Hello World!" %>

JavaScript Back to index

// Hello world in JavaScript console.log("Hello World");

JCL Back to index

//HERIB JOB ,'HERIBERT OTTEN',PRTY=12 //* HELLO WORLD FOR MVS //HALLO EXEC PGM=IEBGENER //SYSIN DD DUMMY //SYSPRINT DD SYSOUT=* //SYSUT2 DD SYSOUT=T //SYSUT1 DD * HELLO WORLD! /* //

Jess Back to index

; Hello World in JESS (printout t "Hello World")

Jorf Back to index

| Hello world in Jorf Hello:Start Msg:Add("Hello", "Ok") Hello World! Return

JSFuck Back to index

// Hello world in JSFuck [][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]][([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]])[+!+[]+[+[]]]+([][[]]+[])[+!+[]]+(![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[+!+[]]+([][[]]+[])[+[]]+([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]])[+!+[]+[+[]]]+(!![]+[])[+!+[]]]((![]+[])[+!+[]]+(![]+[])[!+[]+!+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]+(!![]+[])[+[]]+(![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]])[!+[]+!+[]+[+[]]]+([]+[])[(![]+[])[+[]]+(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]])[+!+[]+[+[]]]+([][[]]+[])[+!+[]]+(!![]+[])[+[]]+([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]])[+!+[]+[+[]]]+(!![]+[])[+!+[]]]()[+!+[]+[!+[]+!+[]]]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]][([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]])[+!+[]+[+[]]]+([][[]]+[])[+!+[]]+(![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[+!+[]]+([][[]]+[])[+[]]+([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]])[+!+[]+[+[]]]+(!![]+[])[+!+[]]]((!![]+[])[+!+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+[]]+([][[]]+[])[+[]]+(!![]+[])[+!+[]]+([][[]]+[])[+!+[]]+(+[![]]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]])[+!+[]+[+!+[]]]+([][[]]+[])[+[]]+([][[]]+[])[+!+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(![]+[])[!+[]+!+[]+!+[]]+([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(![]+[])[+!+[]]+(+(!+[]+!+[]+[+!+[]]+[+!+[]]))[(!![]+[])[+[]]+(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]])[+!+[]+[+[]]]+(+![]+([]+[])[([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]])[+!+[]+[+[]]]+([][[]]+[])[+!+[]]+(![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[+!+[]]+([][[]]+[])[+[]]+([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]])[+!+[]+[+[]]]+(!![]+[])[+!+[]]])[+!+[]+[+[]]]+(!![]+[])[+[]]+(!![]+[])[+!+[]]+([![]]+[][[]])[+!+[]+[+[]]]+([][[]]+[])[+!+[]]+(+![]+[![]]+([]+[])[([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]])[+!+[]+[+[]]]+([][[]]+[])[+!+[]]+(![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[+!+[]]+([][[]]+[])[+[]]+([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]])[+!+[]+[+[]]]+(!![]+[])[+!+[]]])[!+[]+!+[]+[+[]]]](!+[]+!+[]+!+[]+[+!+[]])[+!+[]]+(!![]+[])[!+[]+!+[]+!+[]])()([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]][([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]])[+!+[]+[+[]]]+([][[]]+[])[+!+[]]+(![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[+!+[]]+([][[]]+[])[+[]]+([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]])[+!+[]+[+[]]]+(!![]+[])[+!+[]]]((!![]+[])[+!+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+[]]+([][[]]+[])[+[]]+(!![]+[])[+!+[]]+([][[]]+[])[+!+[]]+(+[![]]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]])[+!+[]+[+!+[]]]+(!![]+[])[!+[]+!+[]+!+[]]+(![]+[])[!+[]+!+[]+!+[]]+([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(![]+[])[+!+[]]+(+(!+[]+!+[]+[+!+[]]+[+!+[]]))[(!![]+[])[+[]]+(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]])[+!+[]+[+[]]]+(+![]+([]+[])[([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]])[+!+[]+[+[]]]+([][[]]+[])[+!+[]]+(![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[+!+[]]+([][[]]+[])[+[]]+([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]])[+!+[]+[+[]]]+(!![]+[])[+!+[]]])[+!+[]+[+[]]]+(!![]+[])[+[]]+(!![]+[])[+!+[]]+([![]]+[][[]])[+!+[]+[+[]]]+([][[]]+[])[+!+[]]+(+![]+[![]]+([]+[])[([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]])[+!+[]+[+[]]]+([][[]]+[])[+!+[]]+(![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[+!+[]]+([][[]]+[])[+[]]+([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]])[+!+[]+[+[]]]+(!![]+[])[+!+[]]])[!+[]+!+[]+[+[]]]](!+[]+!+[]+!+[]+[+!+[]])[+!+[]]+(!![]+[])[!+[]+!+[]+!+[]])()(([]+[])[([![]]+[][[]])[+!+[]+[+[]]]+(!![]+[])[+[]]+(![]+[])[+!+[]]+(![]+[])[!+[]+!+[]]+([![]]+[][[]])[+!+[]+[+[]]]+([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(![]+[])[!+[]+!+[]+!+[]]]()[+[]])[+[]]+(!+[]+!+[]+!+[]+!+[]+[!+[]+!+[]+!+[]+!+[]+!+[]+!+[]+!+[]+!+[]])+[])+(!![]+[])[!+[]+!+[]+!+[]]+(![]+[])[!+[]+!+[]]+(![]+[])[!+[]+!+[]]+(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]])[+!+[]+[+[]]]+[[]][([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]])[+!+[]+[+[]]]+([][[]]+[])[+!+[]]+([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(![]+[])[+!+[]]+(!![]+[])[+[]]]([[]])+[]+(+[![]]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]])[+!+[]+[+!+[]]]+(+(!+[]+!+[]+!+[]+[!+[]+!+[]]))[(!![]+[])[+[]]+(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]])[+!+[]+[+[]]]+(+![]+([]+[])[([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]])[+!+[]+[+[]]]+([][[]]+[])[+!+[]]+(![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[+!+[]]+([][[]]+[])[+[]]+([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]])[+!+[]+[+[]]]+(!![]+[])[+!+[]]])[+!+[]+[+[]]]+(!![]+[])[+[]]+(!![]+[])[+!+[]]+([![]]+[][[]])[+!+[]+[+[]]]+([][[]]+[])[+!+[]]+(+![]+[![]]+([]+[])[([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]])[+!+[]+[+[]]]+([][[]]+[])[+!+[]]+(![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[+!+[]]+([][[]]+[])[+[]]+([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]])[+!+[]+[+[]]]+(!![]+[])[+!+[]]])[!+[]+!+[]+[+[]]]](!+[]+!+[]+!+[]+[!+[]+!+[]+!+[]])+(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]])[+!+[]+[+[]]]+(!![]+[])[+!+[]]+(![]+[])[!+[]+!+[]]+([][[]]+[])[!+[]+!+[]]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]][([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]])[+!+[]+[+[]]]+([][[]]+[])[+!+[]]+(![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[+!+[]]+([][[]]+[])[+[]]+([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]])[+!+[]+[+[]]]+(!![]+[])[+!+[]]]((!![]+[])[+!+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+[]]+([][[]]+[])[+[]]+(!![]+[])[+!+[]]+([][[]]+[])[+!+[]]+(+[![]]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]])[+!+[]+[+!+[]]]+([][[]]+[])[+[]]+([][[]]+[])[+!+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(![]+[])[!+[]+!+[]+!+[]]+([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(![]+[])[+!+[]]+(+(!+[]+!+[]+[+!+[]]+[+!+[]]))[(!![]+[])[+[]]+(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]])[+!+[]+[+[]]]+(+![]+([]+[])[([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]])[+!+[]+[+[]]]+([][[]]+[])[+!+[]]+(![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[+!+[]]+([][[]]+[])[+[]]+([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]])[+!+[]+[+[]]]+(!![]+[])[+!+[]]])[+!+[]+[+[]]]+(!![]+[])[+[]]+(!![]+[])[+!+[]]+([![]]+[][[]])[+!+[]+[+[]]]+([][[]]+[])[+!+[]]+(+![]+[![]]+([]+[])[([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]])[+!+[]+[+[]]]+([][[]]+[])[+!+[]]+(![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[+!+[]]+([][[]]+[])[+[]]+([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]])[+!+[]+[+[]]]+(!![]+[])[+!+[]]])[!+[]+!+[]+[+[]]]](!+[]+!+[]+!+[]+[+!+[]])[+!+[]]+(!![]+[])[!+[]+!+[]+!+[]])()([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]][([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]])[+!+[]+[+[]]]+([][[]]+[])[+!+[]]+(![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[+!+[]]+([][[]]+[])[+[]]+([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]])[+!+[]+[+[]]]+(!![]+[])[+!+[]]]((!![]+[])[+!+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+[]]+([][[]]+[])[+[]]+(!![]+[])[+!+[]]+([][[]]+[])[+!+[]]+(+[![]]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]])[+!+[]+[+!+[]]]+(!![]+[])[!+[]+!+[]+!+[]]+(![]+[])[!+[]+!+[]+!+[]]+([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(![]+[])[+!+[]]+(+(!+[]+!+[]+[+!+[]]+[+!+[]]))[(!![]+[])[+[]]+(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]])[+!+[]+[+[]]]+(+![]+([]+[])[([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]])[+!+[]+[+[]]]+([][[]]+[])[+!+[]]+(![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[+!+[]]+([][[]]+[])[+[]]+([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]])[+!+[]+[+[]]]+(!![]+[])[+!+[]]])[+!+[]+[+[]]]+(!![]+[])[+[]]+(!![]+[])[+!+[]]+([![]]+[][[]])[+!+[]+[+[]]]+([][[]]+[])[+!+[]]+(+![]+[![]]+([]+[])[([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]])[+!+[]+[+[]]]+([][[]]+[])[+!+[]]+(![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[+!+[]]+([][[]]+[])[+[]]+([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]])[+!+[]+[+[]]]+(!![]+[])[+!+[]]])[!+[]+!+[]+[+[]]]](!+[]+!+[]+!+[]+[+!+[]])[+!+[]]+(!![]+[])[!+[]+!+[]+!+[]])()(([]+[])[([![]]+[][[]])[+!+[]+[+[]]]+(!![]+[])[+[]]+(![]+[])[+!+[]]+(![]+[])[!+[]+!+[]]+([![]]+[][[]])[+!+[]+[+[]]]+([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(![]+[])[!+[]+!+[]+!+[]]]()[+[]])[+[]]+(!+[]+!+[]+[+!+[]])+[])+([]+[])[(![]+[])[+[]]+(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]])[+!+[]+[+[]]]+([][[]]+[])[+!+[]]+(!![]+[])[+[]]+([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]])[+!+[]+[+[]]]+(!![]+[])[+!+[]]]()[+!+[]+[!+[]+!+[]]]+(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]])[!+[]+!+[]+[+[]]]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]][([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]])[+!+[]+[+[]]]+([][[]]+[])[+!+[]]+(![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[+!+[]]+([][[]]+[])[+[]]+([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]])[+!+[]+[+[]]]+(!![]+[])[+!+[]]]((!![]+[])[+!+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+[]]+([][[]]+[])[+[]]+(!![]+[])[+!+[]]+([][[]]+[])[+!+[]]+(+[![]]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]])[+!+[]+[+!+[]]]+([][[]]+[])[+[]]+([][[]]+[])[+!+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(![]+[])[!+[]+!+[]+!+[]]+([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(![]+[])[+!+[]]+(+(!+[]+!+[]+[+!+[]]+[+!+[]]))[(!![]+[])[+[]]+(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]])[+!+[]+[+[]]]+(+![]+([]+[])[([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]])[+!+[]+[+[]]]+([][[]]+[])[+!+[]]+(![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[+!+[]]+([][[]]+[])[+[]]+([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]])[+!+[]+[+[]]]+(!![]+[])[+!+[]]])[+!+[]+[+[]]]+(!![]+[])[+[]]+(!![]+[])[+!+[]]+([![]]+[][[]])[+!+[]+[+[]]]+([][[]]+[])[+!+[]]+(+![]+[![]]+([]+[])[([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]])[+!+[]+[+[]]]+([][[]]+[])[+!+[]]+(![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[+!+[]]+([][[]]+[])[+[]]+([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]])[+!+[]+[+[]]]+(!![]+[])[+!+[]]])[!+[]+!+[]+[+[]]]](!+[]+!+[]+!+[]+[+!+[]])[+!+[]]+(!![]+[])[!+[]+!+[]+!+[]])()([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]][([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(