Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
b31922c
feat(tree-sitter-compact): add declaration-level Compact grammar
0xisk Sep 15, 2026
0d4991b
refactor(compact-tree-sitter): rename the grammar crate
0xisk Sep 15, 2026
ec5cb8a
feat(compact-lint): add the check command
0xisk Sep 15, 2026
a8ac656
feat(compact-lint): add the fix command
0xisk Sep 15, 2026
25b4943
feat(compact-lint): add the fill-constraints command
0xisk Sep 15, 2026
2ad67ef
test(compact-lint): track the seeded cache fixture
0xisk Sep 15, 2026
46ef29a
ci(rust): stop persisting checkout credentials
0xisk Sep 16, 2026
f06882b
docs(compact-tree-sitter): correct the name field claim
0xisk Sep 16, 2026
e2b329d
test(compact-tree-sitter): skip symlinks in the corpus walk
0xisk Sep 16, 2026
847e376
Merge branch 'feat/tree-sitter-compact' into feat/compact-lint-check
0xisk Sep 16, 2026
334b4a9
fix(compact-lint): resolve explicit paths against cwd
0xisk Sep 16, 2026
9344813
refactor(compact-lint): mark Tag::new must_use
0xisk Sep 16, 2026
3ade154
fix(compact-lint): check constraints under docs = none
0xisk Sep 16, 2026
57a8323
Merge branch 'feat/compact-lint-check' into feat/compact-lint-fix
0xisk Sep 16, 2026
0acfa84
fix(compact-lint): skip inserting a tag a rename supplies
0xisk Sep 16, 2026
e64fef9
fix(compact-lint): validate the fix placeholder
0xisk Sep 16, 2026
c4737e6
fix(compact-lint): validate rename against forbid
0xisk Sep 16, 2026
aa06bbd
fix(compact-lint): write through a unique temp file
0xisk Sep 16, 2026
4802e70
Merge branch 'feat/compact-lint-fix' into feat/compact-lint-fill-cons…
0xisk Sep 16, 2026
f5b467e
docs(compact-lint): tag output fences as text
0xisk Sep 16, 2026
c42ba9b
fix(compact-lint): keep leading parent components
0xisk Sep 16, 2026
7b74838
feat(compact-lint): add the check command
0xisk Sep 15, 2026
68baa98
fix(compact-lint): resolve explicit paths against cwd
0xisk Sep 16, 2026
5ec1584
refactor(compact-lint): mark Tag::new must_use
0xisk Sep 16, 2026
3423bd6
fix(compact-lint): check constraints under docs = none
0xisk Sep 16, 2026
104d9e3
Merge branch 'feat/compact-lint-check' into feat/compact-lint-fix
0xisk Oct 13, 2026
a3e35f6
Merge branch 'main' into feat/compact-lint-fix
0xisk Nov 17, 2026
a907f86
fix(compact-lint): keep the closing */ on a module-name fix
0xisk Nov 17, 2026
8a940ed
fix(compact-lint): move delimiter-line text before inserting
0xisk Nov 17, 2026
8b14e94
fix(compact-lint): write the constraints tag only once
0xisk Nov 17, 2026
fe190a2
Merge branch 'feat/compact-lint-fix' into feat/compact-lint-fill-cons…
0xisk Nov 17, 2026
fd8b639
Merge branch 'main' into feat/compact-lint-fill-constraints
0xisk Nov 17, 2026
87569ed
fix(compact-lint): keep a note when k/rows match
0xisk Nov 17, 2026
948fc68
docs(compact-lint): drop the shared-cache claim
0xisk Nov 17, 2026
d478903
fix(compact-lint): keep edits saved during a fill
0xisk Nov 17, 2026
8a3f1d3
fix(compact-lint): measure under NO_COLOR
0xisk Nov 17, 2026
fe318a2
refactor(compact-lint): share one path normalize
0xisk Nov 17, 2026
f9d2556
fix(compact-lint): measure up to 500 circuits per compile
0xisk Nov 17, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,11 @@ managed/
# never gets committed — including under examples/, where the walkthrough
# expects you to compile the contract yourself before deploying.
artifacts/
# compact-lint's measurement cache, written next to the .compact sources
# it measures.
.circuit-info.json
# Except the seeded cache the fill-constraints tests read.
!crates/compact-lint/tests/fixtures/**/.circuit-info.json
midnight-level-db
compactc

Expand Down
171 changes: 165 additions & 6 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,15 @@ anyhow = "1.0"
cc = "1"
clap = { version = "4.6", features = ["derive", "env"] }
globset = "0.4"
portable-pty = "0.9"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
thiserror = "2.0"
toml = "1.1"
tree-sitter = "0.25"
compact-tree-sitter = { version = "0.1.0", path = "crates/compact-tree-sitter" }
tree-sitter-language = "0.1"
tempfile = "3.27"
walkdir = "2.5"

assert_cmd = "2.2"
tempfile = "3.27"
4 changes: 3 additions & 1 deletion crates/compact-lint/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,10 @@ path = "src/main.rs"
anyhow.workspace = true
clap.workspace = true
globset.workspace = true
portable-pty.workspace = true
serde.workspace = true
serde_json.workspace = true
tempfile.workspace = true
thiserror.workspace = true
toml.workspace = true
tree-sitter.workspace = true
Expand All @@ -31,4 +34,3 @@ walkdir.workspace = true

[dev-dependencies]
assert_cmd.workspace = true
tempfile.workspace = true
Loading
Loading