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

+4 -4
View File
@@ -52,13 +52,13 @@ its input bytes exactly is trivially token-equivalent.
instead of formatting — the same trade every other reserved word makes.
- **`with` is a postfix segment only when a `(` or `{` follows it.** That is
what tells the two `with` grammars apart, and it is what keeps the stream
expression's `with [range]` — which vfmt does not model — failing exactly
expression's `with [range]` — which lucisv does not model — failing exactly
where it always did.
- **A `foreach`'s loop variables are the last bracket group**, the one the
`)` follows; every earlier bracket is an ordinary select on the array. The
LRM spells the multi-dimensional form `foreach (a[i, j])`, and the
`foreach (a[i][j])` spelling real code writes is read as "loop over `j`
with `a[i]` as the array". vfmt only prints the header back, so the two
with `a[i]` as the array". lucisv only prints the header back, so the two
readings emit the same tokens either way.
- **Empty loop-variable slots (`foreach (a[, j])`) are not supported.** No
corpus file writes one; it stays the parse error it was.
@@ -68,7 +68,7 @@ its input bytes exactly is trivially token-equivalent.
- **An omitted list element is recognized wherever a list element is
parsed**, not only in call argument lists — the same call
`parse_expr_item` already makes for named arguments and `[lo:hi]` value
ranges, for the reason its comment gives: vfmt checks legality nowhere
ranges, for the reason its comment gives: lucisv checks legality nowhere
else either, and a wrong guess emits the same tokens.
- **An omitted argument in a list that breaks gets a line with nothing but
its `,` on it.** `create("x", , y)` when the list fits is one line, which
@@ -423,7 +423,7 @@ if (a.randomize() with {
z = 1;
end
```
`target/release/vfmt --stdout --line-length 40 with5.sv` keeps the whole
`target/release/lucisv --stdout --line-length 40 with5.sv` keeps the whole
` } && some_really_quite_long_flag_name_that_would_overflow_the_line_length_for_sure) begin`
tail on one line (99 characters, well past the 40-column limit requested),
where the *same* `if` condition without the `with`-block correctly wraps the