PoeticChicken
(Redirected from User:Hotcrystal0/PoeticChicken)
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 opcode 0 is represented by two empty lines in a row, 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