Merge pull request #2 from leachim6/master

update to recent
This commit is contained in:
Atlas Sullivan
2017-03-04 16:11:08 +00:00
committed by GitHub
95 changed files with 1131 additions and 70 deletions

13
CONTRIBUTING.md Normal file
View File

@@ -0,0 +1,13 @@
Contributing
============
When adding new "Hello World" programs, please name the file according to the language it was written in, don't abbreviate the language name too much (so use "JavaScript", not "JS") but don't make it TOO long (so use "CSS" not "Cascading Style Sheets". Use hyphens ("-") as word seperators, and only use a single dot (for seperating the filename from the extension). For example, a "Hello World" program in Objective C should be named "Objective-C.m, and the one in HTML should be named HTML.html.
**INPORTANT: IF YOU WANT TO CHANGE THE README (`README.md`), EDIT `README_nolist.md` (!) THEN RUN THE `list_langs.py` SCRIPT AS NOTED BELOW.**
Use
```bash
./list_langs.py
```
for updating the list of languages in `README.md` (make sure you are in the repository's root directory when running the script). This script will completely re-write `README.md`, copying the contents of `README_nolist.md` before the listing.
**NOTE THAT THIS SCRIPT MUST BE EXECUTED ON PYTHON 3.6+!** If your default isn't 3.6+, use `python3 list_langs.py`.

501
README.md
View File

@@ -3,11 +3,508 @@ Hello, World!
Hello world in every programming language.
Inspired by[Helloworldcollection.de](http://helloworldcollection.de/)
Inspired by [The Hello World Collection](https://helloworldcollection.github.io/)
As I watch the collection expand, this project has blown up more than I ever thought possible.
Thanks to everyone who continues to contribute, new languages are created every day!
Make sure to see CONTRIBUTING.md for instructions on contributing to the project!
Spin-Off project smartly suggested and implemented by @zenware
Spin-Off project smartly suggested and implemented by @zenware
Meet [FizzBuzz](https://github.com/zenware/FizzBuzz) the evolution of [hello-world](https://github.com/leachim6/hello-world)
### This repository currently contains "Hello World" programs in the following languages:
* [0815](%23/0815.0815)
* [1c Enterprise](%23/1c-enterprise)
* [2b](%23/2B.2b)
* [4gl](%23/4gl.4gl)
* [4test](%23/4test)
* [4thdimension](%23/4thdimension.4dd)
* [~english](%23/~English.ext)
* [Abap](a/abap.abap)
* [Abc](a/abc.abc)
* [Acidic](a/ACIDIC.acidic)
* [Acpi](a/acpi)
* [Acronym](a/ACRONYM.acronym)
* [Acs](a/acs.acs)
* [Actionscript](a/actionscript.as)
* [Actionscript2](a/actionscript2.as)
* [Actionscript3](a/actionscript3.as)
* [Actionscript Flashmx](a/actionscript_flashmx.as)
* [Ada](a/ada.ada)
* [Advpl](a/advpl)
* [Aeolbonn](a/Aeolbonn.aeo)
* [Aeolbonn](a/aeolbonn.aeolbonn)
* [Agda](a/agda.agda)
* [Aheui](a/aheui.aheui)
* [Aime](a/aime.aime)
* [Aiml](a/aiml.aiml)
* [Alaguf](a/ALAGUF.alaguf)
* [Alda](a/alda.alda)
* [Algae](a/algae.algae)
* [Algol W](a/ALGOL-W.algol)
* [Algol60](a/algol60.algol60)
* [Algol68](a/algol68.algol68)
* [Alore](a/alore.alore)
* [Amiga E](a/Amiga-E.amiga-e)
* [Amos](a/amos)
* [Android](a/android.java)
* [Angelscript](a/angelscript)
* [Angular](a/angular.js)
* [Ante](a/ante.ante)
* [Antlang](a/AntLang.ant)
* [Apc](a/apc.apc)
* [Apl](a/apl.apl)
* [Applescript](a/applescript.scpt)
* [Arduino](a/arduino.ino)
* [Arena](a/arena.are)
* [Argh](a/argh.agh)
* [Arnoldc](a/arnoldc.arnoldc)
* [Ash](a/ash.ash)
* [Asp](a/asp.asp)
* [Assembler 6502](a/assembler_6502.asm)
* [Assembler 6502appleii](a/assembler_6502appleII.asm)
* [Assembler 6502c64](a/assembler_6502c64.asm)
* [Assembler 6809vectrex](a/assembler_6809vectrex.asm)
* [Assembler 8048 Videopac](a/assembler_8048_videopac.asm)
* [Assembler Atari2600](a/assembler_atari2600.asm)
* [Assembler Dcpu16](a/assembler_DCPU16.asm)
* [Assembler Fasm Dos](a/assembler_fasm_dos.asm)
* [Assembler Ibm360](a/assembler_ibm360.asm)
* [Assembler Intel](a/assembler_intel.asm)
* [Assembler Lc 3](a/assembler_lc-3.asm)
* [Assembler M68000 Amigaos](a/assembler_m68000_amigaos.asm)
* [Assembler Masm Dos](a/assembler_masm_dos.asm)
* [Assembler Masm Win32](a/assembler_masm_win32.asm)
* [Assembler Masm Win64](a/assembler_masm_win64.asm)
* [Assembler Mips](a/assembler_mips.asm)
* [Assembler Mmix](a/assembler_mmix.asm)
* [Assembler Nasm Freebsd](a/assembler_nasm_freebsd.asm)
* [Assembler Nasm Linux](a/assembler_nasm_linux.asm)
* [Assembler Nasm Linux64](a/assembler_nasm_linux64.asm)
* [Assembler Tasm Dos](a/assembler_tasm_dos.asm)
* [Assembler Tms9900 Ti99 4a](a/assembler_tms9900_ti99_4a.asm)
* [Assembler Vax Ultrix](a/assembler_vax_ultrix.asm)
* [Assembler Z80 Knightos](a/assembler_z80_knightos.asm)
* [Assembler Z80 Ti83calculator](a/assembler_z80_ti83calculator.asm)
* [Assembler Z80 Zxspectrum](a/assembler_z80_zxspectrum.asm)
* [Autohotkey](a/autohotkey.ahk)
* [Autoit](a/autoit.au3)
* [Awk](a/awk.awk)
* [B](b/B.b)
* [Bash](b/bash.bash)
* [Basic](b/basic.bas)
* [Batch](b/batch.bat)
* [Batsh](b/batsh.batsh)
* [Battlestar](b/battlestar.bts)
* [Bcpl](b/BCPL.bcl)
* [Beatnik](b/beatnik.beatnik)
* [Befunge](b/befunge.be)
* [Bennugd](b/BennuGD)
* [Beta](b/beta.bet)
* [Bit](b/BIT.bit)
* [Bitbitjump](b/BitBitJump.bbj)
* [Blc](b/BLC.Blc)
* [Blitz3d](b/blitz3d.bb)
* [Blub](b/blub.blub)
* [Boo](b/boo.boo)
* [Brainf Ck 2d](b/brainf-ck-2d.bf2d)
* [Brainf Ck](b/brainf-ck.bf)
* [Brainloller](b/Brainloller.png)
* [Broccoli](b/broccoli.brocc)
* [Brzrk](b/BRZRK.brzrk)
* [Burlesque](b/burlesque.burlesque)
* [Byter](b/byter.byter)
* [C++](c/c++.cpp)
* [C](c/c.c)
* [Caml](c/caml.ml)
* [Cardinal](c/cardinal.cardinal)
* [Casio Basic](c/Casio BASIC)
* [Cat](c/cat.cat)
* [Centura](c/centura.centura)
* [Ceylon](c/ceylon.ceylon)
* [Cgi](c/cgi.c)
* [Chapel](c/chapel.chpl)
* [Cheddar](c/cheddar.cheddar)
* [Chef](c/chef.ch)
* [Chicken](c/chicken.chicken)
* [Cil](c/cil.il)
* [Clean](c/clean.icl)
* [Clipper](c/clipper.clipper)
* [Clipper](c/clipper.prg)
* [Clips](c/clips.clips)
* [Clisp](c/clisp.lisp)
* [Clojure](c/clojure.clj)
* [Cobol](c/cobol.cbl)
* [Coconut](c/coconut.coc)
* [Coffeescript](c/coffeescript.coffee)
* [Coldfusion](c/coldfusion.cfm)
* [Common Lisp](c/common-lisp.lisp)
* [Continuesequation](c/ContinuesEquation.ce)
* [Cool](c/cool.cl)
* [Cor](c/cor.cor)
* [Crystal](c/crystal.cr)
* [Csh](c/csh.csh)
* [Csharp](c/csharp.cs)
* [Css](c/css.css)
* [Cypherneo4j](c/cypherNeo4j.cypher)
* [Hello World](c/hello-world.curry)
* [D](d/d.d)
* [Dark](d/dark.txt)
* [Dart](d/Dart.dart)
* [Db2](d/db2.sql)
* [Dc](d/dc.dc)
* [Dcl](d/DCL)
* [Dd Dd](d/dd_dd.dd)
* [Delphi](d/delphi.delphi)
* [Delphi](d/delphi.pas)
* [Dis](d/dis.dis)
* [Divzeros](d/divzeros.dz)
* [Dna#](d/DNA#.dna)
* [Dna Sharp](d/DNA-Sharp.dna)
* [Dogescript](d/dogescript.djs)
* [Dogo](d/DOGO.dogo)
* [Dos](d/dos.bat)
* [Drive In Window](d/Drive-In Window.diw)
* [Dtrace](d/dtrace.d)
* [Dup](d/DUP.dup)
* [Dylan](d/dylan.dl)
* [Dyvil](d/Dyvil.dyvil)
* [Ebuild](e/ebuild.ebuild)
* [Eiffel](e/Eiffel.eiff)
* [Elixir](e/elixir.ex)
* [Elixir](e/elixir.exs)
* [Emacslisp](e/EmacsLisp.el)
* [Emmental](e/emmental.emmental)
* [Emojicode](e/emojicode.emojic)
* [Emoticon](e/emoticon.emoticon)
* [Eoool](e/EOOOL.eoool)
* [Erlang Hw](e/erlang_hw.erl)
* [Hello Html](e/hello-html.elm)
* [Factor](f/factor.factor)
* [Falcon](f/falcon.fal)
* [False](f/false.f)
* [Fancy](f/fancy.fy)
* [Fantom](f/fantom.fan)
* [Ferite](f/ferite.fe)
* [Fish](f/fish.fish)
* [Fjoelnir](f/fjoelnir.fjo)
* [Fob](f/fob.fob)
* [Focal](f/focal.fc)
* [Fog](f/fog.fog.md)
* [Foo](f/foo.foo)
* [Forobj](f/forobj.forobj)
* [Forth](f/forth.fth)
* [Fortob](f/fortob.fortob)
* [Fortran](f/fortran.f90)
* [Fortran77](f/fortran77.f77)
* [Fourier](f/fourier.fourier)
* [Fsharp](f/fsharp.fs)
* [Gammaplex](g/gammaplex.gammaplex)
* [Gasoil](g/GASOIL.gasoil)
* [Gecho](g/gecho.gecho)
* [Gentzen](g/gentzen.gentzen)
* [Geojson](g/geojson.geojson)
* [Gibberish](g/gibberish.gibberish)
* [Glass](g/glass.glass)
* [Go](g/go.go)
* [Golfscript](g/golfscript.golfscript)
* [Golo](g/golo.golo)
* [Googleappscript](g/googleappscript.gs)
* [Gosu](g/gosu.gosu)
* [Gosu](g/gosu.gs)
* [Green Marl](g/Green-Marl.gm)
* [Gri](g/gri.gri)
* [Gridscript](g/GridScript.gridscript)
* [Grin](g/grin.grin)
* [Groovy](g/groovy.groovy)
* [Hack](h/hack.hh)
* [Haskell](h/haskell.hs)
* [Haxe](h/haxe.hx)
* [Hex](h/HEX.hex)
* [Hexish](h/hexish.hexish)
* [Higher Subleq](h/Higher Subleq.higher_subleq)
* [Hodor](h/hodor.hd)
* [Hollow](h/hollow.hollow)
* [Homespring](h/homespring.homespring)
* [Hop](h/HOP)
* [Hq9+](h/hq9+.h)
* [Html](h/html.html)
* [Hy](h/hy.hy)
* [Hypertalk](h/hypertalk.ht)
* [Ibm1401](i/ibm1401)
* [Icedcoffeescript](i/IcedCoffeeScript.ics)
* [Ici](i/ici.ici)
* [Icon](i/icon.icn)
* [Idl](i/IDL)
* [Idris](i/idris.idr)
* [Il](i/il.il)
* [Incal](i/INCAL.incal)
* [Indec](i/InDec.indec)
* [Inform](i/inform.inform)
* [Ink](i/ink.ink)
* [Intercal](i/intercal.i)
* [Io](i/Io.Io)
* [Ioke](i/ioke.ik)
* [Irc](i/irc)
* [Iscom](i/iscom.iscom)
* [Islisp](i/ISLISP.lisp)
* [J](j/j.ijs)
* [Jade](j/jade.jade)
* [Jai](j/jai.jai)
* [Jasmin](j/Jasmin.j)
* [Jason](j/jason.mas2j)
* [Java](j/Java.java)
* [Javascript](j/javascript.js)
* [Jess](j/jess.cpl)
* [Jsf*ck](j/JSF*ck.js)
* [Json](j/json.json)
* [Jsoniq](j/JSONiq)
* [Jsx](j/jsx.js)
* [Julia](j/julia.jl)
* [K](k/k.k)
* [Karel](k/karel.kl)
* [Kiml](k/KimL.kiml)
* [Kipple](k/kipple.kipple)
* [Kotlin](k/kotlin)
* [Kotlin](k/kotlin.kt)
* [Ksh](k/ksh.ksh)
* [Labyrinth](l/labyrinth.labyrinth)
* [Latex](l/LaTeX.tex)
* [Lazyk](l/LazyK.lazy)
* [Leszek](l/leszek.leszek)
* [Limbo](l/limbo.b)
* [Lisaac](l/lisaac.li)
* [Lisp](l/lisp.lsp)
* [Livescript](l/livescript.ls)
* [Llvm](l/llvm.ll)
* [Lnusp](l/LNUSP.lnusp)
* [Logical](l/logical.logical)
* [Logo](l/logo.lg)
* [Lola](l/LOLA.lola)
* [Lolcode](l/lolcode.lol)
* [Lolpython](l/lolpython.lol)
* [Lsl](l/lsl.lsl)
* [Lua](l/lua.lua)
* [M4](m/m4.m4)
* [Macsyma](m/macsyma.mac)
* [Magic](m/magic)
* [Malbolge](m/malbolge.mbg)
* [Markdown](m/markdown.md)
* [Mathematica Online](m/mathematica-online.nb)
* [Matlab](m/matlab.m)
* [Maxscript](m/maxscript.ms)
* [Mel](m/mel.mel)
* [Meq](m/meq.meq)
* [Mercury](m/mercury.m)
* [Mirc](m/mirc.mrc)
* [Mmmm()](m/Mmmm().mmmm)
* [Modula 2](m/modula-2.mod)
* [Modula 3](m/modula-3.m3)
* [Mongo](m/mongo.shell)
* [Moonscript](m/moonscript.moon)
* [Morsecode](m/morsecode)
* [Mouse](m/mouse.mse)
* [Move](m/move.mv)
* [Mozart](m/mozart.oz)
* [Muf](m/muf.muf)
* [Mumps](m/mumps.m)
* [Mushcode](m/mushcode.mush)
* [Mysql](m/mysql.sql)
* [Neko](n/neko.neko)
* [Nemerle](n/nemerle.n)
* [Newtonscript](n/newtonscript.nwt)
* [Nice](n/nice.nice)
* [Nimrod](n/nimrod.nim)
* [Nit](n/nit.nit)
* [Node](n/node.js)
* [Nodejs](n/nodejs.js)
* [Novice](n/novice.novice)
* [Nu](n/nu.nu)
* [Nxc](n/nxc.nxc)
* [Oberon 2](o/oberon-2.obn)
* [Oberon](o/oberon.o)
* [Obix](o/obix.osc)
* [Obj](o/obj.st)
* [Objc](o/objc.m)
* [Objective J](o/objective-j.j)
* [Objectstar](o/ObjectStar)
* [Ocaml](o/ocaml.ml)
* [Octave](o/octave.octave)
* [Omgrofl](o/omgrofl.omgrofl)
* [Ooc](o/ooc.ooc)
* [Ook](o/ook.ok)
* [Opa](o/opa.opa)
* [Openlaszlo](o/OpenLaszlo.lzx)
* [Oraclesql](o/oraclesql.sql)
* [Orc](o/Orc.orc)
* [Oz](o/oz.oz)
* [Hello World](p/hello_world.pl1)
* [Parenthetic](p/parenthetic.p)
* [Pascal](p/pascal.p)
* [Pawn](p/pawn.p)
* [Pb](p/pb.pwr)
* [Pbwin](p/pbwin.bas)
* [Perl](p/perl.cgi)
* [Perl](p/perl.pl)
* [Perl6](p/perl6.p6)
* [Perseus](p/perseus.p++)
* [Pharo](p/pharo.st)
* [Php](p/php.php)
* [Picat](p/picat.pi)
* [Piet](p/piet.png)
* [Pig](p/pig.pig)
* [Pike](p/pike.pike)
* [Pit](p/pit.pit)
* [Pizza](p/pizza.pizza)
* [Please Porige Hot](p/please_porige_hot.pph)
* [Plsql](p/plsql.sql)
* [Pluvo](p/pluvo.pvo)
* [Polynomial](p/polynomial.pol)
* [Pony](p/pony.pony)
* [Postgresql](p/postgresql.sql)
* [Postscript](p/postscript.ps)
* [Postscript Page](p/postscript_page.ps)
* [Posxml](p/posxml.posxml)
* [Potigol](p/potigol.poti)
* [Powershell](p/powershell.ps1)
* [Processing](p/processing.pde)
* [Prolog](p/prolog.pro)
* [Purebasic](p/purebasic.pb)
* [Purescript](p/purescript.purs)
* [Pyret](p/pyret.arr)
* [Python](p/python.py)
* [Python3](p/python3.py)
* [Qbasic](q/Qbasic.bas)
* [Qore](q/qore.q)
* [Qu](q/qu.qu)
* [Quakec](q/QuakeC.qc)
* [Quartzcomposer](q/QuartzComposer.qtz)
* [Qugord](q/qugord.qugord)
* [Qwerty](q/qwerty.qwerty)
* [R](r/R.R)
* [Racket](r/racket.rkt)
* [Radixal](r/radixal.radixal)
* [Ratfor](r/ratfor.ratfor)
* [React](r/react.js)
* [Reason](r/reason.re)
* [Rebol](r/rebol.r)
* [Recurse](r/recurse.recurse)
* [Restructuredtext](r/reStructuredText.rst)
* [Rexx](r/rexx.rexx)
* [Richtea](r/richtea.tea)
* [Roco](r/roco.roco)
* [Roy](r/roy.roy)
* [Ruby](r/ruby.rb)
* [Rust](r/rust.rs)
* [Hello](s/hello.st)
* [S Algol](s/S-algol)
* [Sacred](s/sacred.sacred)
* [Sal](s/sal.s)
* [Sas](s/sas.sas)
* [Sather](s/sather.sa)
* [Scala](s/scala.scala)
* [Scheme](s/scheme.scm)
* [Schwift](s/schwift.y)
* [Scilab](s/scilab.scilab)
* [Scratch](s/scratch.sb)
* [Sed](s/sed.sed)
* [Self](s/self.self)
* [Semicolon](s/semicolon)
* [Sendstuff](s/SendStuff.ss)
* [Shakespeare](s/shakespeare.spl)
* [Shell](s/shell.sh)
* [Shen](s/shen.shen)
* [Sil](s/SIL.SIL)
* [Simpl+](s/simpl+.usp)
* [Simula](s/simula.sim)
* [Slashes](s/slashes.slashes)
* [Smali](s/smali.smali)
* [Smalltalk](s/smalltalk.sm)
* [Smil](s/smil.smil)
* [Sml](s/sml.sml)
* [Snowman](s/snowman.sm)
* [Soupscript](s/soupscript.script)
* [Sparql](s/sparql.sparql)
* [Spoon](s/spoon.spoon)
* [Sql](s/sql.sql)
* [Squirrel](s/squirrel.nut)
* [Standard Ml](s/standard-ml.sml)
* [Stanza](s/stanza.stanza)
* [Streem](s/streem.strm)
* [Stuck](s/stuck.stuck)
* [Subleq](s/subleq.sq)
* [Supercollider](s/supercollider.sc)
* [Svg](s/svg.svg)
* [Swift](s/swift.swift)
* [Systemtap](s/systemtap.stp)
* [Plain Text](t/plain-text.txt)
* [Tao Presentations](t/Tao-Presentations.ddd)
* [Tapebagel](t/TapeBagel.tb)
* [Tcl](t/tcl.tcl)
* [Tcsh](t/tcsh.tcsh)
* [Telephone](t/telephone)
* [Tex](t/TeX.tex)
* [Thp](t/thp.hrp)
* [Thue](t/thue.th)
* [Tibasic](t/tibasic.ti)
* [Tk](t/tk.tk)
* [Tri](t/tri.tri)
* [Trollscript](t/trollscript.troll)
* [Trumpscript](t/TrumpScript.py)
* [Tsql](t/tsql.sql)
* [Ttcn3](t/TTCN3.ttcn)
* [Turing](t/turing.oot)
* [Turing](t/Turing.t)
* [Typescript](t/typescript.ts)
* [Ubercode](u/Ubercode.cls)
* [Ubiquity](u/ubiquity.ubiquity)
* [Umajin](u/umajin.u)
* [Unicomal](u/unicomal.lst)
* [Unlambda](u/unlambda.unl)
* [V](v/V)
* [Vala](v/vala.vala)
* [Vbnet](v/vbnet.vb)
* [Verbose](v/verbose.verbose)
* [Verbosefuck](v/verbosefuck.vbfk)
* [Verilog](v/verilog.v)
* [Verve](v/verve.vrv)
* [Vhdl](v/vhdl.vhdl)
* [Vi](v/vi)
* [Vimscript](v/vimscript.vim)
* [Virgil](v/virgil.v3)
* [Visualbasic](v/visualbasic.vb)
* [Visualbasicscript](v/visualbasicscript.vbs)
* [Visualfoxpro](v/visualfoxpro.prg)
* [Vms](v/vms.vms)
* [Vrml](v/vrml.wrl)
* [Wheat](w/wheat.wheat)
* [Whenever](w/whenever.whenever)
* [Whirl](w/whirl.wr)
* [Whitespace](w/whitespace.ws)
* [Wml](w/wml.wml)
* [Wolframlanguage](w/wolframlanguage.wl)
* [Wren](w/wren.wren)
* [Wsh](w/wsh.vbs)
* [X D](x/x-D.xd)
* [Xbase++](x/xbase++.prg)
* [Xbase](x/xbase.dbf)
* [Xl](x/xl.xl)
* [Xlogo](x/xlogo.lgo)
* [Xml](x/xml.xml)
* [Xpl0](x/xpl0.xpl)
* [Xquery](x/xquery.xq)
* [Xrf](x/XRF.xrf)
* [Xslt](x/xslt.xslt)
* [Xul](x/xul.xul)
* [Y](y/Y.y)
* [Yaml](y/yaml.yaml)
* [Yolang](y/yolang.yo)
* [Zbd](z/zbd)
* [Zepto](z/zepto.zp)
* [Zetaplex](z/zetaplex.zeta)
* [Zim](z/zim.zim)
* [Zimbu](z/zimbu.zu)
* [Zombie](z/zombie.zombie)
* [Zonnon](z/zonnon.znn)
* [Zsh](z/zsh.zsh)

14
README_nolist.md Normal file
View File

@@ -0,0 +1,14 @@
Hello, World!
=============
Hello world in every programming language.
Inspired by [The Hello World Collection](https://helloworldcollection.github.io/)
As I watch the collection expand, this project has blown up more than I ever thought possible.
Thanks to everyone who continues to contribute, new languages are created every day!
Make sure to see CONTRIBUTING.md for instructions on contributing to the project!
Spin-Off project smartly suggested and implemented by @zenware
Meet [FizzBuzz](https://github.com/zenware/FizzBuzz) the evolution of [hello-world](https://github.com/leachim6/hello-world)

1
a/AntLang.ant Normal file
View File

@@ -0,0 +1 @@
"Hello World"

6
a/aiml.aiml Normal file
View File

@@ -0,0 +1,6 @@
<aiml>
<category>
<pattern>*</pattern>
<template>Hello World!</template>
</category>
</aiml>

View File

@@ -1,11 +1,4 @@
void setup()
{
void setup(){
Serial.begin(9600);
Serial.println("Hello world!");
}
void loop()
{
}

View File

@@ -0,0 +1,50 @@
; Hello World for Philips Videopac (Magnavox Odyssey 2)
; by Frog ( https://github.com/petersobolev )
; 25 July 2016
cpu 8048
org 400h
; interrupt vectors
jmp 02C3h ; selectgame (RESET)
jmp 0009h ; irq
jmp timer ; timer
jmp 001Ah ; vsyncirq
jmp start ; after selectgame
jmp 0044h ; soundirq
timer:
ret ; no timer needed
start:
call 011Ch ; gfxoff
mov r0,#010h ; pointer in VDC - which char to display (one of 12)
mov r3,#40 ; x
mov r4,#100 ; y
mov r1,#hellostr & 0ffh ; string to print (should be on same 255 bytes page)
mov r2,#11 ; string length
nextchar:
mov a,r1
movp a,@a ; get char located at @r1
mov r5,a
inc r1 ; inc addr of char
mov r6,#0eh ; white color
call 03EAh ; printchar bios subroutine (increases r0, r3)
djnz r2,nextchar
call 0127h ; gfxon (show what is written to VDC)
loop:
jmp loop ; just wait and do nothing
; 'HELLO WORLD' (ascii not supported by assembler)
hellostr:
db 01dh, 012h, 00eh, 00eh, 017h, 00ch, 011h, 017h, 013h, 00eh, 01ah

View File

@@ -0,0 +1,35 @@
; ---------------------------------------------
; Hello World for Win32 Intel x86 Assembly
;
; by fruel (https://github.com/fruel)
; 13 June 2016
; ---------------------------------------------
.386
.model flat,stdcall
.stack 4096
EXTRN ExitProcess@4 : PROC
EXTRN GetStdHandle@4 : PROC
EXTRN WriteConsoleA@20 : PROC
.data
msg BYTE "Hello World!",0
bytesWritten DWORD ?
.code
main PROC
push -11 ; nStdHandle (STD_OUTPUT_HANDLE)
call GetStdHandle@4
push 0 ; lpReserved
push OFFSET bytesWritten ; lpNumberOfCharsWritten
push LENGTHOF msg - 1 ; nNumberOfCharsToWrite
push OFFSET msg ; *lpBuffer
push eax ; hConsoleOutput
call WriteConsoleA@20
push 0 ; uExitCode
call ExitProcess@4
main ENDP
END main

View File

@@ -0,0 +1,33 @@
; ---------------------------------------------
; Hello World for Win64 Intel x64 Assembly
;
; by fruel (https://github.com/fruel)
; 13 June 2016
; ---------------------------------------------
GetStdHandle PROTO
ExitProcess PROTO
WriteConsoleA PROTO
.data
msg BYTE "Hello World!",0
bytesWritten DWORD ?
.code
main PROC
sub rsp, 5 * 8 ; reserve shadow space
mov rcx, -11 ; nStdHandle (STD_OUTPUT_HANDLE)
call GetStdHandle
mov rcx, rax ; hConsoleOutput
lea rdx, msg ; *lpBuffer
mov r8, LENGTHOF msg - 1 ; nNumberOfCharsToWrite
lea r9, bytesWritten ; lpNumberOfCharsWritten
mov QWORD PTR [rsp + 4 * SIZEOF QWORD], 0 ; lpReserved
call WriteConsoleA
mov rcx, 0 ; uExitCode
call ExitProcess
main ENDP
END

View File

@@ -3,14 +3,15 @@ section .text
_start: ;tell linker entry point
xor eax,eax ; eax:=0
xor eax,eax ;eax:=0
lea edx,[rax+len] ;message length
mov al,1 ;system call number (sys_write)
mov esi,msg ;message to write
mov edi,eax ;file descriptor (stdout)
syscall ;call kernel
mov al,60 ;system call number (sys_exit)
xor edi, edi ;return 0 (EXIT_SUCCESS)
lea eax,[rdi+60] ;system call number (sys_exit)
syscall ;call kernel
section .rodata

20
a/assembler_tasm_dos.asm Normal file
View File

@@ -0,0 +1,20 @@
IDEAL
MODEL SMALL
STACK 100h
DATASEG
msg db "Hello World!", 0dh, 0ah, "$"
CODESEG
start:
mov ax, @data
mov ds, ax
mov dx, offset msg
mov ah, 9
int 21h
mov ah, 4ch
int 21h
end start

View File

@@ -0,0 +1,13 @@
.data
hw:
.ascii "Hello World!\12"
.text
.align 1
.globl _main
_main:
.word 0
pushl $13
pushab hw
pushl $1
calls $3,_write
ret

1
b/BLC.Blc Normal file
View File

@@ -0,0 +1 @@
Hello, world

View File

@@ -1,3 +1,3 @@
#!/bin/bash
echo "Hello World!";
echo "Hello World!"

1
b/batsh.batsh Normal file
View File

@@ -0,0 +1 @@
println("Hello world");

3
b/battlestar.bts Executable file
View File

@@ -0,0 +1,3 @@
#!/usr/bin/bts
const hello = "Hello, world!\n"
print(hello)

4
b/beta.bet Normal file
View File

@@ -0,0 +1,4 @@
ORIGIN '~beta/basiclib/betaenv'
-- program: Descriptor --
(* Hello World in BETA *)
(# do 'Hello World' -> putLine #)

View File

@@ -1,8 +1,9 @@
#include <iostream>
#include <cstdlib>
using namespace std;
int main()
{
std::cout << "Hello World" << std::endl;
return EXIT_SUCCESS;
cout << "Hello World" << endl;
return 0;
}

2
c/c.c
View File

@@ -1,4 +1,4 @@
#include<stdio.h>
#include <stdio.h>
int main() {
printf("Hello World\n");

3
c/ceylon.ceylon Normal file
View File

@@ -0,0 +1,3 @@
shared void hello() {
print("Hello, World!");
}

1
c/chapel.chpl Normal file
View File

@@ -0,0 +1 @@
writeln("Hello World");

1
c/cheddar.cheddar Normal file
View File

@@ -0,0 +1 @@
print "Hello, world!"

View File

@@ -1,6 +1,6 @@
IDENTIFICATION DIVISION.
PROGRAM-ID. HELLOWORLD.
PROCEDURE DIVISION.
MAIN.
DISPLAY 'Hello, world.'.
STOP RUN.
identification division.
program-id. cobol.
procedure division.
main.
display 'Hello, world.' end-display.
stop run.

1
c/coconut.coc Normal file
View File

@@ -0,0 +1 @@
"Hello, world!" |> print

4
c/common-lisp.lisp Normal file
View File

@@ -0,0 +1,4 @@
;; Common Lisp
(defun hello-world ()
(format t "Hello World~%"))

1
c/cor.cor Normal file
View File

@@ -0,0 +1 @@
func main() console.log('Hello World!')

1
c/crystal.cr Normal file
View File

@@ -0,0 +1 @@
puts "Hello, world!"

7
c/hello-world.curry Normal file
View File

@@ -0,0 +1,7 @@
-- "Hello World" demo for the Tcl/Tk library
import Tk
main = runWidget "Hello"
(TkCol [] [TkLabel [TkText "Hello world!"],
TkButton tkExit [TkText "Stop"]])

View File

@@ -1,10 +0,0 @@
+hello hell
hello$twist sign hws
hello$twist stalker io
io$stalk
io$personal
hws$scrawl " Hello, world!
hws$read
io$echo
hello$empty
hello$apocalypse

6
e/emojicode.emojic Normal file
View File

@@ -0,0 +1,6 @@
🐇 🐼 🍇
🐇🐖 🏁 ➡️ 🚂 🍇
😀 <20>Hello, World🔤
🍎 0
🍉
🍉

4
e/hello-html.elm Normal file
View File

@@ -0,0 +1,4 @@
import Html exposing (text)
main =
text "Hello, World!"

1
f/fancy.fy Normal file
View File

@@ -0,0 +1 @@
"Hello, world!" println

View File

@@ -1 +1 @@
: HELLO ." Hello, world!" CR ;
.( Hello, world!)

3
g/Green-Marl.gm Normal file
View File

@@ -0,0 +1,3 @@
procedure hello_world() {
println("Hello World");
}

1
g/gosu.gosu Normal file
View File

@@ -0,0 +1 @@
print("Hello World from Gosu!!")

1
g/gosu.gs Normal file
View File

@@ -0,0 +1 @@
print("hello, world")

1
h/hodor.hd Normal file
View File

@@ -0,0 +1 @@
hodor.hod('Hhodor? Hodor!? Hodor!? o, Hooodorrhodor orHodor!? d!');

5
i/inform.inform Normal file
View File

@@ -0,0 +1,5 @@
"Hello World" by "I.F. Author"
The world is a room.
When play begins, say "Hello, world."

1
j/JSF*ck.js Normal file

File diff suppressed because one or more lines are too long

1
j/JSONiq Normal file
View File

@@ -0,0 +1 @@
"Hello, World!"

7
j/jai.jai Normal file
View File

@@ -0,0 +1,7 @@
#import "Print"
main::(){
print("hello world!");
}

View File

@@ -1,12 +1,8 @@
var React = require('react');
var HelloWorld = React.createClass({
displayName: 'HelloWorld',
render: function() {
return (
<span>Hello World</span>
);
}
});
var HelloWorld = function() {
return <span>Hello World</span>;
};
HelloWorld.displayName = 'HelloWorld';
console.log(React.renderToString(<HelloWorld />));

View File

@@ -1,5 +1,5 @@
package hello
fun main(args : Array<String>) {
fun main(args: Array<String>) {
println("Hello, world!")
}

View File

@@ -1,18 +0,0 @@
# nasm linux-x86.nasm -o linux-x86.o -f elf && ld linux-x86.o -m elf_i386 -o linux-x86
section .data
msg db "Hello World", 0xa
len equ $ - msg
section .text
global _start
_start:
mov eax, 4
mov ebx, 1
mov ecx, msg
mov edx, len
int 0x80
mov eax, 1
mov ebx, 0
int 0x80

15
l/lisaac.li Normal file
View File

@@ -0,0 +1,15 @@
// Hello World in Lisaac
Section Header
+ name := HELLO_WORLD;
Section Inherit
- parent_object:OBJECT := OBJECT;
Section Public
- main <-
(
"Hello world !\n".print;
);

1
l/lolpython.lol Normal file
View File

@@ -0,0 +1 @@
VISIBLE "Hello World"

25
list_langs.py Executable file
View File

@@ -0,0 +1,25 @@
#!/usr/bin/env python3
import os
readme = open('README.md', 'w')
# Copy template to README
with open('README_nolist.md', 'r') as temp:
for line in temp:
readme.write(line)
# Write title
readme.write('\n### This repository currently contains "Hello World" programs in the following languages:\n')
# List the available languages
for dir in os.listdir('.'):
if not (dir == '.' or dir == '..' or dir[0] == '.' or os.path.isfile(dir)):
for file in os.listdir(dir):
if os.path.isfile(f'{dir}/{file}'):
lang = ''
for str in file[0:(len(file) if file.find('.') == -1 else file.find('.'))].replace('-', ' ').replace('_', ' ').split():
lang += str.capitalize() + ' '
readme.write(f'* [{lang[:-1]}]({dir if dir != "#" else "%23"}/{file})\n') # Cut trailing space
readme.close()

3
m/magic Normal file
View File

@@ -0,0 +1,3 @@
HELLO.WORLD
"Hello, world!"^#;

3
m/mathematica-online.nb Normal file
View File

@@ -0,0 +1,3 @@
Notebook[{Cell[
BoxData[RowBox[{"Print","[","\"Hello World\"","]"}]],"Input",CellID->1]},
StyleDefinitions->"Default.nb",FrontEndVersion->"10.0 for Wolfram Cloud Platform (June 2 2014)"]

7
m/maxscript.ms Normal file
View File

@@ -0,0 +1,7 @@
print "Hello, world!"
-- "Hello, world!"
-- Note that MAXScript is expression-based, so simply writing "Hello, world!" is
-- sufficient to echo it for the reader. Like Haskell, all MAXScript expressions
-- *must* return values, even if they're unused.

1
n/neko.neko Normal file
View File

@@ -0,0 +1 @@
$print("hello world\n");

2
n/nit.nit Normal file
View File

@@ -0,0 +1,2 @@
print "Hello World"

3
n/nodejs.js Normal file
View File

@@ -0,0 +1,3 @@
#!/usr/bin/env node
process.stdout.write('Hello World\n');

1
o/obj.st Normal file
View File

@@ -0,0 +1 @@
stdout println:'Hello World!'.

1
o/oz.oz Normal file
View File

@@ -0,0 +1 @@
{Show 'Hello World'}

4
p/hello_world.pl1 Normal file
View File

@@ -0,0 +1,4 @@
World: Procedure options(main);
Put List( 'Hello world' );
End World;

9
p/perl.cgi Normal file
View File

@@ -0,0 +1,9 @@
#!/usr/local/bin/perl -w
use CGI; # load CGI routines
$q = CGI->new; # create new CGI object
print $q->header, # create the HTTP header
$q->start_html('hello world'), # start the HTML
$q->h1('hello world'), # level 1 header
$q->end_html; # end the HTML
# http://perldoc.perl.org/CGI.html

1
p/pharo.st Normal file
View File

@@ -0,0 +1 @@
'Hello World' crLog

View File

@@ -1,3 +1,3 @@
<?php
echo "Hello World";
echo 'Hello World';

1
p/posxml.posxml Normal file
View File

@@ -0,0 +1 @@
<display line="0" column="0" message="Hello World" />

4
p/processing.pde Normal file
View File

@@ -0,0 +1,4 @@
size(128, 128);
background(0);
textAlign(CENTER, CENTER);
text("Hello World", width / 2, height / 2);

1
p/pyret.arr Normal file
View File

@@ -0,0 +1 @@
print('Hello, World!')

2
q/Qbasic.bas Normal file
View File

@@ -0,0 +1,2 @@
PRINT "hello world"

233
q/QuartzComposer.qtz Normal file
View File

@@ -0,0 +1,233 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>editorViewerWindow</key>
<string>202 156 512 430 0 0 1280 777 </string>
<key>frameworkVersion</key>
<string>334</string>
<key>rootPatch</key>
<dict>
<key>class</key>
<string>QCPatch</string>
<key>state</key>
<dict>
<key>connections</key>
<dict>
<key>connection_1</key>
<dict>
<key>destinationNode</key>
<string>Billboard_1</string>
<key>destinationPort</key>
<string>inputImage</string>
<key>sourceNode</key>
<string>TextImage_1</string>
<key>sourcePort</key>
<string>outputImage</string>
</dict>
</dict>
<key>nodes</key>
<array>
<dict>
<key>class</key>
<string>QCTextImage</string>
<key>key</key>
<string>TextImage_1</string>
<key>state</key>
<dict>
<key>customInputPortStates</key>
<dict>
<key>inputGlyphSize</key>
<dict>
<key>value</key>
<real>1.0</real>
</dict>
<key>inputHeight</key>
<dict>
<key>value</key>
<real>0.0</real>
</dict>
<key>inputKerning</key>
<dict>
<key>value</key>
<real>0.0</real>
</dict>
<key>inputLeading</key>
<dict>
<key>value</key>
<real>0.0</real>
</dict>
<key>inputWidth</key>
<dict>
<key>value</key>
<real>0.0</real>
</dict>
</dict>
<key>fontName</key>
<string>LucidaGrande</string>
<key>fontSize</key>
<real>1.0</real>
<key>horizontalAlignment</key>
<string>Centered</string>
<key>ivarInputPortStates</key>
<dict>
<key>inputFontName</key>
<dict>
<key>value</key>
<string>LucidaGrande</string>
</dict>
<key>inputGlyphSize</key>
<dict>
<key>value</key>
<real>1.0</real>
</dict>
<key>inputHeight</key>
<dict>
<key>value</key>
<real>0.0</real>
</dict>
<key>inputKerning</key>
<dict>
<key>value</key>
<real>0.0</real>
</dict>
<key>inputLeading</key>
<dict>
<key>value</key>
<real>0.0</real>
</dict>
<key>inputString</key>
<dict>
<key>value</key>
<string>Hello World!</string>
</dict>
<key>inputWidth</key>
<dict>
<key>value</key>
<real>0.0</real>
</dict>
</dict>
<key>manualLayout</key>
<false/>
<key>userInfo</key>
<data>
BAtzdHJlYW10eXBlZIHoA4QBQISE
hBNOU011dGFibGVEaWN0aW9uYXJ5
AISEDE5TRGljdGlvbmFyeQCEhAhO
U09iamVjdACFhAFpAZKEhIQITlNT
dHJpbmcBlYQBKwhwb3NpdGlvboaS
hISEB05TVmFsdWUAlYQBKoSEDHtD
R1BvaW50PWRkfZuBHwKBuQCGhg==
</data>
<key>version</key>
<integer>2</integer>
<key>verticalAlignment</key>
<string>Centered</string>
</dict>
</dict>
<dict>
<key>class</key>
<string>QCBillboard</string>
<key>key</key>
<string>Billboard_1</string>
<key>state</key>
<dict>
<key>CIRendering</key>
<false/>
<key>customInputPortStates</key>
<dict>
<key>inputScale</key>
<dict>
<key>value</key>
<real>1.0</real>
</dict>
</dict>
<key>ivarInputPortStates</key>
<dict>
<key>inputBlending</key>
<dict>
<key>value</key>
<integer>1</integer>
</dict>
<key>inputColor</key>
<dict>
<key>value</key>
<dict>
<key>alpha</key>
<real>1.0</real>
<key>blue</key>
<real>0.0</real>
<key>green</key>
<real>0.0</real>
<key>red</key>
<real>0.0</real>
</dict>
</dict>
<key>inputPixelAligned</key>
<dict>
<key>value</key>
<real>0.0</real>
</dict>
<key>inputRotation</key>
<dict>
<key>value</key>
<real>0.0</real>
</dict>
<key>inputScale</key>
<dict>
<key>value</key>
<real>1.0</real>
</dict>
<key>inputX</key>
<dict>
<key>value</key>
<real>0.0</real>
</dict>
<key>inputY</key>
<dict>
<key>value</key>
<real>0.0</real>
</dict>
</dict>
<key>optimizedRendering</key>
<false/>
<key>pixelAligned</key>
<real>0.0</real>
<key>sizeMode</key>
<string>autoHeight</string>
<key>systemInputPortStates</key>
<dict>
<key>_enable</key>
<dict>
<key>value</key>
<true/>
</dict>
</dict>
<key>userInfo</key>
<data>
BAtzdHJlYW10eXBlZIHoA4QBQISE
hBNOU011dGFibGVEaWN0aW9uYXJ5
AISEDE5TRGljdGlvbmFyeQCEhAhO
U09iamVjdACFhAFpAZKEhIQITlNT
dHJpbmcBlYQBKwhwb3NpdGlvboaS
hISEB05TVmFsdWUAlYQBKoSEDHtD
R1BvaW50PWRkfZuB+gKBuQCGhg==
</data>
<key>version</key>
<integer>4</integer>
</dict>
</dict>
</array>
<key>userInfo</key>
<data>
BAtzdHJlYW10eXBlZIHoA4QBQISEhBNOU011dGFibGVEaWN0aW9u
YXJ5AISEDE5TRGljdGlvbmFyeQCEhAhOU09iamVjdACFhAFpA5KE
hIQITlNTdHJpbmcBlYQBKwp6b29tRmFjdG9yhpKEhIQITlNOdW1i
ZXIAhIQHTlNWYWx1ZQCVhAEqhIQBZpwBhpKEl5gJc2Nyb2xsaW5n
hpKEmpuEhAx7Q0dQb2ludD1kZH2dgwAAAAAATIBAgUYBhpKEl5gI
cG9zaXRpb26GkoSam56dAAWGhg==
</data>
</dict>
</dict>
</dict>
</plist>

1
r/reason.re Normal file
View File

@@ -0,0 +1 @@
print_string "hello, world"

2
s/S-algol Normal file
View File

@@ -0,0 +1,2 @@
write "Hello World"
?

1
s/SIL.SIL Normal file
View File

@@ -0,0 +1 @@
print Hello, World!

1
s/hello.st Normal file
View File

@@ -0,0 +1 @@
'Hello World' printNl !

1
s/sacred.sacred Normal file
View File

@@ -0,0 +1 @@
)( )( (( )( (( (( () ( () ( (( () )) )( )( )( )) )( )) )( )) )( (( (( (( ) )) ) (( (( )( )( ((( (( () () () () () () ((( (( (( )( ((( ((( (( (( ((( (( () ((( )) )) ((( )) )) ((( (( (( (( ((( () () () ((( )) )) ((( )) )) )( ((( (( (( (( () (((

1
s/schwift.y Normal file
View File

@@ -0,0 +1 @@
show me what you got "Hello World"

4
s/sed.sed Executable file
View File

@@ -0,0 +1,4 @@
#!/usr/bin/sed -f sed.sed
c\
Hello World
q

1
s/self.self Normal file
View File

@@ -0,0 +1 @@
'Hello World!' printLine

1
s/shen.shen Normal file
View File

@@ -0,0 +1 @@
(pr "hello world")

5
s/simpl+.usp Normal file
View File

@@ -0,0 +1,5 @@
// Hello World in Crestron's SIMPL+
Function Main
{
Print("Hello World!\n");
}

3
s/sparql.sparql Normal file
View File

@@ -0,0 +1,3 @@
SELECT ?h WHERE {
VALUES ?h { "Hello World!" }
}

View File

@@ -1,4 +1 @@
CREATE TABLE HELLO (HELLO CHAR(12))
UPDATE HELLO
SET HELLO = 'HELLO WORLD!'
SELECT * FROM HELLO
SELECT "Hello World";

2
s/stanza.stanza Normal file
View File

@@ -0,0 +1,2 @@
println("Hello World")

1
s/streem.strm Normal file
View File

@@ -0,0 +1 @@
["hello, world"] | stdout

1
s/systemtap.stp Normal file
View File

@@ -0,0 +1 @@
probe oneshot { println("Hello, world") }

1
t/typescript.ts Normal file
View File

@@ -0,0 +1 @@
console.log("Hello, World!");

View File

@@ -2,7 +2,7 @@
public function Main()
code
call Msgbox("Hello", "My first program", "OK")
call Msgbox("Hello World!", "My first program", "OK")
end function
end class

1
v/V Normal file
View File

@@ -0,0 +1 @@
iHello World!

1
v/verve.vrv Normal file
View File

@@ -0,0 +1 @@
print("Hello World")

17
v/visualfoxpro.prg Normal file
View File

@@ -0,0 +1,17 @@
* Message Box:
MESSAGEBOX("Hello World")
* Print to screen:
? "Hello World"
* GUI:
loForm = CREATEOBJECT("HiForm")
loForm.Show(1)
DEFINE CLASS HiForm AS Form
AutoCenter = .T.
Caption = "Hello, World"
ADD OBJECT lblHi as Label ;
WITH Caption = "Hello, World!"
ENDDEFINE

View File

@@ -1,3 +0,0 @@
HAI 1.3
VISIBLE "Hello world!"
KTHXBYE

1
z/zbd Normal file
View File

@@ -0,0 +1 @@
+ Mr.B says "Hello Friend"