This is my collection of "hello world" programs written in various languages and dialects. In general, the goal is to simply output "hello world" (with no linebreak) at the command line. There are a few minor exceptions.
The only prerequisite for code in this repo is that I've successfully run it on my machine.
I use Mac OS X with homebrew
as my package manager. Most
of the languages that I've used are either pre-installed with Mac OS X,
installed with the Mac OS Developer Tools or installed with homebrew
.
CoffeeScript requires the corresponding node module
is installed globally.
Many of the applications were written by myself with the aid of official reference materials available freely on the web. Contributions from others in the GitHub community are marked as such in the list below.
The Objective-C example originally came from this StackOverflow question.
- Bash
- Brainfuck - by RobLoach
- C
- C# - by jackmott
- C++ - by RobLoach
- Clojure
- COBOL
- CoffeeScript
- Common Lisp - by davidselivanov
- D - by RobLoach
- Emacs-Lisp - by davidselivanov
- Erlang
- F# - by jackmott
- Fortran - by DanmerZ
- Go
- Haskell - by jackmott
- Java
- JavaScript
- Lua
- Objective-C
- Perl
- PHP
- Python
- Ruby
- Rust
- Scala
- Smalltalk
- Swift