imput

From Esolang
Jump to navigation Jump to search

imput is an esoterical programming language based on a misspelling of the word input. It is turing complete because it has every BF command.

Commands

Command Description
+ Increments the current cell by one, as in BF.
- Decrements the current cell by one, as in BF.
< Moves the cell pointer one step to the left, as in BF.
> Moves the cell pointer one step to the right, as in BF.
, Queries the standard input for an ASCII character and stores its code in the current cell, as in BF.
. Prints the character whose ASCII code equals the current cell value to the standard output, as in BF.
[ If the current cell value equals zero, jumps forward to the matching ], as in BF.
] If the current cell value does not equal zero, jumps back to the matching [, as in BF.
imput Asks for input.
oumput Prints the last input.
ounput Prints the first input.
kiwi Prints the text “kiwi”.
ouput(argument) Prints the argument to the standard output.

Examples

Hello World

ouput("Hello, world!")

Cat

imput
oumput

Kiwiscript

kiwi

Greeting

This program queries the user for their name and prints a greeting incorporating the same:

ouput("Please enter your name: ")
imput
ouput("Hello, ") oumput ouput(". How are you?")

Interpreter

  • Common Lisp implementation of the imput programming language.