Rename the tool to lucisv (Language Utility for Coding In SystemVerilog)
This commit is contained in:
1 parent
a284e33110
commit
eeaffafd56
188 files changed
+2825
-2802
No files matched your search
@@ -3,7 +3,7 @@
|
||||
## Goal
|
||||
|
||||
Fix the five confirmed formatter/parser bugs the case-tables and safety-net
|
||||
features found and parked. All five made `vfmt` refuse to write output (exit 2)
|
||||
features found and parked. All five made `lucisv` refuse to write output (exit 2)
|
||||
because the runtime safety net caught them as token loss, comment motion or
|
||||
non-convergence — so every one of them was a file the formatter could not
|
||||
format at all. Each fix lands with its parked `#SKIP` case turned into a live
|
||||
@@ -98,7 +98,7 @@ The five:
|
||||
- `Meta.trailing` is still a bare `String`: several trailing comments merge
|
||||
into one there, and it is printed verbatim on one line, so it needs no
|
||||
position.
|
||||
- Nothing outside `vlog_parser` / `vlog_formatter` was touched. `crates/vfmt`
|
||||
- Nothing outside `vlog_parser` / `vlog_formatter` was touched. `crates/lucisv`
|
||||
and the top-level `README.md` (another agent's scope) are untouched;
|
||||
`cargo fmt` was run and left those files byte-identical.
|
||||
|
||||
@@ -235,7 +235,7 @@ reader). `cargo clippy --all-targets` is now completely silent.
|
||||
**Verification.** Beyond the suite: a hand-written stress file combining all
|
||||
five constructs (labeled package/function/task/fork, a starred sensitivity
|
||||
list with a comment, a commented concatenation, a multi-instance declaration,
|
||||
an indented banner comment) formats cleanly, and `vfmt` on its own output is
|
||||
an indented banner comment) formats cleanly, and `lucisv` on its own output is
|
||||
byte-identical. Every bug's original repro from the two feature READMEs was
|
||||
re-run through the built CLI and now exits 0.
|
||||
|
||||
@@ -254,7 +254,7 @@ and all 4 `tests/fixtures/*.sv` files through 3 passes independently of
|
||||
scripts left at `/private/tmp/claude-501/-Users-guoliangchen-repo-verilogrustformatter/9ecac3b9-8a0e-4065-85de-23cc2a396bad/scratchpad/{stress,stress3.py,regress3.py}` for reference (outside the repo).
|
||||
|
||||
**Tool chain** (workspace root):
|
||||
- `cargo test --workspace`: **70/70 pass**, 0 failed (18 `vfmt` unit + 12
|
||||
- `cargo test --workspace`: **70/70 pass**, 0 failed (18 `lucisv` unit + 12
|
||||
`cli.rs` + 3 `vlog_formatter` unit + 1 `cases.rs` (covering all 200 cases
|
||||
internally) + 2 `fixtures.rs` + 19 `verification.rs` + 15 `vlog_parser`
|
||||
unit). Confirmed 200 cases / 0 `#SKIP` two ways: `grep -c '^====' ` per
|
||||
@@ -360,7 +360,7 @@ scripts left at `/private/tmp/claude-501/-Users-guoliangchen-repo-verilogrustfor
|
||||
third code path exists for either type.
|
||||
7. **200 cases / 0 `#SKIP` / green workspace / silent clippy / clean
|
||||
fmt / self-format-stable — PASS**, all independently reproduced above.
|
||||
Additionally ran vfmt-on-its-own-output beyond the work log's one
|
||||
Additionally ran lucisv-on-its-own-output beyond the work log's one
|
||||
hand-written file: **every one of the 200 committed cases' expected
|
||||
outputs plus all 4 real fixture files** (204 total) through 3 passes via
|
||||
`regress3.py` — 0 failures, 0 cases where pass1's output differs from
|
||||
@@ -399,7 +399,7 @@ scripts left at `/private/tmp/claude-501/-Users-guoliangchen-repo-verilogrustfor
|
||||
unchanged context, not new.
|
||||
- No new dependencies (`git diff` on all three `Cargo.toml` + `Cargo.lock`:
|
||||
empty). No `#[allow]` added anywhere. `TODO.md`, top-level `README.md`,
|
||||
and `crates/vfmt/` are all byte-identical to `HEAD` (`git diff --stat`
|
||||
and `crates/lucisv/` are all byte-identical to `HEAD` (`git diff --stat`
|
||||
empty for all three) — matches the Handshakes claim that nothing outside
|
||||
`vlog_parser`/`vlog_formatter` was touched.
|
||||
|
||||
@@ -408,7 +408,7 @@ scripts left at `/private/tmp/claude-501/-Users-guoliangchen-repo-verilogrustfor
|
||||
Specifically tried to break something that used to work. Constructed and
|
||||
fixed (after finding my own test-file bugs, not formatter bugs — `initial`
|
||||
inside a function, `always` inside a function, `fork` at package scope are
|
||||
all illegal Verilog, not vfmt defects) a combined-stress file
|
||||
all illegal Verilog, not lucisv defects) a combined-stress file
|
||||
(`12_combo_stress.sv`: banner comment + labeled package/function/nested
|
||||
begin + `@( /* c */ * )` + commented concatenation + multi-instance, all in
|
||||
one file) — 3-pass stable, matches the work log's own combined-stress claim.
|
||||
@@ -482,7 +482,7 @@ the exact 100/101-column multi-instance boundary, and mixed sensitivity-list
|
||||
spellings). The three documented remaining refusals all still refuse
|
||||
cleanly with an accurate error and leave the file byte-identical. CLAUDE.md
|
||||
compliance (no unwrap/expect/panic in library paths, no new deps, no
|
||||
un-explained `#[allow]`, TODO.md/README.md/`vfmt` untouched) all confirmed
|
||||
un-explained `#[allow]`, TODO.md/README.md/`lucisv` untouched) all confirmed
|
||||
by direct inspection, not just by trusting the work log's claims.
|
||||
|
||||
## Review
|
||||
|
||||
Reference in new issue
Block a user