From c8095dc2a903f29448ca6e7d6046257fd098cd7c Mon Sep 17 00:00:00 2001 From: Timothy Goddard Date: Sat, 1 Dec 2007 15:16:23 +1300 Subject: [PATCH 01/12] Added Haskell. --- haskell.hs | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 haskell.hs diff --git a/haskell.hs b/haskell.hs new file mode 100644 index 00000000..dea0b27d --- /dev/null +++ b/haskell.hs @@ -0,0 +1,4 @@ +module Main + where + +main=putStrLn "Hello, World!" \ No newline at end of file From bd314bbdd40f92a5ce1338aebb13ffdb5dbb1685 Mon Sep 17 00:00:00 2001 From: Robert Wohlrab Date: Sat, 1 Dec 2007 14:29:24 +0100 Subject: [PATCH 02/12] Converted c.c to ansi c --- c.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/c.c b/c.c index 7cfe76d7..36465c8f 100644 --- a/c.c +++ b/c.c @@ -1,6 +1,6 @@ #include -int main() { +int main(void) { printf("Hello World\n"); return 0; } From 9cbc51a78102373749489d97b2f071a5ed65095d Mon Sep 17 00:00:00 2001 From: Robert Wohlrab Date: Sat, 1 Dec 2007 14:30:50 +0100 Subject: [PATCH 03/12] Use endl instead of hardcoded newline in c++.cpp --- c++.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/c++.cpp b/c++.cpp index dc84dd4a..da7c1e33 100644 --- a/c++.cpp +++ b/c++.cpp @@ -2,5 +2,5 @@ using namespace std; int main(){ - cout << "Hello World\n"; + cout << "Hello World" << endl; } From 362cd93825f7b5c2442855babea3d695bf5fc5c0 Mon Sep 17 00:00:00 2001 From: Robert Wohlrab Date: Sat, 1 Dec 2007 14:45:23 +0100 Subject: [PATCH 04/12] Added x86 linux assembler (nasm syntax) --- linux-x86.nasm | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 linux-x86.nasm diff --git a/linux-x86.nasm b/linux-x86.nasm new file mode 100644 index 00000000..0294017a --- /dev/null +++ b/linux-x86.nasm @@ -0,0 +1,18 @@ +# 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 From fe1637618f4688de9d335792ae74b6e2ea4eb0da Mon Sep 17 00:00:00 2001 From: Robert Wohlrab Date: Sat, 1 Dec 2007 14:50:32 +0100 Subject: [PATCH 05/12] Added awk --- awk.awk | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 awk.awk diff --git a/awk.awk b/awk.awk new file mode 100644 index 00000000..88c8f38c --- /dev/null +++ b/awk.awk @@ -0,0 +1,2 @@ +# awk -f awk.awk +BEGIN { print "Hello World" } From 02c52fda706488469302dc2e58f8cae944c1bd11 Mon Sep 17 00:00:00 2001 From: Robert Wohlrab Date: Sat, 1 Dec 2007 14:59:08 +0100 Subject: [PATCH 06/12] Added C# --- csharp.cs | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 csharp.cs diff --git a/csharp.cs b/csharp.cs new file mode 100644 index 00000000..23ceef42 --- /dev/null +++ b/csharp.cs @@ -0,0 +1,5 @@ +class HelloWorld { + static void Main() { + System.Console.WriteLine("Hello World"); + } +} \ No newline at end of file From c3b2b7234ca6e4927ba0655b4625a7b464c529b1 Mon Sep 17 00:00:00 2001 From: Robert Wohlrab Date: Sat, 1 Dec 2007 15:02:42 +0100 Subject: [PATCH 07/12] Added CLisp --- clisp.lisp | 1 + 1 file changed, 1 insertion(+) create mode 100644 clisp.lisp diff --git a/clisp.lisp b/clisp.lisp new file mode 100644 index 00000000..6002ba7c --- /dev/null +++ b/clisp.lisp @@ -0,0 +1 @@ +(write-line "Hello World") \ No newline at end of file From 657b364fb8e69c00c0162540e8292c70d8e4c347 Mon Sep 17 00:00:00 2001 From: Robert Wohlrab Date: Sat, 1 Dec 2007 15:11:31 +0100 Subject: [PATCH 08/12] Added fortran --- fortran.f90 | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 fortran.f90 diff --git a/fortran.f90 b/fortran.f90 new file mode 100644 index 00000000..e7c5fc28 --- /dev/null +++ b/fortran.f90 @@ -0,0 +1,3 @@ +program helloworld +print *,'Hello World' +end program helloworld \ No newline at end of file From cf736413bb38238a1fbcc033c0f266f796217dc5 Mon Sep 17 00:00:00 2001 From: Robert Wohlrab Date: Sat, 1 Dec 2007 15:13:43 +0100 Subject: [PATCH 09/12] Added lua.lua --- lua.lua | 1 + 1 file changed, 1 insertion(+) create mode 100644 lua.lua diff --git a/lua.lua b/lua.lua new file mode 100644 index 00000000..8e235769 --- /dev/null +++ b/lua.lua @@ -0,0 +1 @@ +print("Hello World") \ No newline at end of file From 7ee85f8bbe84b27810c7e26f8cd0589274a3d8a9 Mon Sep 17 00:00:00 2001 From: Robert Wohlrab Date: Sat, 1 Dec 2007 15:19:46 +0100 Subject: [PATCH 10/12] Added OCaml --- ocaml.ml | 1 + 1 file changed, 1 insertion(+) create mode 100644 ocaml.ml diff --git a/ocaml.ml b/ocaml.ml new file mode 100644 index 00000000..93dbf378 --- /dev/null +++ b/ocaml.ml @@ -0,0 +1 @@ +print_string "Hello World\n" \ No newline at end of file From f86fb91b0d0ade363c76144af60b786549ed62b9 Mon Sep 17 00:00:00 2001 From: Robert Wohlrab Date: Sat, 1 Dec 2007 15:22:34 +0100 Subject: [PATCH 11/12] Added delphi --- delphi.pas | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 delphi.pas diff --git a/delphi.pas b/delphi.pas new file mode 100644 index 00000000..01bb7a8e --- /dev/null +++ b/delphi.pas @@ -0,0 +1,6 @@ +program HelloWorld; +{$APPTYPE CONSOLE} + +begin + WriteLn('Hello World'); +end. \ No newline at end of file From f876520ff0ddbee9f4b51f709350d470869c2634 Mon Sep 17 00:00:00 2001 From: Robert Wohlrab Date: Sat, 1 Dec 2007 15:29:48 +0100 Subject: [PATCH 12/12] Added hq9+ --- hq9+.h | 1 + 1 file changed, 1 insertion(+) create mode 100644 hq9+.h diff --git a/hq9+.h b/hq9+.h new file mode 100644 index 00000000..8ac2eb50 --- /dev/null +++ b/hq9+.h @@ -0,0 +1 @@ +H \ No newline at end of file