rustpython_codegen/lib.rs
1//! Compile a Python AST or source code into bytecode consumable by RustPython.
2#![doc(html_logo_url = "https://raw.githubusercontent.com/RustPython/RustPython/main/logo.png")]
3#![doc(html_root_url = "https://docs.rs/rustpython-compiler/")]
4
5#[macro_use]
6extern crate log;
7
8type IndexMap<K, V> = indexmap::IndexMap<K, V, ahash::RandomState>;
9type IndexSet<T> = indexmap::IndexSet<T, ahash::RandomState>;
10
11pub mod compile;
12pub mod error;
13pub mod ir;
14pub mod symboltable;
15
16pub use compile::CompileOpts;