Falsebrain9Q+Fishload

From Esolang
Jump to navigation Jump to search

Description

Falsebrain9Q+fishload is an ingenious combination of many esolangs: False, Brainfuck, HQ9+, Deadfish, and Underload. It has two stacks, a tape, and an accumulator. As you can see, this makes the language Turing-complete but also powerful.

Commands

False

  • {<code>} - execute False code inside {}.

BF

  • [] - BF loops.
  • + - BF increment
  • - - BF decrement
  • . - BF output
  • , - BF input
  • < - BF move left
  • > - BF move right

HQ9+

Deadfish

  • i - increment accumulator
  • d - decrement
  • s - square (using Deadfish arithmetic)
  • o - output accumulator

Underload

  • (<code>) - execute code inside () as Underload.

Inter-language

  • %<l1><l2> - transfers data between the two languages' forms of storage.
  • Example: %BF pushes the value on the BF tape to the False stack.

Language codes

  • F - False stack
  • B - BF tape
  • D - Deadfish accumulator
  • U - Underload stack

Examples

Hello, world!

h

99 bottles of beer

9

Quine

q

Example

This example prints 100.

iiis%DB+%BF{$*}%FU(S)

First it forms 9 in Deadfish, then adds 1 in BF, then it squares in false, and outputs in Underload.