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

Structure to represent data for the pbrain language. More...

#include <pbrain.h>

Data Fields

BFX_PBrainProcedure procedures [256]
 Array of procedures.
 
size_t procedures_len
 Length of the procedures array.
 
size_t stack [16]
 Array of stack elements.
 
size_t stack_top
 Top index of the stack.
 

Detailed Description

Structure to represent data for the pbrain language.

This populates the lang_data field in a BFX instance.

Field Documentation

◆ procedures

BFX_PBrainProcedure procedures[256]

Array of procedures.

◆ procedures_len

size_t procedures_len

Length of the procedures array.

◆ stack

size_t stack[16]

Array of stack elements.

◆ stack_top

size_t stack_top

Top index of the stack.


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