Cleaning language

This commit is contained in:
2026-01-29 01:10:53 +01:00
parent db5237480a
commit 7e4f8d0e46
10 changed files with 57 additions and 68 deletions

View File

@@ -559,7 +559,7 @@ impl Forth {
Op::Pick => {
let idx_i = stack.pop().ok_or("stack underflow")?.as_int()?;
if idx_i < 0 {
return Err(format!("pick index must be >= 0, got {}", idx_i));
return Err(format!("pick index must be >= 0, got {idx_i}"));
}
let idx = idx_i as usize;
let mut quots: Vec<Value> = Vec::new();