Feat: cleanup
Some checks failed
Deploy Website / deploy (push) Failing after 4m50s

This commit is contained in:
2026-02-22 13:28:03 +01:00
parent 789dbb186b
commit 1ce5b8597a
26 changed files with 213 additions and 181 deletions

View File

@@ -1,3 +1,5 @@
//! Single-pass compiler from Forth source text to Op sequences.
use std::borrow::Cow;
use std::sync::Arc;

View File

@@ -1,3 +1,5 @@
//! Forth virtual machine for the Cagire music sequencer.
mod compiler;
mod ops;
mod theory;

View File

@@ -1,3 +1,5 @@
//! Compiled operation variants for the Forth VM instruction set.
use std::sync::Arc;
use super::types::SourceSpan;

View File

@@ -1,3 +1,5 @@
//! Core types for the Forth VM: values, execution context, and shared state.
use arc_swap::ArcSwap;
use parking_lot::Mutex;
use rand::rngs::StdRng;

View File

@@ -1,3 +1,5 @@
//! Stack-based Forth interpreter with audio command generation.
use parking_lot::Mutex;
use rand::rngs::StdRng;
use rand::{Rng as RngTrait, SeedableRng};
@@ -29,12 +31,10 @@ impl Forth {
}
}
#[allow(dead_code)]
pub fn stack(&self) -> Vec<Value> {
self.stack.lock().clone()
}
#[allow(dead_code)]
pub fn clear_stack(&self) {
self.stack.lock().clear();
}

View File

@@ -1,3 +1,5 @@
//! Project data model: banks, patterns, and steps for the Cagire sequencer.
mod file;
mod project;

View File

@@ -1,3 +1,5 @@
//! Project, Bank, Pattern, and Step structs with serialization.
use std::path::PathBuf;
use serde::{Deserialize, Deserializer, Serialize, Serializer};

View File

@@ -1,3 +1,5 @@
//! Reusable TUI widgets for the Cagire sequencer interface.
mod category_list;
mod confirm;
mod editor;