User:Unname4798/Infinite commands

From LifeWiki
< User:Unname4798
Revision as of 11:49, 8 July 2024 by HotdogPi (talk | contribs) (HotdogPi moved page Infinite commands to User:Unname4798/Infinite commands over a redirect without leaving a redirect: this is definitely not a CGOL concept)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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!"