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:
13
crates/tb-vm/src/lib.rs
Normal file
13
crates/tb-vm/src/lib.rs
Normal file
@@ -0,0 +1,13 @@
|
||||
//! Virtuelle Maschine für Terminal Basic (TBVM).
|
||||
//!
|
||||
//! Eigene Stack-basierte Bytecode-VM (Entscheidung siehe PLAN.md, Abschnitt
|
||||
//! „VM-/Runtime-Optionen"). Kernanforderungen:
|
||||
//! - Serialisierbares Bytecode-Format (`.tbc`) als Compiler-Ziel
|
||||
//! - Unterbrechbar/wiederaufnehmbar für Debugger (Einzelschritt, Breakpoints)
|
||||
//! und für die ereignisgesteuerte Forms-Hauptschleife
|
||||
//! - BASIC-Fehlersemantik (`ON ERROR GOTO`, `RESUME`, `ERR`/`ERL`)
|
||||
//! - `GOSUB`/`RETURN` neben regulären Prozeduraufrufen
|
||||
|
||||
pub mod bytecode;
|
||||
pub mod codegen;
|
||||
pub mod interp;
|
||||
Reference in New Issue
Block a user