(DM15L) Brainf█k Programming Language

Forum for discussion of the DM10, DM11, DM12, DM15, DM16 and DM41 units
Post Reply
Posts: 17
Joined: Tue Apr 10, 2018 9:34 pm

(DM15L) Brainf█k Programming Language

Post by michaelzinn » Tue May 22, 2018 2:39 pm

I wrote an interpreter that you can use to run Brainf█k programs directly on your calculator. For example, if you wanted to calculate Fibonacci numbers with the +>+[[->+>+<<]<[->>>+<<<]>>>.] program you could enter it like this:

SF 0
3137741313 STO 3
2282741113 STO 4
2228111580 STO 5

...and then run it with "B". (The flag is for "compact mode". Without it it would run in "fast mode" with one instruction per register).

Full post including source is here: https://steemit.com/programming/@michae ... calculator

Post Reply