Expand description
§BrainOxide - An optimizing Brainfuck compiler/interpreter
NOTE! This is a command line program. This library does NOT provide a stable API, or even an API meant to be consumed by external code at all.
You have been warned.
Re-exports§
pub use types::BfNum;
pub use types::TapeAddr;
pub use types::TapeAddrError;
Modules§
- ast
- Types and functions for the AST.
- equation
- Represents a recursive equation
- settings
- Settings defining what to do
- tape
- Implementations of the BF tape
- types
- Fundamental data types used throughout brainoxide
Enums§
- Execute
Callback Data - Data sent to execution callback
- Execute
Callback Result - Reply type for callback
- Execution
Error - Error type for execution
- Parse
Error - Errors during parsing
Functions§
- execute
- Simple recursive interpreter implementation
- generate_
c - Generate C code
- optimize
- Run optimisation passes.
- parse_
source - Parse source code into AST