Checker crate skeleton: salsa db, SourceFile input, whole-file parser #46
Loading…
Reference in a new issue
No description provided.
Delete branch "1/checker-crate-skeleton"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Stands up the twill-check crate's incremental architecture skeleton, per #1.
Dbtrait +TwillDatabase,SourceFileinput (closes #44)module_parser, snapshot-tested, so a real source file can be parsed end to end (closes #45)salsaadded as the real (not hand-rolled) incremental-computation dependency (closes #42)parse/lowertracked fns wired to actually lex+parseSourceFile.textthrough the newmodule_parser, proving the pipeline end to end (return types stay()placeholders -- see below)#[salsa::interned] struct Symbol) started, but the lowering pass/owned tree itself (#43) is not finished by this PR --parse/lowerstill return()Closes #42, #44, #45. #43 and the umbrella ticket #1 stay open, tracked separately.
Test plan
cargo test --workspacepasses (255 tests)cargo insta review-- module_empty/module_multiple_statements snapshots accepted