buffer module, replacing stacks. TODO: docs, fix parsing of "numbers tuple" in mkbfv (consumed by the conditional branch parser)

This commit is contained in:
2020-10-10 01:26:40 +02:00
parent 1f2dbaa81d
commit ee59096821
18 changed files with 578 additions and 232 deletions
+1 -1
View File
@@ -9,7 +9,7 @@ edition = "2018"
[dependencies]
crsn = { path = "../crsn" }
crsn_arith = { path = "../crsn_arith" }
crsn_stacks = { path = "../crsn_stacks" }
crsn_buf = { path = "../crsn_buf" }
crsn_screen = { path = "../crsn_screen" }
crsn_stdio = { path = "../crsn_stdio" }
+2 -2
View File
@@ -14,8 +14,8 @@ use crsn::module::{OpTrait, CrsnUniq};
use crsn::runtime::run_thread::{RunThread, ThreadToken, ThreadParams};
use crsn_arith::ArithOps;
use crsn_screen::ScreenOps;
use crsn_stacks::StackOps;
use crsn_stdio::StdioOps;
use crsn_buf::BufOps;
mod read_file;
mod serde_duration_millis;
@@ -134,7 +134,7 @@ fn main() -> anyhow::Result<()> {
let parsed = crsn::asm::assemble(&source, &uniq, vec![
ArithOps::new(),
StackOps::new(),
BufOps::new(),
ScreenOps::new(),
StdioOps::new(),
])?;