|
|
@ -7,12 +7,11 @@ use crate::asm::instr::Op; |
|
|
|
use crate::asm::parse::sexp_expect::expect_list; |
|
|
|
use crate::asm::parse::sexp_expect::expect_list; |
|
|
|
use crate::module::CrsnExtension; |
|
|
|
use crate::module::CrsnExtension; |
|
|
|
|
|
|
|
|
|
|
|
mod parse_cond; |
|
|
|
pub mod parse_cond; |
|
|
|
mod parse_instr; |
|
|
|
pub mod parse_instr; |
|
|
|
pub mod parse_data; |
|
|
|
pub mod parse_data; |
|
|
|
pub mod sexp_expect; |
|
|
|
pub mod sexp_expect; |
|
|
|
mod parse_op; |
|
|
|
pub mod parse_op; |
|
|
|
|
|
|
|
|
|
|
|
pub mod arg_parser; |
|
|
|
pub mod arg_parser; |
|
|
|
|
|
|
|
|
|
|
|
pub fn parse(source: &str, parsers: &[Box<dyn CrsnExtension>]) -> Result<Vec<Op>, CrsnError> { |
|
|
|
pub fn parse(source: &str, parsers: &[Box<dyn CrsnExtension>]) -> Result<Vec<Op>, CrsnError> { |
|
|
|