Programming Languages

Language"Hello Toph!"
Bash 5.0

Bash 5.0.11 · Website

echo 'Hello Toph!'
bash hello.sh
Brainf*ck

Bf 20041219 · Website

Experimental

-[------->+<]>-.-[->+++++<]>++.+++++++..+++.[--->+<]>-----.>-[--->+<]>-.-[--->+<]>--.+.--------.--[--->+<]>-.[--->+<]>-.
bf hello.bf
C# Mono 6.0

Mono 6.0.0 · Website

Experimental

class Hello
{
    static void Main()
    {
        System.Console.WriteLine("Hello Toph!");
    }
}
csc -o -nologo hello.cs
./hello.exe
C++11 GCC 7.4

GCC 7.4.0 · Website

#include <iostream>

using namespace std;

int main() {
	cout << "Hello Toph!" << endl;
	return 0;
}
g++ -static -s -x c++ -O2 -std=c++11 -D ONLINE_JUDGE hello.cpp -lm
./a.out
C++14 GCC 8.3

GCC 8.3.0 · Website

#include <iostream>

using namespace std;

int main() {
	cout << "Hello Toph!" << endl;
	return 0;
}
g++ -static -s -x c++ -O2 -std=c++14 -D ONLINE_JUDGE hello.cpp -lm
./a.out
C++17 GCC 9.2

GCC 9.2.0 · Website

#include <iostream>

using namespace std;

int main() {
	cout << "Hello Toph!" << endl;
	return 0;
}
g++ -static -s -x c++ -O2 -std=c++17 -D ONLINE_JUDGE hello.cpp -lm
./a.out
C11 GCC 9.2

GCC 9.2.0 · Website

#include <stdio.h>

int main() {
	printf("Hello Toph!");
	return 0;
}
gcc -std=c11 -static -O2 -D ONLINE_JUDGE hello.c -lm
./a.out
Common Lisp SBCL 2.0

SBCL 2.0.4 · Website

Experimental

(princ "Hello Toph!")
sbcl --noinform --eval '(compile-file "hello.lisp")' --quit
sbcl --script hello.fasl
Erlang 22.3

Erlang 22.3 · Website

Experimental

-export([main/1]).

main([]) ->
  io:format("Hello, Toph!~n").
escript hello.erl
Free Pascal 3.0

Free Pascal 3.0.0 · Website

Experimental

program HelloToph(output);
begin
  WriteLn('Hello Toph!');
end.
fpc -oa.out hello.pas
./a.out
Go 1.13

Go 1.13.0 · Website

package main

import "fmt"

func main() {
	fmt.Println("Hello Toph!")
}
go build -o 6.out
./6.out
Haskell 8.6

Haskell 8.6.5 · Website

Experimental

main = putStrLn "Hello Toph!"
ghc hello.hs
./a.out
Java 1.8

Java v1.8.0_03 (OpenJDK) · Website

class Hello {
  static public void main(String args[]) {
    System.out.println("Hello Toph!");
  }
}
javac Hello.java
java Hello
Kotlin 1.1

Kotlin 1.1.0 · Website

fun main(args : Array<String>) {
    println("Hello Toph!")
}
kotlinc hello.kt
kotlin hello
Node.js 10.16

Node.js 10.16.3 · Website

console.log('Hello Toph!');
node hello.js
Perl 5.30

Perl 5.30.0 · Website

Experimental

print "Hello Toph!\n";
perl hello.pl
PHP 7.2

PHP 7.2.22 · Website

<?php
  echo 'Hello Toph!';
php hello.php
PyPy 7.1 (2.7)

PyPy 7.1.1 (Python 2.7) · Website

print "Hello Toph!"
pypy hello.py
PyPy 7.1 (3.6)

PyPy 7.1.1 (Python 3.6) · Website

print("Hello Toph!")
pypy3 hello.py
Python 2.7

Python 2.7.16 · Website

print "Hello Toph!"
python2 hello.py
Python 3.7

Python 3.7.4 · Website

print("Hello Toph!")
python3 hello.py
Ruby 2.6

Ruby 2.6.4 · Website

puts "Hello Toph!"
ruby hello.rb

Make a Request

Couldn't find your favorite programming language in the list? Let us know which one.