User:Unname4798/Infinite commands: Difference between revisions
Jump to navigation
Jump to search
Unname4798 (talk | contribs) No edit summary |
Unname4798 (talk | contribs) No edit summary |
||
| Line 5: | Line 5: | ||
say - prints the answer to the last question (discontinued, use ask together with print) | say - prints the answer to the last question (discontinued, use ask together with print) | ||
pentagon - pushes 666 | pentagon - pushes 666 | ||
wolfram - evolve | wolfram - evolve Octuple_W110 for 1 generation on a stack | ||
== Examples == | == Examples == | ||
=== Hello World === | === Hello World === | ||
print | print | ||
"Hello, world!" | "Hello, world!" | ||
Revision as of 11:35, 8 July 2024
Infinite commands is a programming language with an (almost) infinite number of commands. Anyone can add commands.
Commands
print - prints (the string or the number is the 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 - pushes 666 wolfram - evolve Octuple_W110 for 1 generation on a stack
Examples
Hello World
print "Hello, world!"