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

+5 -5
View File
@@ -17,7 +17,7 @@ defs.svh:12".
> "defined as 8 in defs.svh:12" shipped with the server's hover card and was
> narrowed to the include graph in M10 (`docs/features/include-nav/README.md`).
> The **single-step expansion display** shipped in M14, 2026-08-25:
> `crates/vfmt_server/src/expand.rs` substitutes a call site's arguments into
> `crates/lucisv_server/src/expand.rs` substitutes a call site's arguments into
> `Define::body` using `Define::params` exactly as recorded — defaults and all
> — and adds an "expands to" section to the card. `defines.rs` is byte-identical
> across that round: `params` "as written" and the LRM-literal body
@@ -140,7 +140,7 @@ Design notes:
- **Conditional compilation is not evaluated.** A `` `define`` inside an
`` `ifdef``/`` `else`` is recorded exactly like any other, so both arms of a
conditional pair appear in the table. Evaluating conditions needs a
preprocessor and a set of active defines, which vfmt deliberately does not
preprocessor and a set of active defines, which lucisv deliberately does not
have; the ordered list plus the `` `undef`` events is the raw material a
future position-aware resolver would need.
- **One file.** No `` `include`` following, no cross-file merge. That is the
@@ -194,12 +194,12 @@ changed, so they are stated here rather than left implicit:
"the trimmed line ends in `\`". `defines.rs::continuation_len` mirrors it,
trailing-whitespace tolerance included.
**Promised to future consumers (`vfmt_server`, `vlog_semantic`):** the API
**Promised to future consumers (`lucisv_server`, `vlog_semantic`):** the API
above. Nothing depends on it yet, so it is free to change; the two things
worth not changing casually are the body normalization rule (a hover string is
user-visible) and "all definitions are kept".
> **No longer free to change (M14, 2026-08-25).** `vfmt_server`'s
> **No longer free to change (M14, 2026-08-25).** `lucisv_server`'s
> `expand.rs` now reads `body` *and* `params` structurally: it splits a
> parameter on its first `=` to get the name and the default, and it counts
> `params` against the arguments at a call site, declining to expand on a
@@ -537,4 +537,4 @@ respectively.
With this, TODO §6's data foundations are complete: spans,
error-tolerant parsing, define table. Next: `vlog_semantic` + the
workspace index, then `vfmt_server`.
workspace index, then `lucisv_server`.