Projektrahmen: Cargo-Workspace, README und PLAN
Workspace mit sechs Crates (tb-frontend, tb-vm, tb-runtime, tb-ui, tb-cli, tb-ide) als Geruest fuer die Re-Implementierung des DOS-BASIC-Dialekts. Binaries: tbdos (IDE/TUI) und tbdosc (Standalone-Compiler). PLAN.md dokumentiert Phasen, Explorations- schritte und die Abwaegung der VM-/Runtime-Optionen (Entscheidung: eigene Bytecode-VM, TBVM). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
18
crates/tb-cli/Cargo.toml
Normal file
18
crates/tb-cli/Cargo.toml
Normal file
@@ -0,0 +1,18 @@
|
||||
[package]
|
||||
name = "tb-cli"
|
||||
description = "Terminal Basic: Standalone-Kommandozeilen-Compiler (tbdosc)"
|
||||
version.workspace = true
|
||||
edition.workspace = true
|
||||
license.workspace = true
|
||||
authors.workspace = true
|
||||
|
||||
[[bin]]
|
||||
name = "tbdosc"
|
||||
path = "src/main.rs"
|
||||
|
||||
[dependencies]
|
||||
tb-frontend.workspace = true
|
||||
tb-vm.workspace = true
|
||||
tb-runtime.workspace = true
|
||||
tb-ui.workspace = true
|
||||
anyhow.workspace = true
|
||||
13
crates/tb-cli/src/main.rs
Normal file
13
crates/tb-cli/src/main.rs
Normal file
@@ -0,0 +1,13 @@
|
||||
//! `tbdosc` — Standalone-Compiler von Terminal Basic.
|
||||
//!
|
||||
//! Wandelt Quelldateien und Projekte in binäre Ergebnisse (`.tbc`-Bytecode
|
||||
//! bzw. eigenständig ausführbare Programme) um. Geplante Unterbefehle
|
||||
//! (siehe PLAN.md):
|
||||
//! - `tbdosc build <projekt|datei.bas>` Kompilieren zu binärem Ergebnis
|
||||
//! - `tbdosc run <datei.bas>` Kompilieren und sofort ausführen
|
||||
//! - `tbdosc check <datei.bas>` Nur Syntax-/Semantikprüfung
|
||||
|
||||
fn main() -> anyhow::Result<()> {
|
||||
println!("tbdosc — Terminal Basic Compiler (Projektrahmen, noch ohne Funktion)");
|
||||
Ok(())
|
||||
}
|
||||
Reference in New Issue
Block a user