langs a-z

This commit is contained in:
Ingy döt Net 2013-04-10 22:43:41 -07:00
parent db842d013d
commit d066446780
11389 changed files with 98361 additions and 1020 deletions

View file

@ -0,0 +1 @@
while (true) WriteLine("SPAM");

View file

@ -0,0 +1,5 @@
def loop() : void
{
WriteLine("SPAM");
loop();
}

View file

@ -0,0 +1,9 @@
/* NetRexx */
options replace format comments java crossref savelog symbols nobinary
say
say 'Loops/Infinite'
loop label spam forever
say 'SPAM'
end spam

View file

@ -0,0 +1,3 @@
while true do
print_endline "SPAM"
done

View file

@ -0,0 +1,5 @@
let rec inf_loop() =
print_endline "SPAM";
inf_loop()
in
inf_loop()

View file

@ -0,0 +1,3 @@
while(true) {
"SPAM"->PrintLine();
};

View file

@ -0,0 +1,5 @@
#USE "course.lib"
PROC main (CHAN BYTE screen!)
WHILE TRUE
out.string("SPAM*c*n", 0, screen)
:

View file

@ -0,0 +1,3 @@
while(1)
disp("SPAM")
endwhile

View file

@ -0,0 +1,3 @@
for do
{Show 'SPAM'}
end

View file

@ -0,0 +1,3 @@
while(1,
print("SPAM")
);

View file

@ -0,0 +1 @@
until(print('SPAM),)

View file

@ -0,0 +1,3 @@
do forever;
put list ('SPAM'); put skip;
end;

View file

@ -0,0 +1,2 @@
while true do
writeln('SPAM');

View file

@ -0,0 +1,3 @@
repeat
writeln('SPAM')
until false;

View file

@ -0,0 +1,3 @@
loop {
say 'SPAM';
}

View file

@ -0,0 +1,3 @@
print "SPAM\n" xx *; # repetition operator
print "SPAM\n", ~* ... *; # sequence operator
map {say "SPAM"}, ^Inf; # upto operator

View file

@ -0,0 +1,3 @@
int main(){
while(1) write("SPAM\n");
}

View file

@ -0,0 +1,3 @@
while true do
printf('SPAM', '%p\n');
endwhile;

View file

@ -0,0 +1 @@
{}loop

View file

@ -0,0 +1,3 @@
for () {
"SPAM"
}

View file

@ -0,0 +1,3 @@
Repeat
PrintN("SPAM")
ForEver

View file

@ -0,0 +1,3 @@
PrintIt:
PrintN("SPAM")
Goto PrintIt

View file

@ -0,0 +1 @@
forever [print "SPAM"]

View file

@ -0,0 +1 @@
[ "SPAM\n" puts -1 ] while

View file

@ -0,0 +1,5 @@
[loop] print "Spam" :goto [loop]
while 1
print "Spam"
wend

View file

@ -0,0 +1,2 @@
loop output = "SPAM" :(loop)
end

View file

@ -0,0 +1,2 @@
while (true)
"SPAM"!;

View file

@ -0,0 +1,8 @@
$ include "seed7_05.s7i";
const proc: main is func
begin
while TRUE do
writeln("SPAM");
end while;
end func;

View file

@ -0,0 +1 @@
[inform: 'SPAM'] loop

View file

@ -0,0 +1,2 @@
while true do
print "SPAM\n";

View file

@ -0,0 +1,8 @@
let
fun inf_loop () = (
print "SPAM\n";
inf_loop ()
)
in
inf_loop ()
end

View file

@ -0,0 +1,3 @@
program main;
initial forever $display("SPAM");
endprogram

View file

@ -0,0 +1,3 @@
:Lbl 1
:Disp "SPAM
:Goto 1

View file

@ -0,0 +1,3 @@
:While 1
:Disp "SPAM
:End

View file

@ -0,0 +1,3 @@
Loop
Disp "SPAM"
EndLoop

View file

@ -0,0 +1,4 @@
$$ MODE TUSCRIPT
LOOP/999999999
print "spam"
ENDLOOP

View file

@ -0,0 +1,2 @@
While(1)
echo("SPAM");

View file

@ -0,0 +1,3 @@
WHILE 1=1 BEGIN
PRINT "SPAM"
END

View file

@ -0,0 +1 @@
["SPAM" print] loop

View file

@ -0,0 +1 @@
while :; do echo SPAM; done

View file

@ -0,0 +1 @@
while true; do echo "SPAM"; done

View file

@ -0,0 +1 @@
until false; do echo "SPAM"; done

View file

@ -0,0 +1 @@
for ((;;)); do echo "SPAM"; done

View file

@ -0,0 +1,3 @@
while (1)
echo SPAM
end

View file

@ -0,0 +1 @@
forever {echo SPAM}

View file

@ -0,0 +1 @@
yes SPAM

View file

@ -0,0 +1 @@
``ci``s``s`kr``s``s``s``s`k.S`k.P`k.A`k.Mii

View file

@ -0,0 +1,3 @@
true [
'SPAM' puts
] while

View file

@ -0,0 +1 @@
for(;;) stdout.printf("SPAM\n");

View file

@ -0,0 +1 @@
while(true) stdout.printf("SPAM\n");

View file

@ -0,0 +1 @@
do stdout.printf("SPAM\n"); while(true);

View file

@ -0,0 +1,3 @@
while (1) {
Message("Spam\n")
}

View file

@ -0,0 +1,3 @@
do {
Message("Spam\n")
} while (1)

View file

@ -0,0 +1,3 @@
for (;1;) {
Message("Spam\n")
}

View file

@ -0,0 +1,3 @@
Repeat (ALL) {
Message("Spam\n")
}

View file

@ -0,0 +1,3 @@
Do
Console.WriteLine("SPAM")
Loop

View file

@ -0,0 +1,3 @@
Do
Debug.Print("SPAM")
Loop

View file

@ -0,0 +1,14 @@
section .text
global _start
_start:
mov edx, len
mov ecx, msg
mov ebx, 1
mov eax, 4
int 0x80
jmp _start
section .data
msg db "SPAM",0xa
len equ $-msg

View file

@ -0,0 +1,3 @@
code Text=12;
loop Text(0, "SPAM
")

View file

@ -0,0 +1,14 @@
org $4000
txt_output: equ $bb5a
start: ld hl,spam
print: ld a,(hl)
cp 0
jr z,start
call txt_output
inc hl
jr print
spam: defm "SPAM\r\n\0"