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
@@ -176,7 +176,7 @@ Decisions, all unit-tested:
|
||||
rust-analyzer. A 4 GiB Verilog file is not a use case; `u32` halves the
|
||||
size cost of putting a span on every node. Nothing enforces this: a larger
|
||||
file would truncate offsets rather than fail, which is worth a guard if
|
||||
vfmt ever grows an entry point that does not read the whole file into a
|
||||
lucisv ever grows an entry point that does not read the whole file into a
|
||||
`String` first (today `usize`→`u32` conversion happens only in the lexer,
|
||||
from offsets into a `&str` the CLI already read whole).
|
||||
- **One file, no virtual sources.** A `TextRange` has no file identity;
|
||||
@@ -305,8 +305,8 @@ check that matters.
|
||||
- Did not touch `verify.rs`, `tools/`, `corpus/`, or the formatter's
|
||||
behavior. Did not run `git commit`/`git push`.
|
||||
- **Concurrency note:** another agent's `config-discovery` work landed in the
|
||||
same working tree during this round (`crates/vfmt/src/config.rs`,
|
||||
`crates/vfmt/tests/cli.rs`, `args.rs`, `main.rs`, `README.md`, TODO.md §3).
|
||||
same working tree during this round (`crates/lucisv/src/config.rs`,
|
||||
`crates/lucisv/tests/cli.rs`, `args.rs`, `main.rs`, `README.md`, TODO.md §3).
|
||||
Mid-round its `a_config_file_is_found_by_searching_upward` was failing at
|
||||
`cli.rs:317` (with `indent = 4` in the config it expected `WIDE_SPLIT`, a
|
||||
constant written with 2-space indent). Confirmed it was theirs and not this
|
||||
@@ -326,7 +326,7 @@ md5 `3fab114f4f00626b254259e9dafe0ed7` — **byte-identical** to the
|
||||
pre-change baseline; 820 files, 466 would-reformat, 2 ok-unchanged, 352
|
||||
parse-error, **0 verification errors, 0 crashes**. All four corpus repos
|
||||
`git status --porcelain` clean apart from the pre-existing untracked
|
||||
`.vfmt-corpus-rev` stamps. Files touched:
|
||||
`.lucisv-corpus-rev` stamps. Files touched:
|
||||
`crates/vlog_parser/src/{span,line_index}.rs` (new),
|
||||
`crates/vlog_parser/src/{lib,token,lexer,ast,parser}.rs`,
|
||||
`crates/vlog_parser/tests/spans.rs` (new),
|
||||
@@ -346,7 +346,7 @@ part of the final diff. No commits made.
|
||||
**Tool results — all green:**
|
||||
- `cargo test --workspace`: **158 passed, 0 failed** at the time of this
|
||||
round (later observed at 160 as the concurrent `config-discovery` agent's
|
||||
work landed two more `vfmt` unit tests in the same tree — unrelated to
|
||||
work landed two more `lucisv` unit tests in the same tree — unrelated to
|
||||
this feature, confirmed by re-diffing; this feature's own crates stayed at
|
||||
47 (`vlog_parser` unit) + 10 (`tests/spans.rs`) throughout).
|
||||
- `cargo clippy --workspace --all-targets`: 0 warnings.
|
||||
@@ -415,13 +415,13 @@ than trusted from the work log.**
|
||||
— byte-identical to the dev's reported baseline. (Built from the current
|
||||
tree, which also includes the now-committed `config-discovery` change;
|
||||
the match confirms neither feature altered corpus-visible output.)
|
||||
- Built a second `vfmt` release binary from a `git worktree` at `HEAD`
|
||||
- Built a second `lucisv` release binary from a `git worktree` at `HEAD`
|
||||
(`481cce2`, i.e. immediately pre-spans, config-discovery already
|
||||
committed) and diffed its `--stdin-filename f - < f` output against the
|
||||
working-tree binary (spans included) over **all 820 `.sv`/`.v` corpus
|
||||
files**, not just 3-4: **0 differences**. Worktree removed after.
|
||||
- Corpus repos' `git status --porcelain`: clean apart from the pre-existing
|
||||
untracked `.vfmt-corpus-rev` stamps, confirmed again.
|
||||
untracked `.lucisv-corpus-rev` stamps, confirmed again.
|
||||
- No `.cases`/fixture/snapshot files under `crates/vlog_formatter/tests/`
|
||||
show as modified in `git status`.
|
||||
|
||||
|
||||
Reference in new issue
Block a user