aboutsummaryrefslogtreecommitdiffhomepage
path: root/examples/basics
diff options
context:
space:
mode:
Diffstat (limited to 'examples/basics')
-rw-r--r--examples/basics/_midi.orca18
-rw-r--r--examples/basics/_osc.orca16
-rw-r--r--examples/basics/_udp.orca17
-rw-r--r--examples/basics/a.orca17
-rw-r--r--examples/basics/b.orca17
-rw-r--r--examples/basics/c.orca17
-rw-r--r--examples/basics/d.orca17
-rw-r--r--examples/basics/f.orca17
-rw-r--r--examples/basics/g.orca17
-rw-r--r--examples/basics/h.orca17
-rw-r--r--examples/basics/i.orca17
-rw-r--r--examples/basics/j.orca17
-rw-r--r--examples/basics/k.orca17
-rw-r--r--examples/basics/l.orca17
-rw-r--r--examples/basics/u.orca17
-rw-r--r--examples/basics/v.orca17
-rw-r--r--examples/basics/z.orca17
17 files changed, 289 insertions, 0 deletions
diff --git a/examples/basics/_midi.orca b/examples/basics/_midi.orca
new file mode 100644
index 0000000..5f7db5e
--- /dev/null
+++ b/examples/basics/_midi.orca
@@ -0,0 +1,18 @@
+..........................................
+.#.MIDI.#.................................
+..........................................
+...wC4....................................
+.gD204TCAFE..################.............
+...:02C.g....#..............#.............
+.............#..Channel..1..#.............
+...8C4.......#..Octave.234..#.............
+.4D234TCAFE..#..Notes.CAFE..#.............
+...:13E.4....#..............#.............
+.............################.............
+...4C4....................................
+.1D424TCAFE...............................
+...%24F.2.................................
+..........................................
+..........................................
+..........................................
+.......................................... \ No newline at end of file
diff --git a/examples/basics/_osc.orca b/examples/basics/_osc.orca
new file mode 100644
index 0000000..de6e99d
--- /dev/null
+++ b/examples/basics/_osc.orca
@@ -0,0 +1,16 @@
+.........................................
+.#.OSC.#.................................
+.........................................
+.#.VALUES.#..............................
+.........................................
+.D8......................................
+..=a123..................................
+.........................................
+.#.EMPTY.#...............................
+.........................................
+.D6......................................
+..=b.....................................
+.........................................
+.........................................
+.........................................
+......................................... \ No newline at end of file
diff --git a/examples/basics/_udp.orca b/examples/basics/_udp.orca
new file mode 100644
index 0000000..f25cdf6
--- /dev/null
+++ b/examples/basics/_udp.orca
@@ -0,0 +1,17 @@
+.........................................
+.#.UDP.#.................................
+.........................................
+.........................................
+....Cf......Cf...........................
+..0F6.....2F6............................
+..B.H.....B.H............................
+...xS......xS............................
+.........................................
+.........................................
+..5;HELLO.4;ORCA.........................
+.........................................
+.........................................
+.........................................
+.........................................
+.........................................
+......................................... \ No newline at end of file
diff --git a/examples/basics/a.orca b/examples/basics/a.orca
new file mode 100644
index 0000000..504af32
--- /dev/null
+++ b/examples/basics/a.orca
@@ -0,0 +1,17 @@
+.........................................
+.#.ADD.#.................................
+.........................................
+.#.ADD.TWO.NUMBERS.TOGETHER.#............
+.........................................
+.1A2.....................................
+..3......................................
+.........................................
+.#.ADD.THREE.NUMBERS.TOGETHER.#..........
+.........................................
+.1A2A3...................................
+..3A5....................................
+...8.....................................
+.........................................
+.........................................
+.........................................
+......................................... \ No newline at end of file
diff --git a/examples/basics/b.orca b/examples/basics/b.orca
new file mode 100644
index 0000000..556c8f3
--- /dev/null
+++ b/examples/basics/b.orca
@@ -0,0 +1,17 @@
+.........................................
+.#.BONG.#................................
+.........................................
+.Bg.B....................................
+.eYe6X...................................
+.........................................
+.........................................
+.........................................
+.........................................
+.........................................
+.........................................
+.........................................
+.........................................
+.........................................
+.........................................
+.........................................
+......................................... \ No newline at end of file
diff --git a/examples/basics/c.orca b/examples/basics/c.orca
new file mode 100644
index 0000000..c3ae8fe
--- /dev/null
+++ b/examples/basics/c.orca
@@ -0,0 +1,17 @@
+.........................................
+.#.CLOCK.#...............................
+.........................................
+.#.COUNT.TO.8.#..........................
+.........................................
+..C8.....................................
+..5......................................
+.........................................
+.#.COUNT.TO.8.SLOWLY.#...................
+.........................................
+.2C8.....................................
+..2......................................
+.........................................
+.........................................
+.........................................
+.........................................
+......................................... \ No newline at end of file
diff --git a/examples/basics/d.orca b/examples/basics/d.orca
new file mode 100644
index 0000000..e0d158e
--- /dev/null
+++ b/examples/basics/d.orca
@@ -0,0 +1,17 @@
+.........................................
+.#.DELAY.#...............................
+.........................................
+...D3.................D4.................
+.gL**..*..*..*..*...gL...*...*...*...*...
+..*......................................
+..2D3................2D4.................
+.gL.*.....*.....*...gL.......*.......*...
+.........................................
+..3D3................3D4.................
+.gL.*........*......gL.......*...........
+.........................................
+..4D3................4D4.................
+.gL.......*.........gL.......*...........
+.........................................
+.........................................
+......................................... \ No newline at end of file
diff --git a/examples/basics/f.orca b/examples/basics/f.orca
new file mode 100644
index 0000000..1858d89
--- /dev/null
+++ b/examples/basics/f.orca
@@ -0,0 +1,17 @@
+.........................................
+.#.IF.#..................................
+.........................................
+.#.COMPARE.2.VALUES.#....................
+.........................................
+.aFb.aFa.1F0.1F1.........................
+......*.......*..........................
+.........................................
+.#.COMPARE.3.VALUES.#....................
+.........................................
+.aFaFa.aF1F1.............................
+..*F*....F*..............................
+...*.....................................
+.........................................
+.........................................
+.........................................
+......................................... \ No newline at end of file
diff --git a/examples/basics/g.orca b/examples/basics/g.orca
new file mode 100644
index 0000000..43d166e
--- /dev/null
+++ b/examples/basics/g.orca
@@ -0,0 +1,17 @@
+.........................................
+.#.GENERATE.#............................
+.........................................
+....3C2..................................
+..78L01110001............................
+..C.0JJJJJJJJ............................
+.158G01110001............................
+.....11100011............................
+.....11000111............................
+.....10001110............................
+.....00011100............................
+.....00111000............................
+.....01110001............................
+.....00111000............................
+.....01110001............................
+.........................................
+......................................... \ No newline at end of file
diff --git a/examples/basics/h.orca b/examples/basics/h.orca
new file mode 100644
index 0000000..404dbac
--- /dev/null
+++ b/examples/basics/h.orca
@@ -0,0 +1,17 @@
+.........................................
+.#.GENERATE.#............................
+.........................................
+.........................................
+..............gC2.....8C2.....4C2........
+.2D............1F0.....0F0.....1F0.......
+...H....................*................
+..xE............h.......h.......h........
+......E..............E...........E.......
+.........................................
+.........................................
+.........................................
+.........................................
+.........................................
+.........................................
+.........................................
+......................................... \ No newline at end of file
diff --git a/examples/basics/i.orca b/examples/basics/i.orca
new file mode 100644
index 0000000..60cd9c0
--- /dev/null
+++ b/examples/basics/i.orca
@@ -0,0 +1,17 @@
+.........................................
+.#.INCREMENT.#...........................
+.........................................
+.#.INCREMENT.TO.16.#.....................
+.........................................
+.1Ig.....................................
+..d......................................
+.........................................
+.#.DEREMENT.TO.16.WITH.CAPITALS#.........
+.........................................
+.fIG.....................................
+..4gT....................................
+.........................................
+.........................................
+.........................................
+.........................................
+......................................... \ No newline at end of file
diff --git a/examples/basics/j.orca b/examples/basics/j.orca
new file mode 100644
index 0000000..f4a416a
--- /dev/null
+++ b/examples/basics/j.orca
@@ -0,0 +1,17 @@
+.........................................
+.#.JUMPER.#..............................
+.........................................
+.2bO2bO2bO2bO2bO2bO2bO2bO2bO2bO2bO..D....
+............*.......................*....
+...J..J..J..J..J..J..J..J..J..J..J..J....
+............*.......................*....
+...J..J..J..J..J..J..J..J..J..J..J..J....
+............*.......................*....
+...J..J..J..J..J..J..J..J..J..J..J..J....
+............*.......................*....
+...J..J..J..J..J..J..J..J..J..J..J..J....
+............*.......................*....
+...J..J..J..J..J..J..J..J..J..J..J..J....
+............*.......................*....
+.........................................
+......................................... \ No newline at end of file
diff --git a/examples/basics/k.orca b/examples/basics/k.orca
new file mode 100644
index 0000000..ff4d0d0
--- /dev/null
+++ b/examples/basics/k.orca
@@ -0,0 +1,17 @@
+.........................................
+.#.KONKAT.#..............................
+.........................................
+.#.ASSIGN.VARIABLES.#....................
+.........................................
+.aV1.bV2.cV3.dV4.eV5.fV5.................
+.........................................
+.........................................
+.#.COMBINE.THEM.TOGETHER.#...............
+.........................................
+.7Kabc.def...............................
+...123.455...............................
+.........................................
+.........................................
+.........................................
+.........................................
+......................................... \ No newline at end of file
diff --git a/examples/basics/l.orca b/examples/basics/l.orca
new file mode 100644
index 0000000..d2a305e
--- /dev/null
+++ b/examples/basics/l.orca
@@ -0,0 +1,17 @@
+.........................................
+.#.LOOP.#................................
+.........................................
+.#.CYCLE.THROUGH.4.LETTERS.#.............
+.........................................
+.14Lcdab.................................
+.........................................
+.........................................
+.#.CYCLE.THROUGH.8.LETTERS.BACKWARD.#....
+.........................................
+.78Lcdefgdab.............................
+.........................................
+.........................................
+.........................................
+.........................................
+.........................................
+......................................... \ No newline at end of file
diff --git a/examples/basics/u.orca b/examples/basics/u.orca
new file mode 100644
index 0000000..8bc8ef9
--- /dev/null
+++ b/examples/basics/u.orca
@@ -0,0 +1,17 @@
+.........................................
+.#.UCLID.#...............................
+.........................................
+...U8................5U8.................
+.gL......*.......*..gL.**.*.**.**.*.**...
+.........................................
+..2U8................6U8.................
+.gL..*...*...*...*..gL*.***.***.***.**...
+.....................*...................
+..3U8................7U8.................
+.gL*..*..*.*..*..*..gL*****.*******.**...
+..*..................*...................
+..4U8................8U8.................
+.gL*.*.*.*.*.*.*.*..gL****************...
+..*..................*...................
+.........................................
+......................................... \ No newline at end of file
diff --git a/examples/basics/v.orca b/examples/basics/v.orca
new file mode 100644
index 0000000..a8e70e2
--- /dev/null
+++ b/examples/basics/v.orca
@@ -0,0 +1,17 @@
+.........................................
+.#.VARIABLE.#............................
+.........................................
+.#.WRITE.A.VARIABLE.#....................
+.........................................
+.aV3.....................................
+.........................................
+.........................................
+.#.READ.A.VARIABLE.#.....................
+.........................................
+..Va.....................................
+.........................................
+.........................................
+.........................................
+.........................................
+.........................................
+......................................... \ No newline at end of file
diff --git a/examples/basics/z.orca b/examples/basics/z.orca
new file mode 100644
index 0000000..0d2138d
--- /dev/null
+++ b/examples/basics/z.orca
@@ -0,0 +1,17 @@
+.........................................
+.#.LERP.#................................
+.........................................
+...R6....R6..............................
+.xV1...yV0...............................
+.........................................
+....D....D...............................
+.........................................
+....vx...vy..............................
+...Z2...Z3...............................
+.xV2..yV3................................
+.........................................
+.2Kxy....................................
+...23X...................................
+.........................................
+.........................................
+......................................... \ No newline at end of file