BF-ASM:8

From Esolang
Jump to navigation Jump to search
This is still a work in progress. It may be changed in the future.

BF-ASM:8 is an esoteric programming language made to be compiled to brainfuck

Examples

Hello world

var # out = "Hello world" .

More readable

var # out
var = "Hello world"
var.

Cat

var # = 1 {var , .}

More readable

var # = 1 {
 var , .
}

Truth machine

var1 # ,
var2 # = var1 - 48 {var1 .}
var1 .

Language

Everything on the language is made entirely with variables.

Syntax

The syntax of doing something with a variable looks like this

[variable] [operation with the variable] [paramether/s that the operation uses]

Note that you can repeat the things that you can do with a variable

[variable] [operation] [paramether/s] [operation] [paramether/s] [operation] [paramether/s] ..

and you can put them in the way you want.

[variable] [operation]
[paramether/s]
[operation]
[paramether/s] [operation [paramether/s]
...

Operations