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 8: | Line 8: | ||
=== Hello World === | === Hello World === | ||
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!"