Merge git://github.com/clivecrous/hello-world into merges

This commit is contained in:
Elliot Winard
2008-07-24 10:17:25 -04:00
15 changed files with 72 additions and 1 deletions

3
bash.sh Normal file
View File

@@ -0,0 +1,3 @@
#!/bin/bash
echo "Hello World!";

1
broccoli.brocc Normal file
View File

@@ -0,0 +1 @@
(out "Hello World" crlf)

8
clips.clips Normal file
View File

@@ -0,0 +1,8 @@
(defrule hw
(f ?x)
=>
(printout t ?x crlf))
(assert (f "Hello World"))
(run)

5
dtrace.d Normal file
View File

@@ -0,0 +1,5 @@
#!/usr/sbin/dtrace -qs
BEGIN {
printf("Hello World");
exit(0);
}

1
groovy.groovy Normal file
View File

@@ -0,0 +1 @@
println "Hello World"

8
html.html Normal file
View File

@@ -0,0 +1,8 @@
<html>
<title>
Hello World HTML
</title>
<body>
<h1>Hello World</h1>
</body>
</html>

4
lolcode.lol Normal file
View File

@@ -0,0 +1,4 @@
HAI
CAN HAS STDIO?
VISIBLE "Hello World"
KTHXBYE

1
matlab.m Normal file
View File

@@ -0,0 +1 @@
disp('hello world')

3
muf.muf Normal file
View File

@@ -0,0 +1,3 @@
: main
me @ "Hello World" notify
;

7
objc.m Normal file
View File

@@ -0,0 +1,7 @@
#import <Cocoa/Cocoa.h>
int main(int argc, char *argv[])
{
NSLog(@"Hello, World!\n");
return 0;
}

2
postscript.ps Normal file
View File

@@ -0,0 +1,2 @@
% run> gs -q -sDEVICE=nullpage postscript.ps
(Hello world!\n) print quit

11
postscript_page.ps Normal file
View File

@@ -0,0 +1,11 @@
% run> gs -q postscript_page.ps
/pt {72 div} def
/y 9 def
/textdraw {/Courier findfont 12 pt scalefont setfont 8 pt y moveto show} def
72 72 scale
0 0 0 setrgbcolor
(Hello world!) textdraw
showpage
quit

1
prolog.pro Normal file
View File

@@ -0,0 +1 @@
write('Hello World').

16
ruby.rb
View File

@@ -1,2 +1,16 @@
#!/usr/bin/ruby #!/usr/bin/ruby
puts "Hello World"
class Hello
def initialize
@message = "Hello World!"
end
def say_hi
puts @message
end
end
h = Hello.new
h.say_hi

2
ruby_procedural.rb Normal file
View File

@@ -0,0 +1,2 @@
#!/usr/bin/ruby
puts "Hello World"