Feat: all and noall words

This commit is contained in:
2026-02-23 23:04:43 +01:00
parent 8b745a77a6
commit 8f131b46cc
9 changed files with 236 additions and 5 deletions

View File

@@ -686,6 +686,7 @@ impl SequencerState {
self.variables.store(Arc::new(HashMap::new()));
self.dict.lock().clear();
self.speed_overrides.clear();
self.script_engine.clear_global_params();
}
SeqCommand::Shutdown => {}
}

View File

@@ -24,6 +24,10 @@ impl ScriptEngine {
self.forth.evaluate_with_trace(script, ctx, trace)
}
pub fn clear_global_params(&self) {
self.forth.clear_global_params();
}
pub fn stack(&self) -> Vec<Value> {
self.forth.stack()
}