BFC-Compiler
A C23 Brainfuck compiler
Loading...
Searching...
No Matches
bfc_config.h File Reference

Compiler-wide configuration constants. More...

#include <limits.h>
#include <stddef.h>

Go to the source code of this file.

Macros

#define BFC_TAPE_SIZE   ((size_t) 30000)
 Verifies the backend assumption that one C byte contains eight bits.
#define BFC_INITIAL_ASM_CAPACITY   ((size_t) 4096)
 Defines initial capacities for dynamically growing compiler structures.
#define BFC_INITIAL_IR_CAPACITY   ((size_t) 10)
#define BFC_INITIAL_IR_STACK_CAPACITY   ((size_t) 5)

Detailed Description

Compiler-wide configuration constants.

Defines the Brainfuck machine model and initial capacities shared by the frontend and code-generation backends.

Macro Definition Documentation

◆ BFC_TAPE_SIZE

#define BFC_TAPE_SIZE   ((size_t) 30000)

Verifies the backend assumption that one C byte contains eight bits.

Defines the generated Brainfuck tape length in byte-sized cells.