Skip to main content

Crate vb6interpret

Crate vb6interpret 

Source
Expand description

vb6interpret: VB6 interpreter and REPL

A tree-walking interpreter that executes VB6 .bas modules directly from the vb6parse concrete syntax tree, using vb6runtime values.

Re-exports§

pub use error::RunError;
pub use error::RunResult;
pub use interpreter::Interpreter;
pub use scope::Scope;

Modules§

builtins
Builtin function dispatch.
error
Interpreter runtime errors.
eval
Expression evaluation over the CST.
exec
Statement execution over the CST.
interpreter
The interpreter engine.
program
The procedure model: procedures extracted from a parsed module’s CST.
scope
Variable storage for interpreter scopes.

Macros§

typed_builtin
Declarative builtin signature spec.

Structs§

VBError
A VB6 runtime error, mirroring the Err object.

Enums§

VBVariant
A VB6 runtime value.

Constants§

VERSION
Library version

Functions§

run_source
Execute a VB6 module source string, capturing Debug.Print output.