September 2017 Update

This commit is contained in:
Ingy döt Net 2017-09-23 10:01:46 +02:00
parent bba7bfd280
commit ba8067c3b7
14570 changed files with 153136 additions and 63871 deletions

View file

@ -0,0 +1,3 @@
do
print( "SPAM" )
od

View file

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

View file

@ -0,0 +1,2 @@
_>`SPA`p
bN`M`<

View file

@ -0,0 +1,5 @@
main() {
while(true) {
print("SPAM");
}
}

View file

@ -0,0 +1,2 @@
[[SPAM
]P dx]dx

View file

@ -0,0 +1,33 @@
[ Infinite loop
=============
A program for the EDSAC
Works with Initial Orders 2 ]
T56K
GK
O10@ [ letter shift ]
[ 1 ] A17@ [ a += C(17@) ]
O11@
O12@
O13@
O14@
O15@
O16@
T17@ [ C(17@) = a; a = 0 ]
E1@ [ if a >= 0 goto 1@ ]
[ 10 ] *F
[ 11 ] SF
[ 12 ] PF
[ 13 ] AF
[ 14 ] MF
[ 15 ] @F [ carriage return ]
[ 16 ] &F [ line feed ]
[ 17 ] PF
EZPF

View file

@ -1,9 +1,7 @@
#import system.
#symbol program =
program =
[
#loop true?
while (true)
[
console writeLine:"span".
console writeLine:"spam".
].
].

View file

@ -1,2 +0,0 @@
10 WRITE(*,*) "SPAM"
GOTO 10

View file

@ -0,0 +1,7 @@
Public Sub Main()
Do
Print "SPAM"
Loop
End

View file

@ -0,0 +1,3 @@
forever {
echo "SPAM";
}

View file

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

View file

@ -0,0 +1 @@
while(1) Print("SPAM\n");

View file

@ -0,0 +1,5 @@
// version 1.0.6
fun main(args: Array<String>) {
while (true) println("SPAM")
}

View file

@ -0,0 +1,3 @@
*TypeSpam
type:SPAM
jump:*TypeSpam

View file

@ -0,0 +1,3 @@
\newlinechar`\^^J
\def\spam{\message{SPAM^^J}\spam}%
\spam

View file

@ -0,0 +1,11 @@
/go {
/spam
{ (SPAM\n) print flush }
bind def % bind and define spam
{ spam } % procedure that will be executed by loop and will call spam to print
loop % the loop
}
%start spamming!
go

View file

@ -0,0 +1,3 @@
>
#.output("SPAM")
<

View file

@ -0,0 +1,4 @@
:loop
s/.*/SPAM/
p
t loop

View file

@ -0,0 +1,3 @@
while 1 {
display "SPAM"
}

View file

@ -0,0 +1 @@
while (1) printf("SPAM\n")

View file

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

View file

@ -0,0 +1,4 @@
(defun keep-printing-spam ()
(while t
(display "SPAM")
(newline) ) )

View file

@ -0,0 +1,4 @@
(defun keep-printing-spam ()
(display "SPAM")
(newline)
(keep-printing-spam) )

View file

@ -0,0 +1,6 @@
while(1) { println("SPAM") }
while(True){ println("SPAM") }
foreach _ in ([0..]){ println("SPAM") }
[0..].pump(Console.println,T(Void,"SPAM"));
[0..].pump(fcn{ println("SPAM") });
fcn{ println("SPAM"); return(self.fcn()) }(); // tail recursive lambda