Promo (Procedural Model) is a programming language based on Brainfuck created by Alex Costea, meant to be an easy and powerful model of computation. It uses 6 characters and 8 commands.
Like Brainfuck, it operates on a list, however the list is infinite in both directions and all numbers on it can get arbitrary big. Unlike Brainfuck, it takes only one (or zero) natural numbers as input and returns one number as output. The input is written in the initial cell, and the value of the final cell is considered the output. Also unlike Brainfuck, every program is valid (calls to non-existing functions are simply ignored).
The first 4 characters have the same meaning as in Brainfuck. Every character not in "+-<>#@" is ignored.
|>||move right by 1|
|<||move left by 1|
|# and @||when started with #, call the function corresponding to the number in binary written by # as 1 and @ as 0. Example: #@#@ calls function 10. Calls are not made if the current cell is 0.|
|@||when followed by a string containing only "@", do a dynamic call. This means:
|+-||separates functions between then, starting with function 0 (which is called automatically at the beginning), 1, 2, 3...|
|><||Only when written as the first 2 characters, take a number as an input. If omitted, input will automatically be considered 0.|
This program calculates 2^n of a given number (or loops forever for negative inputs).
As the only output is a number, a traditional Hello, World! is impossible (unless encoded as a Base 256 number).
Quine (kinda cheating?)
Busy Beaver lower bounds
BusyBeaver(n) is defined as the biggest number that can be outputted by a program that takes no output with n characters. Those are the current lower bounds for it, and some examples:
|0||0||[the empty program]|