PoeticChicken

From Esolang
Jump to navigation Jump to search

PoeticChicken is a Chicken-derived esoteric programming language created by User:Hotcrystal0. Like other languages in the Poetic family, commands are based on word lengths. Apostrophes count as 0.5 letters, and all other characters are delimiters.

Commands

Except that there is no opcode 0, the commands are the same as Chicken with word lengths corresponding to the number of chickens with the following additions and modifications:

Word length (opcode) Name Description
1 quine push the word onto the stack.
1.5 or 2.5 floor divide Divide top two stack values and truncate it so only an integer remains.
3.5 modulus Pop two values a and b off the stack, then push a mod b.
10 push Look at the next instruction, then push its length -1 as a literal number onto the stack.

Examples

Cat program

Association access