git @ Cat's Eye Technologies Carriage / 9b710b1
Add discrete example Carriage programs. Chris Pressey 2 years ago
6 changed file(s) with 23 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
247247 * [Equipage][], the "purely concatenative" language that
248248 Carriage might've been, had the author not been so concerned about quoting at the time.
249249 * [Wagon][], yet another "purely concatenative" language by the same author, trying to
250 capture control flow in being "second-order concatenative", and not quite succeeding.
250 capture control flow by being "second-order concatenative", and not quite succeeding.
251251
252252 [Aubergine]: https://catseye.tc/node/Aubergine
253253 [Cfluviurrh]: https://catseye.tc/node/Cfluviurrh
0 examplePrograms = [
1 {
2 "contents": "11+$11+111+@!\n",
3 "filename": "fun.carriage"
4 },
5 {
6 "contents": "111-@11-~!$11111++++11-~@11-~!\n",
7 "filename": "infinite-loop.carriage"
8 },
9 {
10 "contents": "111-~+\n",
11 "filename": "trivial.carriage"
12 },
13 {
14 "contents": "111-@1\\11-~!$$11+1+1+1+\\1+1+1+1+1+1+@11-~!$$1-\n",
15 "filename": "truth-machine.carriage"
16 }
17 ];
0 11+$11+111+@!
0 111-@11-~!$11111++++11-~@11-~!
0 111-@1\11-~!$$11+1+1+1+\1+1+1+1+1+1+@11-~!$$1-