pub fn compile_program(
    ast: ast::Program,
    source_path: String,
    optimize: u8,
) -> Result<CodeObject, CompileError> {
    with_compiler(source_path, optimize, |compiler| {
        let symbol_table = make_symbol_table(&ast)?;
        compiler.compile_program(&ast, symbol_table)
    })
}
/// Compile a standard Python program to bytecode
Compile a standard Python program to bytecode
Compile a standard Python program to bytecode
pub fn compile_program(
    ast: ast::Program,
    source_path: String,
    optimize: u8,
) -> Result<CodeObject, CompileError> {
    with_compiler(source_path, optimize, |compiler| {
        let symbol_table = make_symbol_table(&ast)?;
        compiler.compile_program(&ast, symbol_table)
    })
}
pub fn compile_program ( ast : ast :: Program , source_path : String , optimize : u8 , ) -> Result < CodeObject , CompileError > { with_compiler ( source_path , optimize , | compiler | { let symbol_table = make_symbol_table ( & ast ) ? ; compiler . compile_program ( & ast , symbol_table ) } ) }
Compile a standard Python program to bytecode
Compile a standard Python program to bytecode
ast
ast::Program
source_path
String
optimize
u8