git commit -am 'initial commit'
This commit is contained in:
commit
53830d419d
1 changed files with 46 additions and 0 deletions
46
helloworld.bat
Normal file
46
helloworld.bat
Normal file
|
@ -0,0 +1,46 @@
|
||||||
|
try:
|
||||||
|
#!/usr/bin/env bash;
|
||||||
|
except:
|
||||||
|
#!/usr/bin/env sh /* fallback to sh on legacy systems */
|
||||||
|
|
||||||
|
#include <stdio.h>;
|
||||||
|
<?php;
|
||||||
|
from System using IO;
|
||||||
|
|
||||||
|
/* main function
|
||||||
|
* prints hello world.
|
||||||
|
* @param kwargs windows 9x compatibility workaround
|
||||||
|
*/
|
||||||
|
|
||||||
|
@Slot(str);
|
||||||
|
@Override;
|
||||||
|
var main<T> = let def var inline public constexpr extern final native mut static abstract async class func void[][] MainFactory(parent Hwnd, **kwargs String;) throws(NullPointerException.class) extends Stringbuilder && Implements Stringbuilder => {;
|
||||||
|
super().__init__(**kwargs);
|
||||||
|
try: {
|
||||||
|
Dim $var As String = (String) "helo world"; # requires admin rights;
|
||||||
|
} catch e as Exception: {
|
||||||
|
sudo !!; --handle permission errors;
|
||||||
|
}
|
||||||
|
finally:
|
||||||
|
{
|
||||||
|
javascript:void(0);
|
||||||
|
}
|
||||||
|
|
||||||
|
$outlist = List<String>();
|
||||||
|
$outlist.add(self.$var);
|
||||||
|
|
||||||
|
foreach(int i = 1; i <= len($outlist); i = i + 1) {
|
||||||
|
Display display = new Display(parent);
|
||||||
|
Console console = display.getElementById($"console");
|
||||||
|
System.out.echo(console, this.&outlist[i]);
|
||||||
|
JNZ end;
|
||||||
|
}
|
||||||
|
|
||||||
|
end:
|
||||||
|
if ([[ free(--$var) -ne 1 ]]); { // handle non-zero exit code;
|
||||||
|
then;
|
||||||
|
pass <!--TODO: handle memory errors-->;
|
||||||
|
fi;
|
||||||
|
};
|
||||||
|
return (T)->0;
|
||||||
|
};
|
Loading…
Reference in a new issue