Data update

This commit is contained in:
Ingy döt Net 2024-03-06 22:25:12 -08:00
parent ed705008a8
commit 0df55f9f24
2196 changed files with 32999 additions and 3075 deletions

View file

@ -0,0 +1,6 @@
* Since no quotes are used, two undeclared fields (variables) are printed.
* Their default values are their own names in uppercase.
IDENTIFICATION DIVISION.
PROGRAM-ID. USER OUTPUT.
PROCEDURE DIVISION.
DISPLAY HELLO WORLD.

View file

@ -0,0 +1 @@
main ["Hello world!"]

View file

@ -1,4 +1,4 @@
public program()
{
console.writeLine:"Hello world!"
console.writeLine("Hello world!")
}

View file

@ -0,0 +1,14 @@
program Hello
{
uses "/Source/Library/Boards/PiPico"
Hopper()
{
WriteLn("Hello world!");
loop
{
LED = !LED;
Delay(500);
}
}
}

View file

@ -1 +1 @@
writeln "yo, peeps"
writeln "Hello"

View file

@ -0,0 +1,3 @@
$ENTRY Go {
= <Prout 'Hello, world!'>;
};

View file

@ -0,0 +1,7 @@
app "hello"
packages { pf: "https://github.com/roc-lang/basic-cli/releases/download/0.1.1/zAoiC9xtQPHywYk350_b7ust04BmWLW00sjb9ZPtSQk.tar.br" }
imports [pf.Stdout]
provides [main] to pf
main =
Stdout.line "I'm a Roc application!"

View file

@ -10,7 +10,7 @@ BRK
@print-str ( str* -- )
&while
LDAk #18 DEO
LDAk .Console/write DEO
INC2 LDAk ?&while
POP2
JMP2r

View file

@ -1 +0,0 @@
(println "Hello world!")

View file

@ -1,3 +0,0 @@
# The . at the start of a value is way to indicate that the value is a scalar (string).
# Without the . this would be invalid YAML(Script).
say: ."Hello", "world!"

View file

@ -1 +0,0 @@
(say "Hello world!")

View file

@ -1 +0,0 @@
say("Hello world!")

View file

@ -1 +0,0 @@
say("Hello world!"):

View file

@ -1,2 +0,0 @@
say:
- "Hello world!"

View file

@ -1 +0,0 @@
say: ["Hello world!"]

View file

@ -1 +0,0 @@
say: "Hello world!"

View file

@ -1 +0,0 @@
say("Hello"): "world!"

View file

@ -1 +0,0 @@
say: ["Hello", "world!"]

View file

@ -0,0 +1,18 @@
!yamlscript/v0
say: "Hello, world!"
=>: (say "Hello, world!")
=>: say("Hello, world!")
say:
=>: "Hello, world!"
say: ("Hello, " + "world!")
say: ."Hello," "world!"
say "Hello,": "world!"
say "Hello," "world!":