Rename the tool to lucisv (Language Utility for Coding In SystemVerilog)

This commit is contained in:
lucio committed 2026-08-25 23:36:00 -07:00
1 parent a284e33110
commit eeaffafd56
188 files changed
+2825 -2802

No files matched your search

+9 -9
View File
@@ -38,7 +38,7 @@ the deviations are stated where they happen.
chain: method scope → class scope → enclosing (package/module/file),
imports consulted per scope as everywhere else. *Deliberate LRM
inexactness:* the LRM puts inherited members ahead of enclosing scopes;
vfmt cannot see into a base class it does not model, so the full lexical
lucisv cannot see into a base class it does not model, so the full lexical
chain is searched first and inheritance is the fallback. An in-file name
therefore always wins over a hypothetical inherited one.
4. **Inheritance is never chased — not even in-file.** `extends Base` itself
@@ -161,7 +161,7 @@ back to the stored name exactly (`exact_or_empty`), preserving the
- **Class scopes are ordinary lexical scopes for bare names.** The LRM
restricts a nested class's access to its outer class's instance members;
vfmt does not distinguish static from instance access and lets the chain
lucisv does not distinguish static from instance access and lets the chain
through. More permissive, never corrupting, same argument as forward
references everywhere.
- **The nearest enclosing extends-carrying class supplies `base` for an
@@ -204,9 +204,9 @@ keeping `scan.rs` alive (with the deliberate `Disable` exception).
precedent** (`SymbolKind` is matched exhaustively downstream, so the new
variant does not compile without them; each is one arm, no logic):
- `crates/vfmt_server/src/tokens.rs` — `SymbolKind::Class =>
- `crates/lucisv_server/src/tokens.rs` — `SymbolKind::Class =>
Highlight::Class` in `symbol_type`.
- `crates/vfmt_server/src/symbols.rs` — `SymbolKind::Class => "class"` in
- `crates/lucisv_server/src/symbols.rs` — `SymbolKind::Class => "class"` in
`kind_label`, `SymbolKind::Class => LspKind::CLASS` in `lsp_kind`.
**Requested of a future round (not done here):** chasing
@@ -392,19 +392,19 @@ acceptance tables above updated to the post-fix numbers.
**2026-08-20 — QA agent.** Read CLAUDE.md, this README, the vlog-semantic
README (rule 6, the pinned package-tail-miss rule) and the full diff of
`model.rs` / `resolve.rs` / `bind.rs` / `lib.rs` / `workspace.rs` /
`tests/{classes,corpus,workspace}.rs` and the three `vfmt_server` arms.
`tests/{classes,corpus,workspace}.rs` and the three `lucisv_server` arms.
Attacks ran as a 29-test scratch suite (`tests/qa_probe.rs`, deleted after
the run) plus a baseline `git worktree` at `da1448e` used to re-measure the
"before" rows independently. Scope was held to `-p vlog_semantic
-p vfmt_server`; nothing outside this feature was touched.
-p lucisv_server`; nothing outside this feature was touched.
**Gates re-run on the current tree.** `cargo test -p vlog_semantic`: **69
passed, 0 failed** (6 lib + 23 classes + 1 corpus + 19 semantics + 20
workspace) — the claimed split is exact. `cargo test -p vfmt_server`: 122
workspace) — the claimed split is exact. `cargo test -p lucisv_server`: 122
passed (116 unit + 6 e2e), no test file modified. `cargo clippy
-p vlog_semantic -p vfmt_server --all-targets`: **0 warnings**; the crates
-p vlog_semantic -p lucisv_server --all-targets`: **0 warnings**; the crates
carry exactly one new `#[allow]` (`bind.rs:694`, `too_many_arguments`) and
it is commented. `cargo fmt -p vlog_semantic -p vfmt_server -- --check`:
it is commented. `cargo fmt -p vlog_semantic -p lucisv_server -- --check`:
clean. `cargo test --workspace`: **825 passed, 0 failed** (summed over 28
`test result:` lines), reproducing the work log's number.