Seabass

From Esolang
Jump to: navigation, search

Seabass is a programming language that was inspired by Deadfish and is backwards-compatible with it. The other key points of Seabass are:

  • functionality
  • (relative) ease of use

The language has about 30 commands, each is a single letter - uppercase or lowercase. Typically lowercase commands use one variable, while uppercase use two, these variables are located in the accumulator and deccumulator. Accumulator and deccumulator are identical in structure - infinite tapes with zeroes in all cells, but they act differently for each command. In order to operate with other data types, you have to access the Extended Stack, which is also an infinite tape with zeroes in all cells, but it can store all four data types, strings included. Variable names can only be integers, same is true for functions(k>) and goto points(: or ;).

Examples

Hello, world!

iisibCmbCZbmbbCZbmbbbCZbmbbbbCbcazZZxaxzcaxziibIIIIbIIZTaxzcaxzibbIIIIZTaxzcaxziiibIbIIIIZTaxzcaxziiibIbIIIIZTaxzcaxzibIIbIIIIZTaxzcaxziibIbIZTaxzcaxziibIIbIIIZTaxzcaxzibIIbIIIIZTaxzcaxziiiibIIbIIIIZTaxzcaxziiibIbIIIIZTaxzcaxzbbIIIIZTaxzcaxziiibIbIZTzZaCaczcOzZaCaczc

This example was compiled from Tsb.

Cat

iisiiisiiiiiiiiiiiiiTaiQO

Truth-machine

ixqxa:z{aioj>.ao>

Or, alternatively:

ixaibxaq!@>.b:oj>

Infinite loop

i:j

External resources