Merge branch 'master' of git://github.com/leachim6/hello-world

sync with upstream
This commit is contained in:
Shark
2015-12-24 00:34:19 +01:00
28 changed files with 98 additions and 13 deletions

4
#/0815.0815 Normal file
View File

@@ -0,0 +1,4 @@
<:48:x<:65:=<:6C:$=$=$$~<:03:+
$~<:ffffffffffffffb1:+$<:77:~$
~<:fffffffffffff8:x+$~<:03:+$~
<:06:x-$x<:0e:x-$=x<:43:x-$

8
#/360-assembly.asm Normal file
View File

@@ -0,0 +1,8 @@
LA 1,MSGAREA Point Register 1 to message area
SVC 35 Invoke SVC 35 (Write to Operator)
BR 14 Return
MSGAREA EQU * Message Area
DC AL2(19) Total area length = 19 (Prefix length:4 + Data Length:15)
DC XL2'00' 2 bytes binary of zeros
DC C'Hello world!' Text to be written to system console
END

22
#/6502-assembly.s Normal file
View File

@@ -0,0 +1,22 @@
; goodbyeworld.s for C= 8-bit machines, ca65 assembler format.
; String printing limited to strings of 256 characters or less.
a_cr = $0d ; Carriage return.
bsout = $ffd2 ; KERNAL ROM, output a character to current device.
.code
ldx #0 ; Starting index 0 in X register.
printnext:
lda text,x ; Get character from string.
beq done ; If we read a 0 we're done.
jsr bsout ; Output character.
inx ; Increment index to next character.
bne printnext ; Repeat if index doesn't overflow to 0.
done:
rts ; Return from subroutine.
.rodata
text:
.byte "Hello world!", a_cr, 0

3
a/ALGOL-W.algol Normal file
View File

@@ -0,0 +1,3 @@
begin
write( "Hello world!" )
end.

7
a/aime.aime Normal file
View File

@@ -0,0 +1,7 @@
integer
main(void)
{
o_text("Hello world!\n");
return 0;
}

1
a/algae.algae Normal file
View File

@@ -0,0 +1 @@
printf("Hello world!\n");

1
a/alore.alore Normal file
View File

@@ -0,0 +1 @@
Print('Hello world!')

View File

@@ -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
View File

@@ -0,0 +1,6 @@
.ORIG x3000
LEA R0, HELLOWORLD
PUTS
HELLOWORLD .STRINGZ "Hello world!\n"

View File

@@ -1,6 +1,8 @@
#include <iostream> #include <iostream>
#include <cstdlib>
int main() int main()
{ {
std::cout << "Hello World" << std::endl; std::cout << "Hello World" << std::endl;
return EXIT_SUCCESS;
} }

3
c/cypherNeo4j.cypher Normal file
View File

@@ -0,0 +1,3 @@
CREATE (Hello:Word { val: 'Hello' }), (World:Word { val: 'World!' }),
(Hello)-[:SPACE]->(World)
RETURN Hello,World

12
d/HelloWorld.dark Normal file
View File

@@ -0,0 +1,12 @@
+helloworld hell
helloworld$twist stalker io
helloworld$twist sign string
io$stalk
io$personal
string$scrawl " Hello World!
string$read ~
io$echo
helloworld$consume io
helloworld$consume string
helloworld$empty
helloworld$apocalypse

View File

@@ -1 +1 @@
hello world :-Q S:-P :-Q Hello World! :Q S::P :P

2
e/~English.ext Normal file
View File

@@ -0,0 +1,2 @@
Display "Hello world!" and a newline.
Stop the program.

2
f/fish.fish Executable file
View File

@@ -0,0 +1,2 @@
#!/usr/bin/env fish
echo "Hello, World!"

1
g/geojson.geojson Normal file
View File

@@ -0,0 +1 @@
{"type":"FeatureCollection","features":[{"type":"Feature","properties":{},"geometry":{"type":"Polygon","coordinates":[[[-103.35937499999999,66.93006025862448],[-104.4140625,39.90973623453719],[-94.21875,39.36827914916011],[-93.8671875,50.28933925329178],[-85.78125,50.28933925329178],[-85.78125,39.639537564366684],[-75.5859375,39.639537564366684],[-77.6953125,67.06743335108298],[-86.484375,66.79190947341796],[-85.78125,57.7041472343419],[-92.8125,57.32652122521709],[-94.21875,66.51326044311188],[-103.35937499999999,66.93006025862448]]]}},{"type":"Feature","properties":{},"geometry":{"type":"Polygon","coordinates":[[[-71.3671875,67.47492238478702],[-40.42968749999999,67.60922060496382],[-40.78125,64.01449619484472],[-61.52343749999999,63.548552232036414],[-61.52343749999999,57.89149735271031],[-50.625,57.89149735271031],[-50.625,51.39920565355378],[-60.1171875,51.39920565355378],[-61.17187499999999,42.032974332441405],[-42.1875,42.293564192170095],[-42.1875,36.87962060502676],[-68.203125,34.88593094075317],[-71.3671875,67.47492238478702]]]}},{"type":"Feature","properties":{},"geometry":{"type":"Polygon","coordinates":[[[-32.6953125,67.60922060496382],[-32.34375,39.36827914916011],[-4.21875,40.713955826286046],[-4.21875,47.754097979680026],[-20.7421875,47.040182144806664],[-21.796875,67.87554134672945],[-32.6953125,67.60922060496382]]]}},{"type":"Feature","properties":{},"geometry":{"type":"Polygon","coordinates":[[[4.5703125,68.78414378041504],[5.9765625,42.553080288955826],[37.265625,43.83452678223682],[37.265625,49.61070993807422],[18.6328125,50.28933925329178],[15.468749999999998,69.03714171275197],[4.5703125,68.78414378041504]]]}},{"type":"Feature","properties":{},"geometry":{"type":"Polygon","coordinates":[[[41.8359375,43.068887774169625],[41.8359375,68.65655498475735],[95.625,68.65655498475735],[95.625,43.068887774169625],[41.8359375,43.068887774169625]]]}},{"type":"Feature","properties":{},"geometry":{"type":"Polygon","coordinates":[[[50.9765625,47.27922900257082],[50.9765625,66.93006025862448],[89.296875,66.93006025862448],[89.296875,47.27922900257082],[50.9765625,47.27922900257082]]]}},{"type":"Feature","properties":{},"geometry":{"type":"Polygon","coordinates":[[[-115.6640625,18.312810846425442],[-98.7890625,18.979025953255267],[-84.72656249999999,-15.961329081596634],[-75.5859375,-4.565473550710278],[-69.2578125,-4.214943141390639],[-65.7421875,-15.284185114076433],[-53.0859375,19.973348786110602],[-39.7265625,21.28937435586041],[-65.0390625,-41.244772343082076],[-73.828125,-42.0329743324414],[-76.640625,-28.613459424004414],[-84.375,-41.50857729743933],[-94.921875,-42.0329743324414],[-115.6640625,18.312810846425442]]]}},{"type":"Feature","properties":{},"geometry":{"type":"Polygon","coordinates":[[[-34.80468749999999,-39.09596293630548],[-34.80468749999999,21.28937435586041],[14.414062499999998,21.28937435586041],[14.414062499999998,-39.09596293630548],[-34.80468749999999,-39.09596293630548]]]}},{"type":"Feature","properties":{},"geometry":{"type":"Polygon","coordinates":[[[-28.125,-31.05293398570514],[-28.125,14.944784875088372],[8.7890625,14.944784875088372],[8.7890625,-31.05293398570514],[-28.125,-31.05293398570514]]]}},{"type":"Feature","properties":{},"geometry":{"type":"Polygon","coordinates":[[[23.203125,21.616579336740603],[22.148437499999996,-38.27268853598096],[32.34375,-37.99616267972812],[33.75,-15.961329081596634],[45.3515625,-36.597889133070204],[59.765625,-36.03133177633187],[39.0234375,-5.266007882805485],[54.84375,-3.513421045640032],[53.0859375,23.241346102386135],[23.203125,21.616579336740603]]]}},{"type":"Feature","properties":{},"geometry":{"type":"Polygon","coordinates":[[[28.828124999999996,2.811371193331128],[28.828124999999996,16.972741019999035],[46.7578125,16.972741019999035],[46.7578125,2.811371193331128],[28.828124999999996,2.811371193331128]]]}},{"type":"Feature","properties":{},"geometry":{"type":"Polygon","coordinates":[[[65.0390625,22.917922936146045],[66.09375,-34.30714385628803],[111.4453125,-34.30714385628803],[110.390625,-25.79989118208832],[78.3984375,-24.206889622398023],[76.9921875,23.56398712845123],[65.0390625,22.917922936146045]]]}},{"type":"Feature","properties":{},"geometry":{"type":"Polygon","coordinates":[[[117.0703125,25.165173368663954],[121.640625,-33.13755119234615],[135.35156249999997,-31.653381399663985],[146.25,-20.3034175184893],[148.7109375,-9.79567758282973],[148.359375,0],[145.1953125,7.36246686553575],[140.2734375,14.604847155053898],[135.703125,20.632784250388028],[128.671875,24.206889622398023],[121.9921875,26.11598592533351],[117.0703125,25.165173368663954]]]}}]}

1
g/glass.glass Normal file
View File

@@ -0,0 +1 @@
+{M[m(_o)O!"Hello World!"(_o)o.?]}

1
m/mongo.shell Normal file
View File

@@ -0,0 +1 @@
print("Hello World!")

View File

@@ -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;
} }

6
p/perl6.p6 Normal file
View File

@@ -0,0 +1,6 @@
#!/usr/bin/env perl6
v6;
say "Hello, World!";

1
p/powershell.ps1 Normal file
View File

@@ -0,0 +1 @@
Write-Output 'Hello World'

View File

@@ -1 +1,2 @@
'Hello, World!' 'Hello, World!'
test

View File

@@ -1,3 +1,6 @@
begin begin
output "Hello World!" ?hello = "Hello World"
if 1 == 1 then
output ?hello
fi
end end

3
r/react.js vendored Normal file
View File

@@ -0,0 +1,3 @@
//simple react component that renders "Hello World" as an H1 tag into the body
React.render(<h1>Hello World</h1>, document.body);

1
s/slashes.slashes Normal file
View File

@@ -0,0 +1 @@
Hello, world!

View File

@@ -1 +1 @@
print("Hello, world") print("Hello World")

1
w/wolframlanguage.wl Normal file
View File

@@ -0,0 +1 @@
Print["Hello World"];