September Morn Update

This commit is contained in:
Ingy döt Net 2019-09-12 10:33:56 -07:00
parent 4e2d22a71d
commit aac6731f2c
6856 changed files with 141342 additions and 21127 deletions

View file

@ -16,4 +16,6 @@ Print out &nbsp; &nbsp; &nbsp; <big> '''SPAM''' </big> &nbsp; &nbsp; &nbsp; foll
* &nbsp; [[Loops/N plus one half]]
* &nbsp; [[Loops/Nested]]
* &nbsp; [[Loops/While]]
* &nbsp; [[Loops/with multiple ranges]]
* &nbsp; [[Loops/Wrong ranges]]
<br><br>

View file

@ -0,0 +1,3 @@
100 DO
110 PRINT "SPAM"
120 LOOP

View file

@ -0,0 +1,4 @@
10++++++++++
[-> 8++++++++ > 8++++++++ > 6++++++ > 8++++++++ > 1+ <<<<<]>
83+++ > 80 > 65+++++ > 77--- <<<
[.>.>.>.>.<<<<]

View file

@ -1,2 +1,2 @@
while (true)
std::cout << "SPAM" << std::endl;
std::cout << "SPAM\n";

View file

@ -1,2 +1,2 @@
for (;;)
std::cout << "SPAM" << std::endl;
std::cout << "SPAM\n";

View file

@ -1,3 +1,3 @@
do
std::cout << "SPAM" << std::endl;
std::cout << "SPAM\n";
while (true);

View file

@ -1,7 +1,7 @@
program =
[
public program()
{
while (true)
[
console writeLine:"spam".
].
].
{
console.writeLine:"spam"
}
}

View file

@ -1 +1 @@
: spam ( -- ) [ "SPAM" print t ] loop ;
[ "SPAM" print t ] loop

View file

@ -0,0 +1,2 @@
USE: combinators.extras
[ "SPAM" print ] forever

View file

@ -0,0 +1 @@
a"MAPS"ooooo

View file

@ -1,5 +1,7 @@
package main
import "fmt"
func main() {
for {
fmt.Printf("SPAM\n")

View file

@ -1,3 +1,3 @@
while(true){
while (true) {
System.out.println("SPAM");
}

View file

@ -1,3 +1,3 @@
for(;;){
for (;;) {
System.out.println("SPAM");
}

View file

@ -0,0 +1,7 @@
PROC main:
LOCAL loop%
loop%=1
while loop%=1
PRINT "SPAM"
ENDWH
ENDP

View file

@ -0,0 +1,3 @@
(let loop ()
(display "SPAM")
(loop))

View file

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

View file

@ -0,0 +1,16 @@
con
_clkmode = xtal1 + pll16x
_clkfreq = 80_000_000
obj
ser : "FullDuplexSerial.spin"
pub main
ser.start(31, 30, 0, 115200)
repeat
ser.str(string("SPAM",13,10))
waitcnt(_clkfreq + cnt)
ser.stop
cogstop(0)