⊗
Jump to navigation
Jump to search
| Designed by | User:Ractangle |
|---|---|
| Appeared in | 2024 |
| Computational class | Unknown |
| Reference implementation | Unimplemented |
| Influenced by | Python |
⊗ (or Signs) is a esoteric programming language created by User:Ractangle where road signs are used as code. The syntax is quite similar to python btw
Syntax
Commands
| Command | Action |
|---|---|
| Start of road | Start the program |
| End of road | End the program |
| Give way | Run a function if the folowing condition is true |
| Exit road | Definies a function |
| Path | Marks an end of a function definintion |
| Rider-path | Creates/Edits a variable |
| Area | f-string |
| Parking | Prints the string next to it |
| Signal | Input |
Examples
It's kind of hard to write non-basic programs without an interpreter.
Hello, world!
Start of road Parking Area 'Hello World' End of road
Cat program
Start of road
Path i Signal
Parking Area '{i}'
End of road
Truth-machine
Start of road Path x Signal>Interger Give way x is 0 Parking Area '0' End of road Else Parking Area '1'
A+B Problem
Start of road
Path a 0
Path b 0
Rider part a Signal>Interger
Rider part b Signal>Interger
Parking Locality '{a+b}'
End of road
