Minimal CLI driver (twillc run <file.tw>) #86

Open
opened 2026-10-04 02:37:24 +00:00 by jacksonopp · 0 comments
Owner

Depends on #7.

A minimal CLI driver tying parse → salsa-checked HIR → twill-codegen → JIT execute into one command - e.g. twillc run <file.tw>.

crates/validation is currently just a lexer-dump binary (println!("{:?}", toks)) - either extend it into this driver or replace it; no real driver exists yet.

This is the "it's alive" issue: closing it means pointing the compiler at a .tw file on disk and watching it actually run.

Depends on #7. A minimal CLI driver tying parse → salsa-checked HIR → `twill-codegen` → JIT execute into one command - e.g. `twillc run <file.tw>`. `crates/validation` is currently just a lexer-dump binary (`println!("{:?}", toks)`) - either extend it into this driver or replace it; no real driver exists yet. This is the "it's alive" issue: closing it means pointing the compiler at a `.tw` file on disk and watching it actually run.
Sign in to join this conversation.
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
jacksonopp/twill#86
No description provided.