8000 GitHub - jakehill0908/HelloWorld: "Hello, world!" in a myriad of different programming languages.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

jakehill0908/HelloWorld

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hello, world!

Hello, world! in a myriad of different programming languages.

Below you will find all the languages currently completed or planned. Instructions on how to compile and run each script will be provided.

TODO

TODO

C

$ cd c
$ gcc HelloWorld.c -o HelloWorld
$ ./HelloWorld
Hello, world!

C++

$ cd cpp
$ g++ HelloWorld.cpp -o HelloWorld
$ ./HelloWorld
Hello, world!

C#

TODO

TODO

TODO

$ cd coffee-script
$ coffee -c HelloWorld.coffee
$ node HelloWorld.js
Hello, World!

or

$ cd coffee-script
$ coffee HelloWorld.coffee        //Compile and execute
Hello, World!

TODO

$ cd d
$ dmd HellloWorld.d
$ ./HelloWorld
Hello, world!

or

$ cd d
rdmd HelloWorld.d					//Compile and execute
Hello, world!

TODO

TODO

$ cd erlang
$ erl								//start erlang shell
1> c(helloworld).					//compile helloworld.erl
{ok,helloworld}
2> helloworld:hello_world().		//run helloworld.beam
Hello, world!
ok
3> init:stop().						//stop the erlang shell cleanly

TODO

Fortran

TODO

TODO

TODO

TODO

Java

$ cd java
$ javac HelloWorld.java
$ java HelloWorld
Hello, world!

JavaScript

$ cd javscript
$ open ./index.html

Open Javascript console in browser

Hello, world!

TODO

$ cd lolcode
$ lci HelloWorld.lol
Hello, world!

TODO

TODO

Objective-C

$ cd objective-c
$ gcc HelloWorld.m -o HelloWorld
$ ./HelloWorld
Hello, world!

TODO

TODO

TODO

$ cd perl
$ perl HelloWorld.pl
Hello, world!

TODO

TODO

$ cd python
$ python HelloWorld.py
Hello, world!

TODO

TODO

$ cd ruby
$ ruby HelloWorld.rb
Hello, world!
$ cd rust
$ rustc HelloWorld.rs
$ ./HelloWorld
Hello, world!
$ cd scala
$ scalac HelloWorld.scala
$ scala HelloWorld
Hello, world!

TODO

TODO

TODO

TODO

TODO

About

"Hello, world!" in a myriad of different programming languages.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0