Skip to content
This repository was archived by the owner on Aug 16, 2025. It is now read-only.

Releases: stifskere/bfptr

Run context

19 Jul 01:10

Choose a tag to compare

With this release, the run strategy is centralized.

  • Added bfptr_context which is a run context you can feed to brainfuck_on_ctx
  • Functions return a union which is bfptr_exception which has its own code and reason
  • The brainfuck function simply acts as default now.
  • The library is tested!

Static library fix

15 Jul 11:13

Choose a tag to compare

This release comes with a fix, where I realize macros do not matter in a static library as they are processed in compile time, and not in runtime, so forget the last release and install this one which comes with a new function to set the prefix for inputs.

The function is brainfuck_input_prefix which takes a char * and that will be stored to use as prefix within the , instruction in Brainfuck code.

Improve macros

15 Jul 10:41

Choose a tag to compare

This release fixes the macro description and adds an input prefix, now all the macros are prefixed with BFPTR.

  • BFPTR_EXCEPTION: This macro is meant for internal use, it prints an error and exits with -1.
  • BFPTR_INPUT_PREFIX: This macro is meant for you to be set if you want the , Brainfuck instruction to print something before asking for a character.

First release

15 Jul 10:20

Choose a tag to compare

This release includes the files to be linked in your project if you want to include this library.

Read the installation guide on this repository, readme.md if you don't know how to install a c static library.

Please, don't use this in production.