- This is heavily based on the esolang Deadfish.
- In fact, the any deadfish program that doesn't relay on accumulator reset(at -1 and 256) should work fine with accbpl.
- I just added few extra instructions.
- At the beginning of a program, accumulator is initialized to zero.
- Accumulator is a signed 32-bit integer.(int32_t)
- Supports the following instructions: i, d, s, r, o, c, g.
- Any character that is not part of the above instruction set is ignored.
- Newline and whitespaces are also ignored.
Instruction | Effect on accumulator |
---|---|
i | increment |
d | decrement |
s | square |
r | square root, rounded to int |
o | output as int(32 bit) |
c | output as char(8 bit) |
g | get single int(32 bit) as input and overwrite |
- Of these,
i
,d
,s
, ando
are from deadfish.