Merge git://github.com/clivecrous/hello-world into merges
This commit is contained in:
1
broccoli.brocc
Normal file
1
broccoli.brocc
Normal file
@@ -0,0 +1 @@
|
|||||||
|
(out "Hello World" crlf)
|
||||||
8
clips.clips
Normal file
8
clips.clips
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
(defrule hw
|
||||||
|
(f ?x)
|
||||||
|
=>
|
||||||
|
(printout t ?x crlf))
|
||||||
|
|
||||||
|
(assert (f "Hello World"))
|
||||||
|
|
||||||
|
(run)
|
||||||
5
dtrace.d
Normal file
5
dtrace.d
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
#!/usr/sbin/dtrace -qs
|
||||||
|
BEGIN {
|
||||||
|
printf("Hello World");
|
||||||
|
exit(0);
|
||||||
|
}
|
||||||
1
groovy.groovy
Normal file
1
groovy.groovy
Normal file
@@ -0,0 +1 @@
|
|||||||
|
println "Hello World"
|
||||||
8
html.html
Normal file
8
html.html
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
<html>
|
||||||
|
<title>
|
||||||
|
Hello World HTML
|
||||||
|
</title>
|
||||||
|
<body>
|
||||||
|
<h1>Hello World</h1>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
4
lolcode.lol
Normal file
4
lolcode.lol
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
HAI
|
||||||
|
CAN HAS STDIO?
|
||||||
|
VISIBLE "Hello World"
|
||||||
|
KTHXBYE
|
||||||
7
objc.m
Normal file
7
objc.m
Normal 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
2
postscript.ps
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
% run> gs -q -sDEVICE=nullpage postscript.ps
|
||||||
|
(Hello world!\n) print quit
|
||||||
11
postscript_page.ps
Normal file
11
postscript_page.ps
Normal 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
1
prolog.pro
Normal file
@@ -0,0 +1 @@
|
|||||||
|
write('Hello World').
|
||||||
16
ruby.rb
16
ruby.rb
@@ -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
2
ruby_procedural.rb
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
#!/usr/bin/ruby
|
||||||
|
puts "Hello World"
|
||||||
Reference in New Issue
Block a user