Turkey

From Esolang
Jump to navigation Jump to search

Turkey is a derivative of Chicken. It was created by User:ResU in 2021.

Commands

Opcode Description
1 Prints "turkey".
2-27 Prints the (opcode-1)th letter.
28 Prints a space.
29 Asks for input and stores it to 43.
30-39 Prints the (opcode-30)th number.
40 Is an if statement.
41 Is an equals sign.
42 Is an infinite loop. Another 42 will close the loop.
43 Is the only variable.
44-infinity Is (opcode-44).

Examples

Hello, world!

turkey turkey turkey turkey turkey turkey turkey turkey turkey
turkey turkey turkey turkey turkey turkey
turkey turkey turkey turkey turkey turkey turkey turkey turkey turkey turkey turkey turkey
turkey turkey turkey turkey turkey turkey turkey turkey turkey turkey turkey turkey turkey
turkey turkey turkey turkey turkey turkey turkey turkey turkey turkey turkey turkey turkey turkey turkey turkey

turkey turkey turkey turkey turkey turkey turkey turkey turkey turkey turkey turkey turkey turkey turkey turkey turkey turkey turkey turkey turkey turkey turkey turkey turkey turkey turkey turkey
turkey turkey turkey turkey turkey turkey turkey turkey turkey turkey turkey turkey turkey turkey turkey turkey turkey turkey turkey turkey turkey turkey turkey turkey
turkey turkey turkey turkey turkey turkey turkey turkey turkey turkey turkey turkey turkey turkey turkey turkey
turkey turkey turkey turkey turkey turkey turkey turkey turkey turkey turkey turkey turkey turkey turkey turkey turkey turkey turkey
turkey turkey turkey turkey turkey turkey turkey turkey turkey turkey turkey turkey turkey
turkey turkey turkey turkey

Quine

turkey

Truth machine

The opcodes for the truth machine are shown below.

29
40
43
41
44
30
40
43
41
45
42
31
42

Implementations

This Turkey Interpreter Is A work in progress.