Codossa: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
Created page with "'''Codossa''' is an esoteric programming language inspired by the linguistic experiment [http://wikipedia:Viossa Viossa]. It is an experiment for us to try to teach a programming language by writing programs with their expected inputs and outputs, without relying on natural language or other programming languages. Its aim is to be a functional, Turing-complete programming language. Feel free to add any commands you desire, but please try to follow these rules: * Ple..." |
m →^, v Tag: Reverted |
||
Line 33: | Line 33: | ||
-> 0 3 |
-> 0 3 |
||
iii^ii^i^ |
iii^ii^i^ovovo |
||
-> 3 5 6 |
-> 3 5 6 |
||
Revision as of 01:03, 25 August 2025
Codossa is an esoteric programming language inspired by the linguistic experiment Viossa. It is an experiment for us to try to teach a programming language by writing programs with their expected inputs and outputs, without relying on natural language or other programming languages. Its aim is to be a functional, Turing-complete programming language.
Feel free to add any commands you desire, but please try to follow these rules:
- Please stick to the format:
program input (if required) -> output
- Please make the instructions implementable and avoid adding commands with implementation-defined/UB cases.
- Commands should be fairly simple to understand. Try not to have any arbitrary edge cases such as "read a character from input, then store it, unless it is 'e', then do nothing".
Other than that, have fun!
Commands
>
, <
, i
, d
, o
io -> 1
iiiododododo -> 3 2 1 0 -1
iiioiio -> 3 5
iiio>oiiio<o -> 3 0 3 3
i>d>i>do<o<o<o -> -1 1 -1 1
^
, v
ii^>vo -> 2
iii^dddovo -> 0 3
iii^ii^i^ovovo -> 3 5 6
vo -> 0
z
iiiiiiizo -> 0 iiiziio -> 2
+
,-
iiiii^z +++++o -> 25
iiiii^z ----o -> -20
c
iiii iiii^ ++++ ++++ + c -> H
iiii iiiii^ ++++ ++++ + c -> Q
r
ro 3 -> 3 72 -> 72 752text -> 752 text -> 0 -> 0
roro 33 -> 33 0 3 3 -> 3 3 3, 3 -> 3 3 3text3 -> 3 3
r^zr+o 2 3 -> 5 12 34 -> 46 50 -50 -> 0