2 |
3 | int main(){
4 | printf("!dlroW olleH\n");
5 | return 0;
6 | }
7 |
--------------------------------------------------------------------------------
/COW/helloWorld.cow:
--------------------------------------------------------------------------------
1 | MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO Moo MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO Moo MoO MoO MoO MoO MoO MoO MoO Moo Moo MoO MoO MoO Moo OOO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO Moo MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO Moo MOo MOo MOo MOo MOo MOo MOo MOo MOo MOo MOo MOo MOo MOo MOo MOo MOo MOo MOo MOo MOo MOo MOo MOo MOo MOo MOo MOo MOo MOo MOo MOo MOo MOo MOo MOo MOo MOo MOo MOo MOo Moo MOo MOo MOo MOo MOo MOo MOo MOo Moo MoO MoO MoO Moo MOo MOo MOo MOo MOo MOo Moo MOo MOo MOo MOo MOo MOo MOo MOo Moo OOO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO MoO Moo
2 |
--------------------------------------------------------------------------------
/Clojurescript/hello_world.cljx:
--------------------------------------------------------------------------------
1 | (println "Hello world")
--------------------------------------------------------------------------------
/Cobol/HelloWorld.cbl:
--------------------------------------------------------------------------------
1 | ```cobol
2 | identification division.
3 | program-id. cobol.
4 | procedure division.
5 | main.
6 | display 'Hello World.' end-display.
7 | stop run.
8 | ```
9 |
--------------------------------------------------------------------------------
/Cobol/README.md:
--------------------------------------------------------------------------------
1 | ## Installation
2 |
3 | ### How to install COBOL
4 |
5 | ```bash
6 | $ sudo apt-get install -y open-cobol
7 | ```
8 |
9 | ### How to run
10 |
11 | ```bash
12 | $ cobc -free -x -o Helloworld HelloWorld.cbl
13 | ```
14 |
15 | ### How to Uninstall COBOL
16 |
17 | ```bash
18 | $ sudo apt remove open-cobol
19 | ```
--------------------------------------------------------------------------------
/CoffeeScript/README.md:
--------------------------------------------------------------------------------
1 | # CoffeeScript
2 |
3 | To install CoffeeScript on Debian like systems:
4 |
5 | `sudo apt install coffeescript`
6 |
7 | Now you can run the `hello_world.coffee` file with:
8 |
9 | `coffee hello_world.coffee`
10 |
--------------------------------------------------------------------------------
/CoffeeScript/hello_world.coffee:
--------------------------------------------------------------------------------
1 | console.log("Hello world.")
2 |
--------------------------------------------------------------------------------
/Crystal/HelloWorld.cr:
--------------------------------------------------------------------------------
1 | puts "Hello World"
--------------------------------------------------------------------------------
/Crystal/README.md:
--------------------------------------------------------------------------------
1 | # Installation
2 |
3 | **Install Arch**
4 | sudo pacman -S crystal shards
5 |
6 |
7 | **Install MacOS**
8 |
9 | brew update
10 | brew install crystal
11 |
12 |
13 | **Install Ubuntu**
14 |
15 | ## Setup repository
16 | First you have to add the repository to your APT configuration.
17 | For easy setup just run in your command line:
18 |
19 | curl -sSL https://dist.crystal-lang.org/apt/setup.sh | sudo bash
20 | That will add the signing key and the repository configuration. If you prefer to do it manually, execute the following commands:
21 |
22 | curl -sL "https://keybase.io/crystal/pgp_keys.asc" | sudo apt-key add -
23 | echo "deb https://dist.crystal-lang.org/apt crystal main" | sudo tee /etc/apt/sources.list.d/crystal.list
24 | sudo apt-get update
25 | Install
26 | Once the repository is configured you’re ready to install Crystal:
27 |
28 | sudo apt install crystal
29 | The following packages are not required, but recommended for using the respective features in the standard library:
30 |
31 | sudo apt install libssl-dev # for using OpenSSL
32 | sudo apt install libxml2-dev # for using XML
33 | sudo apt install libyaml-dev # for using YAML
34 | sudo apt install libgmp-dev # for using Big numbers
35 | sudo apt install libz-dev # for using crystal play
36 |
--------------------------------------------------------------------------------
/D/README.md:
--------------------------------------------------------------------------------
1 | # D
2 |
3 | To install the D compiler on Debian like systems:
4 |
5 | `sudo apt install gdc`
6 |
7 | You can compile your hello_world.d file with:
8 |
9 | `gdc hello_world.d -o hello_world`
10 |
11 | Now you can run the hello_world file with:
12 |
13 | `./hello_world`
14 |
--------------------------------------------------------------------------------
/D/hello_world.d:
--------------------------------------------------------------------------------
1 | import std.stdio;
2 |
3 | void main()
4 | {
5 | writeln("Hello world.");
6 | }
7 |
--------------------------------------------------------------------------------
/Dart/HelloWorld.dart:
--------------------------------------------------------------------------------
1 | void main() {
2 | print('Hello World !');
3 | }
--------------------------------------------------------------------------------
/Dart/ReadMe.md:
--------------------------------------------------------------------------------
1 |
2 | # Installation
3 |
4 |
5 | **How to install dart SDK on Ubuntu**
6 |
7 | ***Perform the following one-time setup:***
8 | ```
9 | $ sudo apt-get update
10 |
11 | $ sudo apt-get install apt-transport-https
12 |
13 | $ sudo sh -c 'wget -qO- https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add -'
14 |
15 | $ sudo sh -c 'wget -qO- https://storage.googleapis.com/download.dartlang.org/linux/debian/dart_stable.list > /etc/apt/sources.list.d/dart_stable.list'
16 | ```
17 |
18 |
19 |
20 | ***Then install the Dart SDK:***
21 | ```
22 | $ sudo apt-get update
23 |
24 | $ sudo apt-get install dart
25 | ```
26 | ---
27 |
28 |
29 | # How to run
30 |
31 | ```
32 | $ dart HelloWorld.dart
33 | ```
34 |
35 | # uninstall dart
36 |
37 | ```
38 | $ sudo apt-get remove darts
39 | ```
40 |
41 |
--------------------------------------------------------------------------------
/Dart/installation.sh:
--------------------------------------------------------------------------------
1 | sudo apt-get update
2 | sudo apt-get install apt-transport-https
3 | sudo sh -c 'wget -qO- https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add -'
4 | sudo sh -c 'wget -qO- https://storage.googleapis.com/download.dartlang.org/linux/debian/dart_stable.list > /etc/apt/sources.list.d/dart_stable.list'
5 | sudo apt-get update
6 | sudo apt-get install dart
--------------------------------------------------------------------------------
/Docker/REAME.md:
--------------------------------------------------------------------------------
1 | # Docker
2 |
3 | ## Setup & Installation on Mac
4 | - Install Homebrew
5 | ```
6 | /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
7 | ```
8 | - Docker on Mac With Homebrew Cask
9 | ```
10 | brew cask install docker
11 | ```
12 |
13 | ## How to run
14 | ```
15 | docker run hello-world
16 | ```
17 | or
18 | ```
19 | bash hello.sh
20 | ```
21 |
--------------------------------------------------------------------------------
/Docker/hello.sh:
--------------------------------------------------------------------------------
1 | docker run hello-world
--------------------------------------------------------------------------------
/Elixir/HelloWorld.exs:
--------------------------------------------------------------------------------
1 | IO.puts("Hello World!")
--------------------------------------------------------------------------------
/Elixir/README.md:
--------------------------------------------------------------------------------
1 | ## Installation
2 |
3 | ### How to run
4 | ```
5 | elixir HelloWorld.exs
6 | ```
--------------------------------------------------------------------------------
/Execline/README.md:
--------------------------------------------------------------------------------
1 | # Execline
2 |
3 | To install execline on Debian like systems:
4 |
5 | `sudo apt install execline`
6 |
7 | Make your hello_world.e file executable:
8 |
9 | `chmod 744 hello_world.e`
10 |
11 | You can execute the file with:
12 |
13 | `./hello_world.e`
14 |
15 | ## Note ##
16 | The execline executable may not have been installed on your path.
17 | if running the program results in a **No such file or directory error**.
18 |
19 | You will need to edit the first line of the hello_world.e file.
20 |
21 | *\#!/usr/lib/execline/bin/execline*
22 |
23 | This line is called a shebang, it tells the system to run the file using the
24 | program (execlineb - the package is execline but the executable is execlineb) and where to find it (its path).
25 |
26 | The shebang line begins with **#!** this is followed immediately (no spaces)
27 | by the full path to the excline executable **execlineb**.
28 |
29 | You can find the full path using the find command:
30 |
31 | `sudo find / -name execlineb`
32 |
33 | edit the first line of hello_world.e replacing:
34 |
35 | */usr/lib/execline/bin/execline*
36 |
37 | with the path returned from the find command.
38 |
39 | ## References ##
40 |
41 | For more info on the [shebang](https://bash.cyberciti.biz/guide/Shebang)
42 |
43 | To learn more about the * find * and *chmod* commands see their respective man pages
44 |
45 | `man find`
46 |
47 | `man chmod`
48 |
49 |
--------------------------------------------------------------------------------
/Execline/hello_world.e:
--------------------------------------------------------------------------------
1 | #!/usr/lib/execline/bin/execlineb
2 |
3 | echo Hello World!
4 |
--------------------------------------------------------------------------------
/F#/HelloWorld.fs:
--------------------------------------------------------------------------------
1 | ```f#
2 | printfn "Hello World"
3 | ```
4 |
--------------------------------------------------------------------------------
/F#/README.md:
--------------------------------------------------------------------------------
1 | ## Installation
2 |
3 | ### How to install F#
4 |
5 | ```bash
6 | $ sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
7 | $ echo "deb https://download.mono-project.com/repo/ubuntu stable-bionic main" | sudo tee /etc/apt/sources.list.d/mono-official-stable.list
8 | $ sudo apt update
9 | $ sudo apt install mono-complete fsharp
10 | ```
11 |
12 | ### How to run
13 |
14 | ```bash
15 | $ dotnet fsi HelloWorld.fsx
16 | ```
17 |
18 | ### How to Uninstall F#
19 |
20 | ```bash
21 | $ sudo apt remove mono-complete fsharp
22 | ```
--------------------------------------------------------------------------------
/Factor/helloWorld.factor:
--------------------------------------------------------------------------------
1 | USE: io
2 | IN: examples.hello
3 |
4 | : hello-world ( -- ) "Hello world!" print ;
5 |
6 | MAIN: hello-world
7 |
--------------------------------------------------------------------------------
/Fish/HelloWorld.fish:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env fish
2 | echo "Hello World"
--------------------------------------------------------------------------------
/Fish/Readme.md:
--------------------------------------------------------------------------------
1 |
2 | # Installation
3 |
4 |
5 | **How to install fish on Ubuntu**
6 |
7 | ```
8 | $ sudo apt-get update
9 |
10 | $ sudo apt install fish
11 | ```
12 |
13 | ---
14 |
15 |
16 | # How to run
17 |
18 | ```
19 | $ fish HelloWorld.fish
20 | ```
21 |
22 |
23 |
24 | # Uninstall Java
25 |
26 | ```
27 | $ sudo apt-get remove fish
28 |
29 | ```
30 |
--------------------------------------------------------------------------------
/Fish/installation.sh:
--------------------------------------------------------------------------------
1 | sudo apt-get update
2 | sudo apt install fish
--------------------------------------------------------------------------------
/Forth/README.md:
--------------------------------------------------------------------------------
1 | # Forth
2 |
3 | To install the Forth interpreter on Debian like systems:
4 |
5 | `sudo apt install gforth`
6 |
7 | Then run the hello_world.fth file with:
8 |
9 | `gforth hello_world.fth`
10 |
11 | To return to the command prompt
12 |
13 | type `bye`
14 |
--------------------------------------------------------------------------------
/Forth/hello_world.fth:
--------------------------------------------------------------------------------
1 | \ Make sure to pay attention to spaces in Forth
2 | \ like the one between the opening quote (**"**) and the **H** in Hello
3 | \ they are important to separate words
4 | ." Hello world." cr
5 |
--------------------------------------------------------------------------------
/Fortran/README.md:
--------------------------------------------------------------------------------
1 | # Hello World in Fortran Language:
2 |
3 | ## How to install FORTRAN:
4 | ```sudo apt-get install gfortran```
5 |
6 | ## How to compile code:
7 | ```gfortran hello.f```
8 |
9 | ## How to run compiled code:
10 | ```./a.out```
11 |
--------------------------------------------------------------------------------
/Fortran/hello.f:
--------------------------------------------------------------------------------
1 | program hello
2 | ! This is a comment line; it is ignored by the compiler
3 | print *, 'Hello, World!'
4 | end program hello
--------------------------------------------------------------------------------
/Glass/HelloWorld.glass:
--------------------------------------------------------------------------------
1 | +{M[m(_o)O!"Hello World"(_o)o.?]}
2 |
--------------------------------------------------------------------------------
/Glass/README.md:
--------------------------------------------------------------------------------
1 | ## Installation
2 |
3 | ### How to install Glass
4 |
5 | ```bash
6 | $ sudo apt-get update
7 | $ sudo apt-get install lg3d-core
8 | ```
9 |
10 | ### How to run
11 |
12 | ```bash
13 | $ glass HelloWorld.glass
14 | ```
15 |
16 | ### How to Uninstall Glass
17 |
18 | ```bash
19 | $ sudo apt remove lg3d-core
20 | ```
--------------------------------------------------------------------------------
/GlueLang/README.md:
--------------------------------------------------------------------------------
1 | # GlueLang
2 |
3 | ## Installation Steps
4 |
5 | To install GlueLang (from source):
6 |
7 | 1. Clone the repository:
8 |
9 | `git clone https://github.com/ryuichiueda/GlueLang.git`
10 |
11 | 2. Switch into the new **GlueLang** directory:
12 |
13 | `cd GlueLang`
14 |
15 | 3. Build the source:
16 |
17 | `make`
18 |
19 | This will generate a glue executable in ~/.glue/bin/..
20 |
21 | ## Run Your Code
22 |
23 | At this point you can run your hello_world.glue file with the following:
24 |
25 | `~/.glue/bin/glue hello_world.glue`
26 |
27 | or add ~/.glue/bin to your PATH (left as an exercise for the reader - see link below for more details)
28 |
29 | and run it with:
30 |
31 | `glue hello_world.glue`
32 |
33 | ## Reference
34 |
35 | [How to add a directory to your $PATH](https://www.howtogeek.com/658904/how-to-add-a-directory-to-your-path-in-linux/)
36 |
--------------------------------------------------------------------------------
/GlueLang/hello_world.glue:
--------------------------------------------------------------------------------
1 | echo 'Hello world.'
2 |
--------------------------------------------------------------------------------
/Go/HelloWorld.go:
--------------------------------------------------------------------------------
1 | package main
2 |
3 | import "fmt"
4 |
5 | func main() {
6 | fmt.Printf("hello world !\n")
7 | }
--------------------------------------------------------------------------------
/Go/HelloWorld2.go:
--------------------------------------------------------------------------------
1 | package main
2 |
3 | import "fmt"
4 |
5 | func main() {
6 | msg := []string{"H", "e", "l", "l", "o", " ", "W", "o", "r", "l", "d", "!"}
7 |
8 | for _, char := range msg {
9 | fmt.Print(char)
10 | }
11 | }
12 |
--------------------------------------------------------------------------------
/Go/ReadMe.md:
--------------------------------------------------------------------------------
1 |
2 | # Installation
3 |
4 |
5 | **How to install Go Ubuntu**
6 |
7 | ```
8 | $ sudo apt-get update
9 |
10 | $ wget -c https://dl.google.com/go/go1.17.linux-amd64.tar.gz -O - | sudo tar -xz -C /usr/local
11 | ```
12 |
13 | Adjusting the Path Variable :
14 |
15 | ```
16 | $ sudo echo 'export GOPATH=$HOME/work' >> ~/.profile
17 | $ sudo echo 'export PATH=$PATH:/usr/local/go/bin:$GOPATH/bin' >> ~/.profile
18 | $ source ~/.profile
19 | ```
20 | OR
21 | ```
22 | $ sudo nano ~/.profile
23 |
24 | At the end of the file, add this line:
25 |
26 | export GOPATH=$HOME/work
27 | export PATH=$PATH:/usr/local/go/bin:$GOPATH/bin
28 |
29 | (ctrl+s and ctrl+x to exit nano)
30 |
31 | $ source ~/.profile
32 | ```
33 |
34 | to know version :
35 | ```
36 | $ go version
37 | ```
38 |
39 |
40 |
41 |
42 |
43 | # How to run
44 |
45 | ```
46 | $ go run HelloWorld.go
47 | ```
48 | # how to uninstall Go
49 |
50 | ```
51 | $ sudo apt-get remove --auto-remove golang-go.
52 | ```
53 |
--------------------------------------------------------------------------------
/Go/installation.sh:
--------------------------------------------------------------------------------
1 | sudo apt-get update
2 | sudo apt install openjdk-11-jdk
3 | sudo snap install --classic kotlin
--------------------------------------------------------------------------------
/HTML/DocumentedHelloWorld.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
5 |
6 |
8 |
9 |
11 |
12 |
15 | HTML and CSS "Hello World"
16 |
17 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
65 | Hello World Example
66 |
67 |
69 | This is a very basic "Hello World" example made up in HTML and CSS. See if you can change the size of the header text above.
70 |
71 |
72 |
73 |