Merge pull request #7 from faisalman/master

Added ActionScript, UNIX Shells, Windoze batch, CoffeeScript, Qu, XQuery, haXe, Objective-J
This commit is contained in:
Mike Donaghy 2011-07-23 21:58:40 -07:00
commit fc381788da
11 changed files with 36 additions and 0 deletions

15
a/actionscript.as Normal file
View File

@ -0,0 +1,15 @@
package
{
import flash.display.Sprite;
import flash.text.TextField;
public class actionscript extends Sprite
{
private var hello:TextField = new TextField();
public function actionscript(){
hello.text = "Hello, World!";
addChild(hello);
}
}
}

3
b/batch.bat Executable file
View File

@ -0,0 +1,3 @@
@echo off
echo Hello, World!
pause

1
c/coffeescript.coffee Normal file
View File

@ -0,0 +1 @@
alert "Hello, World!"

2
c/csh.csh Executable file
View File

@ -0,0 +1,2 @@
#!/bin/csh
echo "Hello, World!"

5
h/Haxe.hx Normal file
View File

@ -0,0 +1,5 @@
class Haxe {
static function main() {
trace("Hello, World!");
}
}

2
k/ksh.ksh Normal file
View File

@ -0,0 +1,2 @@
#!/bin/ksh
echo "Hello, World!"

1
o/objective-j.j Normal file
View File

@ -0,0 +1 @@
document.write("Hello, World!");

1
q/qu.qu Normal file
View File

@ -0,0 +1 @@
'Hello, World!'

2
t/tcsh.tcsh Normal file
View File

@ -0,0 +1,2 @@
#!/bin/tcsh
echo "Hello, World!"

2
x/xquery.xq Normal file
View File

@ -0,0 +1,2 @@
let $hello := "Hello, World!"
return $hello

2
z/zsh.zsh Executable file
View File

@ -0,0 +1,2 @@
#!/bin/zsh
echo "Hello, World!"