mirror of
https://github.com/RustPython/Parser.git
synced 2025-07-19 11:05:45 +00:00
Move bytecode into own crate.
This commit is contained in:
parent
96e49f195d
commit
134e6b2579
4 changed files with 3 additions and 461 deletions
|
@ -5,10 +5,10 @@
|
|||
//! https://github.com/python/cpython/blob/master/Python/compile.c
|
||||
//! https://github.com/micropython/micropython/blob/master/py/compile.c
|
||||
|
||||
use crate::bytecode::{self, CallType, CodeObject, Instruction, Varargs};
|
||||
use crate::error::{CompileError, CompileErrorType};
|
||||
use crate::symboltable::{make_symbol_table, statements_to_symbol_table, SymbolRole, SymbolScope};
|
||||
use num_complex::Complex64;
|
||||
use rustpython_bytecode::bytecode::{self, CallType, CodeObject, Instruction, Varargs};
|
||||
use rustpython_parser::{ast, parser};
|
||||
|
||||
struct Compiler {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue