@@ -1,5 +1,5 @@
|
|||||||
public class Ash {
|
public class Ash {
|
||||||
public static void main(args : String[]) {
|
public static func main(args : [String]) {
|
||||||
println("Hello, world!")
|
println("Hello, world!")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
6
a/assembler_lc-3
Normal file
6
a/assembler_lc-3
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
.ORIG x3000
|
||||||
|
|
||||||
|
LEA R0, HELLOWORLD
|
||||||
|
PUTS
|
||||||
|
|
||||||
|
HELLOWORLD .STRINGZ "Hello world!\n"
|
||||||
2
f/fish.fish
Executable file
2
f/fish.fish
Executable file
@@ -0,0 +1,2 @@
|
|||||||
|
#!/usr/bin/env fish
|
||||||
|
echo "Hello, World!"
|
||||||
11
o/objc.m
11
o/objc.m
@@ -10,12 +10,5 @@
|
|||||||
|
|
||||||
int main(void)
|
int main(void)
|
||||||
{
|
{
|
||||||
@autoreleasepool
|
NSLog(@"Hello World");
|
||||||
{
|
}
|
||||||
NSFileHandle *_stderr = [NSFileHandle fileHandleWithStandardError];
|
|
||||||
NSString *string = @"hello, world\n";
|
|
||||||
NSData *data = [string dataUsingEncoding:[NSString defaultCStringEncoding]];
|
|
||||||
[_stderr writeData:data];
|
|
||||||
}
|
|
||||||
return EXIT_SUCCESS;
|
|
||||||
}
|
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
print("Hello, world")
|
print("Hello World")
|
||||||
|
|||||||
Reference in New Issue
Block a user