Skip to main content

Crate bop

Crate bop 

Source

Re-exports§

pub use error::BopError;
pub use parser::Stmt;
pub use parser::count_instructions;
pub use value::Value;

Modules§

error
Error type for the Bop interpreter.
lexer
memory
Memory tracking for Bop script execution.
parser
precheck
value
Value type for the Bop interpreter.

Structs§

BopLimits
Resource limits enforced during execution.
StdHost
Default host: no custom builtins, print to stdout.

Traits§

BopHost
Extension point for embedders to add custom built-in functions.

Functions§

parse
Parse Bop source into an AST (useful for instruction counting).
run
Run a Bop program with the given host and limits.