Module rustpython_vm::compiler
source · Modules
- Compile a Python AST or source code into bytecode consumable by RustPython.
- This crate can be used to parse Python source code into an Abstract Syntax Tree.
Structs
- Primary container of a single code object. Each python function has a code object. Also a module has a code object.
- Converts source code byte-offset to Python convention line and column numbers.
Enums
Traits
- Parse Python code string to implementor’s type.
Functions
- Compile a given source code into a bytecode object.