User:Unname4798/Infinite commands: Difference between revisions
Jump to navigation
Jump to search
Unname4798 (talk | contribs) Because I cannot register on Esolang wiki, because the CAPTCHAs are too hard. |
Unname4798 (talk | contribs) No edit summary |
||
| Line 1: | Line 1: | ||
Infinite commands is a programming language with (almost) infinite commands. Anyone can add commands. | Infinite commands is a programming language with (almost) infinite commands. Anyone can add commands. | ||
== Commands == | == Commands == | ||
print - prints a string (the string is next command) | print - prints a string (the string is next command, otherwise, print the top value of the stack and pop it) | ||
ask - asks the user a question | ask - asks the user a question and pushes the answer to the stack | ||
say - prints the answer to the last question | say - prints the answer to the last question (discontinued, use ask together with print) | ||
pentagon - prints 666 | pentagon - prints 666 | ||
== Examples == | == Examples == | ||
| Line 9: | Line 9: | ||
print | print | ||
Hello, world! | Hello, world! | ||
Revision as of 09:28, 8 July 2024
Infinite commands is a programming language with (almost) infinite commands. Anyone can add commands.
Commands
print - prints a string (the string is next command, otherwise, print the top value of the stack and pop it) ask - asks the user a question and pushes the answer to the stack say - prints the answer to the last question (discontinued, use ask together with print) pentagon - prints 666
Examples
Hello World
print Hello, world!