Crate brainoxide
source ·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
- Types and functions for the AST.
- Represents a recursive equation
- Settings defining what to do
- Implementations of the BF tape
- Fundamental data types used throughout brainoxide
Enums
- Data sent to execution callback
- Reply type for callback
- Error type for execution
- Errors during parsing
Functions
- Simple recursive interpreter implementation
- Generate C code
- Run optimisation passes.
- Parse source code into AST