Postrado
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.
Paradigm(s) | imperative |
---|---|
Designed by | Ractangle |
Appeared in | 2024 |
Memory system | variable-based |
Dimensions | one-dimensional |
Computational class | Turing complete |
Reference implementation | Unimplemented |
Influenced by | ⊗ |
File extension(s) | no standard ending |
Postrado is a joke programming language based on confusing statements made by E.L. Mark Postrado. It's similar to Signs
Commands
Sentence | Meaning |
---|---|
And now it's time to pack everything up |
Starts the program. |
Oh. And don't forget the. |
Print command. The text is printed in the Capital format due to Rede Globo Bold font making letters uppercase no matter what formating you do. Uppercase text is interpreted as literal text, with lower or alternate case text treated as variables. |
Three, two, one |
Wait duration command. |
Were here at |
Creates a function. To make a variable, use the command "Useable plastic bag" and enter your variable name. Functions look like this
Were here at Bahmas £ [Code here] £ |
Why? Because |
Condition command |
I remember some memories with it |
Repeat following commands. It also functions the same way as Were here at command. To stop it, edit the second £ sign into a Why? Because command.
|
I think the bus is titled |
Similar to Python's input command, it also functions as the Oh. And don't forget the. command.
|
Everybody down the stairs |
Edits a variable. |
Before I started editing videos on |
Comment, ignores following characters. |
Errors
The interpreter can emit the following random errors:
Error | Meaning |
---|---|
I don't exatly remember | The interpreter only outputs the first line and outputs this after 5 seconds. |
I forgot the "the" | Any outputed "the" is removed and this error is outputed after the outputed code. |
Damit | Stops the program when ever it wants to. |
Computational class
Using the repeat command (I remember some memories with it
) as well as the conditional (Were here at
) operating on a program counter variable, an unstructured machine can be emulated. In conjunction with variable editing, mathematical operators, and the conditional, increment and conditional decrement can be implemented. Assuming variables are unbounded, any Minsky machine can be translated to an equivalent Postrado program.
Examples
Hello world
And now it's time to pack everything up Oh. And don't forget the. HELLO WORLD
Truth-machine
And now it's time to pack everything up Were here at i Useable plastic bag £ [I think the bus is titled PUT A NUMBER OF EITHER 1 OR 0:] £ Why? Because i is 0 Oh. And don't forget the. 0 Why? Because i is 1 I remember some memories with it £ [Oh. And don't forget the. 1] £