pub fn compile_program_single(
ast: &[Stmt<SourceRange>],
source_path: String,
opts: CompileOpts,
) -> Result<CodeObject, LocatedError<CodegenErrorType>>
Expand description
Compile a Python program to bytecode for the context of a REPL
pub fn compile_program_single(
ast: &[Stmt<SourceRange>],
source_path: String,
opts: CompileOpts,
) -> Result<CodeObject, LocatedError<CodegenErrorType>>
Compile a Python program to bytecode for the context of a REPL