From Esolang
Jump to navigation Jump to search
Signs
Designed by User:Ractangle
Appeared in 2024
Computational class Unknown
Reference implementation Unimplemented
File extension(s) .sign
⊗ logo.png
This article is not detailed enough and needs to be expanded. Please help us by adding some more information.

(officially called as "Signs" or you can call it by the symbol name "Circled times symbol" but i still recomend calling it "Signs") is a esoteric programming language created by User:Ractangle where road signs in post-Soviet states or just road signs in general are used as codes

Commands

Command Meaning
Priority road Begin code.
End of priority road End code.
Give way if/else/else if function.
Roundabout Used as a Give way action command.
Exit to a one-way road Return back to the main code.
End of one-way road Creates a function or a variable (To make a variable type .variable next to your variable name).
Rider path Edits a variable.
Built-up area begins Executes a function.
Do not enter The interpriter will ignore the folowing charecters in the line.
No stopping Reapeats a line and excutes the code from that line untill a condition is meet. If there's no condition next that command. It will repeat infinitely.
Built-up area String.
Locality Strings with variables.
Parking Print.
Traffic signals Input.
Stop Used to stop the No stopping command
Expressway Math command.

Errors

Error Meaning
"No priority input" The code "Priority road" needs to be written at the beginning of the code
"No priority output" The code "End of priority road" needs to be written at the end of the code
"No entry" The line you've enterd doesn't exist
"Roundabout ahead" The line you've enterd is the same line as No stoping

(Unimplemented) Libraries

Well the language is unimplemented so it's fair to put (Unimplemented) there

(or "Stacks" or the offical symbol name. "Hamburger icon". Still recomend saying "Stacks") is a library that creates stacks. Tho the way you use the stack. Is different. You have 5 zero value stacks

New commands

Name Meaning
Motorway Marks the start of the stack program.
Indoor parking Creates a value.
Pedestrian overpass Move a value into the main stack.
Living street Marks the end of the stack program and starts the main code.
Dead end Removes a value.
Roadworks Edits a value.
Pedestrian crossing Moves on to a different value.

Examples

It's kind of hard to write non-basic programs without an interpreter

Hello World

1 Priority road
2 Parking locality begins 'Hello World'
3 End of priority road

Truth-machine

1 Priority road
2 End of one-way road x.variable
3 Traffic signals
4 Exit to a one-way road
5 Give way x is 0m
6 Roundabout parking locality begins '0'
7 Give way x is 1m
8 Roundabout parking locality begins '1'
9 No stopping 7
10 End of priority road

99 bottles of beer

1 Priority road
2 End of one-way road n.variable
4 99
5 Exit to a one-way road
6 Parking locality '{n} bottles of beer on the wall,'
7 Parking locality '{n} bottles of beer.'
8 Parking locality 'Take one down, pass it around,'
9 Rider path {n}
10 Expressway subtract 1
11 Parking locality '{n} bottles of beer on the wall,'
12 No stopping 3 Stop Give way {n} is 0 Do not enter The command will output 1 bottels of bear on the wall but who cares
13 Parking built-up area 'No bottles of beer on the wall,'
14 Parking built-up area 'No bottles of beer.'
15 Parking built-up area 'Go to the store, buy some more,'
16 Parking built-up area '99 bottles of beer on the wall.'
17 End of priority road

Text Engine

1 Priority road
2 End of one-way road letter.variable
3 H
4 Exit to a one-way road
5 Parking locality '{letter}'
6 Rider path letter
7 e
8 Parking locality '{letter}'
9 Rider path letter
10 y
11 Parking locality '{letter}'
12 End of priority road

Cat program

1 Priority road
2 End of one-way road input.variable
3 Traffic signals built-up area 'input'
4 Exit to a one-way road
5 Parking locality '{input}'
6 End of priority road

Couting up

1 Priority road
2 End of one-way road n.variable
3 0
4 Exit to a one-way road
5 End of one-way road nl.variable
6 10
7 Exit to a one-way road
8 Parking locality '{n}'
9 Rider path n
10 Expressway add 1
11 Rider path nl
12 Expressway subtract 1
13 No stopping 8 Stop Give way {nl} is 0
14 End of priority road

Infinite loop

Infinite loop is techincaly posible if you try to use a command next to No stoping and reapeat that line forever becuase No stoping command DOESN'T have the Stop command.

1 Priority road
2 Parking locality begins 'infloop'
3 No stopping 2
4 End of priority road

Intepriters

As of writing this. There aren't any compilers/interpriters for this language. If you wish to make one. Contact the creator in discord (fuckyoudiscorg)

Simular programing languages