We are currently working on new rules for what content should and shouldn't be allowed on this website, and are looking for feedback! See Esolang:2026 topicality proposal to view and give feedback on the current draft.
Pycone
Jump to navigation
Jump to search
- This article is not detailed enough and needs to be expanded. Please help us by adding some more information.
Pycone is an version of Python created by User:Ractangle in 2026.
Syntax
A Pycone program contains a matrix with python expresions basically with a pointer that moves from each matrix cell
Excution of a Pycone program ends after the pointer leaves the matrix
Of course Pycone does have it's own parts of syntax
| M[y,x] | Use an argument from the matrix (can be shortend to use two numbers at once) |
| [y,x]: | Expression's position in the matrix (can be shortend to use two numbers at once) |
| >v^< | move the directional pointer |
| if | works the same as in python but skips a cell to the direction that the direction pointer is facing if the condition is false |
| skip(y,x) | goes jumps to expression of M[y,x] |
Examples
Hello, world!
[0]: print("Hello, world!")
Truth-machine
[2]: int(input()) i=M[2] [0,1]: if i [0,2]: skip(0,4) [0,4]: print(0) [0,3]: v [1,3]: print(1) [2,3]: skip(1,3)