|
bfx
An interpreter, compiler, and REPL for brainfuck-like languages
|
#include "weave.h"#include "brainfuck.h"#include "util.h"#include <pthread.h>#include <string.h>Data Structures | |
| struct | BFX_WeaveData |
| Weave language data structure. More... | |
| struct | BFX_WeaveWrapper |
| Weave thread wrapper structure. More... | |
Functions | |
| BFX_Error | bfx_weave_init (BFX *bfx) |
| Initialize the Weave interpreter. | |
| BFX_Error | bfx_weave_run (BFX *bfx) |
| Run the Weave interpreter. | |
| BFX_Error | bfx_op_weave_exit (BFX *bfx, BFX_FileIndex *index) |
| Terminate current thread (weave). | |
| BFX_Error | bfx_op_weave_toggle (BFX *bfx, BFX_FileIndex *index) |
| Toggle between thread and global tape (weave). | |
This file contains functions related to interpreting the Weave language.
| BFX_Error bfx_op_weave_exit | ( | BFX * | bfx, |
| BFX_FileIndex * | index | ||
| ) |
Terminate current thread (weave).
| BFX_Error bfx_op_weave_toggle | ( | BFX * | bfx, |
| BFX_FileIndex * | index | ||
| ) |
Toggle between thread and global tape (weave).
Initialize the Weave interpreter.
| bfx | Pointer to the already-allocated interpreter struct |