Deadbird

From Esolang
Jump to navigation Jump to search

Deadbird is a Deadfish derivate by User:ChuckEsoteric08.

Additions

Instead of having a single accumulator, Deadbird has 4 accumulators. It adds following commands to Deadfish:

n - moves to the next accumulator, wrapping
c - outputs as a character
g - inputs a character
z - sets accumulator to zero
f - skip next command if accumulator is zero
(x/y) - define function x (can be only a single character) as y. Allows recursion

Examples

Hello, World!

This program, a gratuitous dation of the provenance Deadfish#Example_programs, accommodated to the character-based encheson from the numeric original, issues the message “Hello, world!” to the standard output:

iiisdsiiiiiiiiciiiiiiiiiiiiiiiiiiiiiiiiiiiiiciiiiiiicciiicdddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddcddddddddddddcdddddddddddddddddddddsddcddddddddciiicddddddcddddddddcdddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddc

Counter

In the following, a counter operates in an olamic mode, repeatedly printing the integer numbers from inclusive one (1) through inclusive 255, ere commencing anew. Please heed that an overflow's transpiration on the stack constitutes a tenable sequela from the nimiety in recursive invocations.

(U/foiU)U

Truth-Machine

The below program furnishes a truth-machine implementation. Please heed that an overflow's transpiration on the stack constitutes a tenable sequela from the nimiety in recursive invocations.

(0/o)(1/o1)gddddddddddddddddddddddddddddddddddddddddddddddddf10

Interpreter

  • Common Lisp implementation of the Deadbird programming language. As a precautionary apostil it ought to be noted that the recursive invocations of bespoke functions, if overly nimious in their accompt, might inflict a program with an abortive stack overflow error.