Infinite commands???

From Esolang
Jump to navigation Jump to search

Infinite commands??? is a programming language with (almost) infinite commands. Anyone can add commands.

Commands

print - prints a string (the string is next command)
ask - asks the user a question and puts in temp
say - prints temp variable 1
pentagon - prints 666
into - puts input into temp variable 1
inc - increments counter
dec - decrements counter
num - prints counter
swap - swaps temp variable 1 and 2
same - terminate program if temp variable 1 and 2 are the same
count - saves counter to temp variable 1
forevsay - prints temp variable 1 forever
forevprint - prints a string (next command) forever
homestarrunner - prints "hewo"
error - gives error (puts 0/0 in counter)
sevenbitlimit - puts 2^7 in counter
fizz - calculate fizzbuzz on counter and put it in temp varible 1
buzz - print fizzbuzz on counter
fizzbuzz - print fizzbuzz on counter and then increment
fizzbuzztoahundred - prints fizzbuzz to a hundred
fuzzbizz - set temp variable 1 to "fuzzbizz"
quine - print "quine"
vine - print "THIS IS NOT A QUINE"
eightbitlimit - puts 2^8 in counter
pythondebugshell - prints "added category"
multiply - multiplies temp variable 1 and 2 and stores the result in temp variable 1
divide - divides temp variable 1 and 2 and stores the result in temp variable 1
sixtynineiscool - does nothing at all

Unimplemented commands (unofficial)

deadfish - Given an address, it will interpret that temp variable as Deadfish
subleq - Given an address, it will interpret that temp variable as Subleq
sixteenbitlimit - puts 2^16 in counter
thirtytwobitlimit - puts 2^32 in counter
sixtyfourbitlimit - puts 2^64 in counter
onethousandtwentyfourbitlimit - puts 2^1024 in counter

Examples

Hello World

print
Hello, world!

Cat

into
say

Kiwiscript

print
kiwi

Truth-machine

into
say
same
forevsay

Fizzbuzz to a hundred

fizzbuzztoahundred

Quine

quine

A slightly longer example:

quine
quine
quine

Not a quine

vine

Another slightly longer example:

fizz
inc
fizz
buzz
print
amogus

Interpreter

Interpreter at here.