Search code examples
brainfuck

Is there a Brainfuck API?


So I stumbled upon a Brainfuck question, and I wondered, do any of its compilers/interpreters provide an API?


I'll make a separate question about accessing other APIs.


Solution

  • In pure Brainfuck, there won't be anything, unless you write your own interpreter that uses specific chunks of memory for this.

    One project that may interest you is ajyoon/systemf, an interpreter where you can make Linux system calls using a special ninth character.

    EDIT: I ended up answering the wrong question of the asker, this is more an answer to the other one.