AMiaBF’!?

From Esolang
Jump to navigation Jump to search

AMiaBF’?! is an esoteric programming language made by User:AmNow. AMiaBF’?! Is a superset of !aBF' (with a few tweaks)

Architecture

Programs operate on an integer register known as the accumulator.

Commands

Command Name What it does
A Between B Skip forward to the matching B if the accumulator is 0.
M MMMMMM, # Print “#”.
i i am 1 Add one to the accumulator. (Roman Numeral: I)
a AAAAAAAAAA Output the accumulator in caps.
B Between A Jump backward to the matching A if the accumulator is not 0.
F Five Add 5 to the accumulator.
derivative Set the accumulator to the arithmetic derivative of its value.
! not Don’t do the next command.
? what is it Prompt the user for an integer and store it in the accumulator.

Programs

Truth-machine

?AaBa

Spam console with #s

FAMB

Cat program

The following presents an infinitely repeating cat program:

?aA?aB

Arithmetic derivative

This program queries the user for an integer, determines its arithmetic derivative, and prints it to the console:

?‘a

Computational Class

AMiaBF’!?’s computational class is unknown.

Interpreter

  • Common Lisp implementation of the AMiaBF’!? programming language. Please note that the concrete character set deployed constitutes a dependency on the Common Lisp implementation; in corollary, Unicode support may or may not be a feature incorporated in the personal environment. The interpreter at hand has been developed and tested with Steel Bank Common Lisp (SBCL) version 1.1.4 as part of the Lisp Cabinet 0.3.5 bundle.