bfx
An interpreter, compiler, and REPL for brainfuck-like languages
Loading...
Searching...
No Matches
BFX_Block Struct Reference

Structure to represent a loop in the brainfuck program. This structure holds the start and end indices of a loop, allowing the interpreter to efficiently jump between matching brackets during execution. More...

#include <bfx.h>

Data Fields

BFX_FileIndex start
 Start index of block.
 
BFX_FileIndex end
 End index of block.
 

Detailed Description

Structure to represent a loop in the brainfuck program. This structure holds the start and end indices of a loop, allowing the interpreter to efficiently jump between matching brackets during execution.

Note
The start field represents the index of the opening bracket '[', and the end field represents the index of the closing bracket ']'.

Field Documentation

◆ end

End index of block.

◆ start

Start index of block.


The documentation for this struct was generated from the following file: