pub mod categories;
pub mod demos;
pub mod docs;
pub mod onboarding;
mod script;

pub use cagire_forth::{
    lookup_word, CcAccess, Dictionary, ExecutionTrace, Rng, SourceSpan, StepContext, Value,
    Variables, Word, WordCompile, WORDS,
};
pub use cagire_project::{
    load, load_str, save, share, Bank, FollowUp, LaunchQuantization, Pattern, PatternSpeed,
    Project, SyncMode, MAX_BANKS, MAX_PATTERNS,
};
pub use script::ScriptEngine;

pub fn bp_label(bank: usize, pattern: usize) -> String {
    format!("B{:02}:P{:02}", bank + 1, pattern + 1)
}
