diff options
author | Nicola Pisanti <[email protected]> | 2020-03-05 12:33:59 +0100 |
---|---|---|
committer | Nicola Pisanti <[email protected]> | 2020-03-05 12:33:59 +0100 |
commit | cfd7ed483f366a8b74f03ecf6f958d19d3a48987 (patch) | |
tree | 15b0b54f3d699c25f49e2d996ddf087f485ec110 | |
parent | 5752ea8b5181ded771ebe56ec92d5cce5e05c852 (diff) | |
download | Orca-cfd7ed483f366a8b74f03ecf6f958d19d3a48987.tar.gz Orca-cfd7ed483f366a8b74f03ecf6f958d19d3a48987.zip |
updates example to new operators
-rw-r--r-- | examples/basics/b.orca | 12 | ||||
-rw-r--r-- | examples/basics/d.orca | 24 | ||||
-rw-r--r-- | examples/basics/f.orca | 10 | ||||
-rw-r--r-- | examples/basics/g.orca | 26 | ||||
-rw-r--r-- | examples/basics/h.orca | 10 | ||||
-rw-r--r-- | examples/basics/i.orca | 8 | ||||
-rw-r--r-- | examples/basics/l.orca | 9 | ||||
-rw-r--r-- | examples/basics/u.orca | 24 | ||||
-rw-r--r-- | examples/basics/z.orca | 18 |
9 files changed, 75 insertions, 66 deletions
diff --git a/examples/basics/b.orca b/examples/basics/b.orca index 556c8f3..c0133d2 100644 --- a/examples/basics/b.orca +++ b/examples/basics/b.orca @@ -1,8 +1,11 @@ ......................................... -.#.BONG.#................................ +.#.BOUNCE.....#.......................... ......................................... -.Bg.B.................................... -.eYe6X................................... +................#.OUTPUTS.DIFFERENCE.#... +..Cg............#.OF.INPUTS..........#... +..5B8.................................... +...3.X*............5B3...aB4...7B3....... +........*...........2.....6.....4........ ......................................... ......................................... ......................................... @@ -12,6 +15,3 @@ ......................................... ......................................... ......................................... -......................................... -......................................... -.........................................
\ No newline at end of file diff --git a/examples/basics/d.orca b/examples/basics/d.orca index e0d158e..30daebf 100644 --- a/examples/basics/d.orca +++ b/examples/basics/d.orca @@ -1,17 +1,17 @@ ......................................... .#.DELAY.#............................... ......................................... -...D3.................D4................. -.gL**..*..*..*..*...gL...*...*...*...*... -..*...................................... -..2D3................2D4................. -.gL.*.....*.....*...gL.......*.......*... +Cg.D3...............Cg.D4................ +b.X*................b.X.................. +.#..*..*..*..**..*.#.#*...*...*...*...#.. +Cg2D3...............Cg2D4................ +b.X.................b.X.................. +.#..*.....*...*....#.#*.......*.......#.. +Cg3D3...............Cg3D4................ +b.X.................b.X.................. +.#........*......*.#.#........*...*...#.. +Cg4D3...............Cg4D4................ +b.X.................b.X.................. +.#........*...*....#.#*...............#.. ......................................... -..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 index 1858d89..596c82a 100644 --- a/examples/basics/f.orca +++ b/examples/basics/f.orca @@ -6,12 +6,12 @@ .aFb.aFa.1F0.1F1......................... ......*.......*.......................... ......................................... -.#.COMPARE.3.VALUES.#.................... +.#.INVERT.BANGS.#........................ +......................................... +.....D4.................................. +......F.................................. +......*.................................. ......................................... -.aFaFa.aF1F1............................. -..*F*....F*.............................. -...*..................................... ......................................... ......................................... ......................................... -.........................................
\ No newline at end of file diff --git a/examples/basics/g.orca b/examples/basics/g.orca index 43d166e..bbce134 100644 --- a/examples/basics/g.orca +++ b/examples/basics/g.orca @@ -1,17 +1,17 @@ ......................................... -.#.GENERATE.#............................ +.#.GENERATOR.#........................... ......................................... -....3C2.................................. -..78L01110001............................ -..C.0JJJJJJJJ............................ -.158G01110001............................ -.....11100011............................ +...C.3C2................................. +...68P0.................................. +.....00011101............................ +..C..JJJJJJJJ............................ +.168G00011101............................ +.....01000111............................ +.....00000111............................ +.....00000111............................ +.....00010111............................ +.....00011111............................ +.....00011111............................ +.....00011101............................ .....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 index 404dbac..b3da25b 100644 --- a/examples/basics/h.orca +++ b/examples/basics/h.orca @@ -1,12 +1,13 @@ ......................................... -.#.GENERATE.#............................ +.#.HALT.#................................ ......................................... ......................................... ..............gC2.....8C2.....4C2........ -.2D............1F0.....0F0.....1F0....... -...H....................*................ +.2D............0F0.....1F0.....0F0....... +...H............*...............*........ ..xE............h.......h.......h........ -......E..............E...........E....... +..........E..............E...........E... +......................................... ......................................... ......................................... ......................................... @@ -14,4 +15,3 @@ ......................................... ......................................... ......................................... -.........................................
\ No newline at end of file diff --git a/examples/basics/i.orca b/examples/basics/i.orca index 60cd9c0..29bb021 100644 --- a/examples/basics/i.orca +++ b/examples/basics/i.orca @@ -4,14 +4,14 @@ .#.INCREMENT.TO.16.#..................... ......................................... .1Ig..................................... -..d...................................... +..0...................................... ......................................... -.#.DEREMENT.TO.16.WITH.CAPITALS#......... +.#.DECREMENT.TO.16.WITH.CAPITALS.#....... ......................................... .fIG..................................... -..4gT.................................... +..0gT.................................... +......................................... ......................................... ......................................... ......................................... ......................................... -.........................................
\ No newline at end of file diff --git a/examples/basics/l.orca b/examples/basics/l.orca new file mode 100644 index 0000000..b59f4e4 --- /dev/null +++ b/examples/basics/l.orca @@ -0,0 +1,9 @@ +......................... +.#.LESS...#.............. +......................... +...5L3...aL4...7L3....... +....3.....4.....3........ +......................... +......................... +......................... +......................... diff --git a/examples/basics/u.orca b/examples/basics/u.orca index 8bc8ef9..4047315 100644 --- a/examples/basics/u.orca +++ b/examples/basics/u.orca @@ -1,17 +1,17 @@ ......................................... .#.UCLID.#............................... ......................................... -...U8................5U8................. -.gL......*.......*..gL.**.*.**.**.*.**... +.Cg.U8..............Cg5U8................ +.4.X................4.X*................. +..#*.......*.......#.#*.*.**.**.*.**.*#.. +.Cg.U8..............Cg6U8................ +.4.X................4.X*................. +..#*.......*.......#.#*.***.***.***.**#.. +.Cg.U8..............Cg7U8................ +.4.X................4.X*................. +..#*.......*.......#.#*.*******.******#.. +.Cg.U8..............Cg8U8................ +.4.X................4.X*................. +..#*.......*.......#.#****************#.. ......................................... -..2U8................6U8................. -.gL..*...*...*...*..gL*.***.***.***.**... -.....................*................... -..3U8................7U8................. -.gL*..*..*.*..*..*..gL*****.*******.**... -..*..................*................... -..4U8................8U8................. -.gL*.*.*.*.*.*.*.*..gL****************... -..*..................*................... ......................................... -.........................................
\ No newline at end of file diff --git a/examples/basics/z.orca b/examples/basics/z.orca index 0d2138d..4fe1024 100644 --- a/examples/basics/z.orca +++ b/examples/basics/z.orca @@ -1,17 +1,17 @@ ......................................... .#.LERP.#................................ ......................................... -...R6....R6.............................. -.xV1...yV0............................... +...R8....R5........D....D................ +.xV7...yV0............................... +...................vx...vy............... +..................Z5...Z1................ +................xV5..yV1................. +...2Kxy.................................. +.....51X................................. +......................................... +......................................... ......................................... -....D....D............................... ......................................... -....vx...vy.............................. -...Z2...Z3............................... -.xV2..yV3................................ ......................................... -.2Kxy.................................... -...23X................................... ......................................... ......................................... -.........................................
\ No newline at end of file |