Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ workspace carried at those versions without a tag.

## Unreleased

## 0.4.3

- A semantic module nests as deeply as the project's `max_scope_depth` allows
(SPEC.md §17.17, §17.21.3, `SM-12`; no new diagnostic code; no language
identity moves). The front end read a module's JSON with a fixed 128-level
Expand Down
8 changes: 4 additions & 4 deletions Cargo.lock

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

8 changes: 4 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ resolver = "2"
members = ["crates/*", "xtask"]

[workspace.package]
version = "0.4.0"
version = "0.4.3"
edition = "2021"
rust-version = "1.97"
license = "MIT OR Apache-2.0"
Expand All @@ -17,9 +17,9 @@ categories = ["compilers", "development-tools"]
# A `path` dependency with no `version` is a wildcard requirement, and
# `cargo deny` refuses those (`wildcards = "deny"`). Every internal dependency
# carries both.
repo-model = { version = "0.4.0", path = "crates/model" }
repo-conformance = { version = "0.4.0", path = "crates/conformance" }
lexlean = { version = "0.4.0", path = "crates/lexlean" }
repo-model = { version = "0.4.3", path = "crates/model" }
repo-conformance = { version = "0.4.3", path = "crates/conformance" }
lexlean = { version = "0.4.3", path = "crates/lexlean" }

camino = "1.2"
clap = { version = "4.5", features = ["derive"] }
Expand Down
2 changes: 1 addition & 1 deletion SPEC.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ The root workspace metadata MUST be:

```toml
[workspace.package]
version = "0.4.0"
version = "0.4.3"
edition = "2021"
rust-version = "1.97"
license = "MIT OR Apache-2.0"
Expand Down
2 changes: 1 addition & 1 deletion bootstrap/expected/build/manifest.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion compiler/expected/build/manifest.json

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions crates/conformance/src/cases/repository.rs
Original file line number Diff line number Diff line change
Expand Up @@ -963,7 +963,7 @@ pub(crate) fn run(id: &str) {
"RP-01" => {
let workspace = root_file("Cargo.toml");
for required in [
"version = \"0.4.0\"",
"version = \"0.4.3\"",
"edition = \"2021\"",
"rust-version = \"1.97\"",
"license = \"MIT OR Apache-2.0\"",
Expand Down Expand Up @@ -996,7 +996,7 @@ pub(crate) fn run(id: &str) {
let (exit, stdout, _) = support::cli_in(&root, &["--version"]);
assert_eq!(exit, 0);
assert!(
stdout.starts_with("lexlean 0.4.0\n"),
stdout.starts_with("lexlean 0.4.3\n"),
"§30.3: the binary reports the lexlean identity, got {stdout:?}"
);
}
Expand Down Expand Up @@ -1598,7 +1598,7 @@ pub(crate) fn run(id: &str) {
"no workspace test is ignored or cfg-hidden: {hidden_tests:?}"
);
let unmet = repo_model::release::check(root.as_std_path(), &hidden_tests)
.expect_err("a 0.4.0 tree must refuse release (§2.3, §30.4)");
.expect_err("a 0.4.3 tree must refuse release (§2.3, §30.4)");
// The criterion reads the attribute-block scan, so a hidden test
// is unmet whatever attribute form hides it (§30.4).
let planted: BTreeSet<String> = ["conformance_rp_12".to_owned()].into_iter().collect();
Expand Down
2 changes: 1 addition & 1 deletion examples/collections/expected/build/manifest.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"build_id":"196578905fbf132a72c77ba6ccd791a45e9dfbf1387a02218fff2472744e30cd","compiler":{"semantics_id":"4b3ed2378d6c43bb32a41d466cf140337e8b1cedc5e1f345aaf3395f488f63a9","version":"0.4.0"},"inputs":[{"byte_length":2684,"kind":"lexicon","path":"embedded","sha256":"3bc0fb09d706ffa7d5a1363302ea87c049acc7c7dcafde63c62682620c11be9b"},{"byte_length":14885,"kind":"lexicon","path":"embedded","sha256":"e0db021e01b91d651c43921d66f6b0023c8efbf17cac2ec53192ce5305e4e1ac"},{"byte_length":36197,"kind":"lexicon","path":"embedded","sha256":"827317cae68c162f3a96c8a8de4e53ab348e7d3724fd2b834fa85ecde1a1b392"},{"byte_length":1059,"kind":"lexicon","path":"glossary/collections.titles","sha256":"a2a85a73fd75db42fcfff198b2862bf075fc82764f943a273571a38116122084"},{"byte_length":1949,"kind":"lock","path":"lexlean.lock","sha256":"2968b3ca2a788611e2ba4e0ff298a6c9d9878dac8ba9d11d496975d807d4f66c"},{"byte_length":746,"kind":"project-config","path":"lexlean.toml","sha256":"81dc4ad6d6a4810f3ac08b5ff8984bfa9bc94dc64a2d9f97ee3f40e7343e9619"},{"byte_length":18712,"kind":"source","path":"src/Main.lex.tex","sha256":"5b38afe36e957e78b48e669790a735cfaf98e4deb2a0cd78d2a40a597b7ec6c4"},{"byte_length":580,"kind":"source","path":"src/Measure.lex.tex","sha256":"7cc7e43c15f0b893438293e3295143d13d369083b3f51dded880245697119228"},{"byte_length":1658,"kind":"source","path":"src/Tables.lex.tex","sha256":"512c258b31dc405121d760e2b30599a158c4260b99c51d9e96b64d2e2bd0315e"}],"language":"1.2","lean_toolchain":"leanprover/lean4:v4.32.2","modules":[{"lean_module":"Collections.Main","module":"Main","source_path":"src/Main.lex.tex"},{"lean_module":"Collections.Measure","module":"Measure","source_path":"src/Measure.lex.tex"},{"lean_module":"Collections.Tables","module":"Tables","source_path":"src/Tables.lex.tex"}],"outputs":[{"byte_length":23443,"kind":"coverage","path":"coverage/Collections/Main.coverage.json","sha256":"e5bd60cb53b609b99ed793c0f0077553ffa20cd7f00decd7cd7c82505b370862"},{"byte_length":9436,"kind":"coverage","path":"coverage/Collections/Measure.coverage.json","sha256":"d0c3abf2f09c113c715705bb1af8ab53bb99fb48d5c75ddb576df3a40c9ca4e5"},{"byte_length":9581,"kind":"coverage","path":"coverage/Collections/Tables.coverage.json","sha256":"849e59399aea603ed9f53cf33a02d9ad7693e91458feb121432bc306ce8d7df3"},{"byte_length":11259,"kind":"declarations","path":"declarations/Collections/Main.json","sha256":"7c8d7dfcfa5829fe3096653cfd2ab02403f26a595652aacf297e4d1968530faf"},{"byte_length":479,"kind":"declarations","path":"declarations/Collections/Measure.json","sha256":"435daec0e2e5f8fe9876c1eab601a9147307953ac6c73bc955bb60bdb2f9d2bf"},{"byte_length":780,"kind":"declarations","path":"declarations/Collections/Tables.json","sha256":"7aa73cd4ff5755d20d3e83428210ed493f09d65c645146619e610392cd87f885"},{"byte_length":14135,"kind":"lean","path":"modules/Collections/Main.lean","sha256":"455526e5c3f8dc239041d1652cc455bfff6097b7f53396f9235f27c138d42318"},{"byte_length":569,"kind":"lean","path":"modules/Collections/Measure.lean","sha256":"7d5af864fa1a79d11b37dd77d3a3d330caf8ed8a76cab5049a5cb882d8c0abeb"},{"byte_length":1328,"kind":"lean","path":"modules/Collections/Tables.lean","sha256":"0b51fd70df2b936977dca55fca83a38aa0048197b139186bc14b5d49e6d394fd"},{"byte_length":10945,"kind":"lexicon-closure","path":"lexicons/Main.closure.json","sha256":"a1c60a8661b783b05f4128dc103250dc88deaf564d23437e8a4030f3c8b9194c"},{"byte_length":10948,"kind":"lexicon-closure","path":"lexicons/Measure.closure.json","sha256":"69e863120eb341c168f33e4def99553a1eb26a89f34b92767465d48d220d1f77"},{"byte_length":10947,"kind":"lexicon-closure","path":"lexicons/Tables.closure.json","sha256":"42687df845834764d29dda6bf29b12ca830f25c5f098fcb50025d7bcc148e41e"},{"byte_length":17926,"kind":"map","path":"maps/Collections/Main.map.json","sha256":"9535b4e2287fcaf6b8dff34ae2914e850b018175c821cdddc3435f4947059a45"},{"byte_length":1667,"kind":"map","path":"maps/Collections/Measure.map.json","sha256":"c2d1908a459a63579b14e6968be8fd0239cbce07ac628a57f7f808245281ca00"},{"byte_length":2627,"kind":"map","path":"maps/Collections/Tables.map.json","sha256":"1d5d5dc046a64189cd2ee431c97b8daad195d67d3c12f30f764e5f9e6cef9a95"},{"byte_length":20493,"kind":"tex","path":"modules/Collections/Main.tex","sha256":"5da0ed1c1437f937d741891494e5371b54a01d16295ce1d1405a87826d3d15fa"},{"byte_length":714,"kind":"tex","path":"modules/Collections/Measure.tex","sha256":"0ee1d42862fc24ddb8624de071a22a2f54712440d10275f524d18ff29d9dd4e6"},{"byte_length":2287,"kind":"tex","path":"modules/Collections/Tables.tex","sha256":"92a01628c5c75c23c0e57a062ae6c0043c3a876d2a0bd077eb7d965913eb6abf"}],"project":"collections","selection":["Main","Measure","Tables"],"semantic_id":"20cfa99a7560e5e0aee3082152dddb9b0cc38b52343c81a94f5b5114a8acd09f","source_id":"6726d732c25c2aa06d35af95e624fb15f778b462b017d7c4da69c20bbba4c9ac","spec":"lexlean/build-manifest/1"}
{"build_id":"196578905fbf132a72c77ba6ccd791a45e9dfbf1387a02218fff2472744e30cd","compiler":{"semantics_id":"4b3ed2378d6c43bb32a41d466cf140337e8b1cedc5e1f345aaf3395f488f63a9","version":"0.4.3"},"inputs":[{"byte_length":2684,"kind":"lexicon","path":"embedded","sha256":"3bc0fb09d706ffa7d5a1363302ea87c049acc7c7dcafde63c62682620c11be9b"},{"byte_length":14885,"kind":"lexicon","path":"embedded","sha256":"e0db021e01b91d651c43921d66f6b0023c8efbf17cac2ec53192ce5305e4e1ac"},{"byte_length":36197,"kind":"lexicon","path":"embedded","sha256":"827317cae68c162f3a96c8a8de4e53ab348e7d3724fd2b834fa85ecde1a1b392"},{"byte_length":1059,"kind":"lexicon","path":"glossary/collections.titles","sha256":"a2a85a73fd75db42fcfff198b2862bf075fc82764f943a273571a38116122084"},{"byte_length":1949,"kind":"lock","path":"lexlean.lock","sha256":"2968b3ca2a788611e2ba4e0ff298a6c9d9878dac8ba9d11d496975d807d4f66c"},{"byte_length":746,"kind":"project-config","path":"lexlean.toml","sha256":"81dc4ad6d6a4810f3ac08b5ff8984bfa9bc94dc64a2d9f97ee3f40e7343e9619"},{"byte_length":18712,"kind":"source","path":"src/Main.lex.tex","sha256":"5b38afe36e957e78b48e669790a735cfaf98e4deb2a0cd78d2a40a597b7ec6c4"},{"byte_length":580,"kind":"source","path":"src/Measure.lex.tex","sha256":"7cc7e43c15f0b893438293e3295143d13d369083b3f51dded880245697119228"},{"byte_length":1658,"kind":"source","path":"src/Tables.lex.tex","sha256":"512c258b31dc405121d760e2b30599a158c4260b99c51d9e96b64d2e2bd0315e"}],"language":"1.2","lean_toolchain":"leanprover/lean4:v4.32.2","modules":[{"lean_module":"Collections.Main","module":"Main","source_path":"src/Main.lex.tex"},{"lean_module":"Collections.Measure","module":"Measure","source_path":"src/Measure.lex.tex"},{"lean_module":"Collections.Tables","module":"Tables","source_path":"src/Tables.lex.tex"}],"outputs":[{"byte_length":23443,"kind":"coverage","path":"coverage/Collections/Main.coverage.json","sha256":"e5bd60cb53b609b99ed793c0f0077553ffa20cd7f00decd7cd7c82505b370862"},{"byte_length":9436,"kind":"coverage","path":"coverage/Collections/Measure.coverage.json","sha256":"d0c3abf2f09c113c715705bb1af8ab53bb99fb48d5c75ddb576df3a40c9ca4e5"},{"byte_length":9581,"kind":"coverage","path":"coverage/Collections/Tables.coverage.json","sha256":"849e59399aea603ed9f53cf33a02d9ad7693e91458feb121432bc306ce8d7df3"},{"byte_length":11259,"kind":"declarations","path":"declarations/Collections/Main.json","sha256":"7c8d7dfcfa5829fe3096653cfd2ab02403f26a595652aacf297e4d1968530faf"},{"byte_length":479,"kind":"declarations","path":"declarations/Collections/Measure.json","sha256":"435daec0e2e5f8fe9876c1eab601a9147307953ac6c73bc955bb60bdb2f9d2bf"},{"byte_length":780,"kind":"declarations","path":"declarations/Collections/Tables.json","sha256":"7aa73cd4ff5755d20d3e83428210ed493f09d65c645146619e610392cd87f885"},{"byte_length":14135,"kind":"lean","path":"modules/Collections/Main.lean","sha256":"455526e5c3f8dc239041d1652cc455bfff6097b7f53396f9235f27c138d42318"},{"byte_length":569,"kind":"lean","path":"modules/Collections/Measure.lean","sha256":"7d5af864fa1a79d11b37dd77d3a3d330caf8ed8a76cab5049a5cb882d8c0abeb"},{"byte_length":1328,"kind":"lean","path":"modules/Collections/Tables.lean","sha256":"0b51fd70df2b936977dca55fca83a38aa0048197b139186bc14b5d49e6d394fd"},{"byte_length":10945,"kind":"lexicon-closure","path":"lexicons/Main.closure.json","sha256":"a1c60a8661b783b05f4128dc103250dc88deaf564d23437e8a4030f3c8b9194c"},{"byte_length":10948,"kind":"lexicon-closure","path":"lexicons/Measure.closure.json","sha256":"69e863120eb341c168f33e4def99553a1eb26a89f34b92767465d48d220d1f77"},{"byte_length":10947,"kind":"lexicon-closure","path":"lexicons/Tables.closure.json","sha256":"42687df845834764d29dda6bf29b12ca830f25c5f098fcb50025d7bcc148e41e"},{"byte_length":17926,"kind":"map","path":"maps/Collections/Main.map.json","sha256":"9535b4e2287fcaf6b8dff34ae2914e850b018175c821cdddc3435f4947059a45"},{"byte_length":1667,"kind":"map","path":"maps/Collections/Measure.map.json","sha256":"c2d1908a459a63579b14e6968be8fd0239cbce07ac628a57f7f808245281ca00"},{"byte_length":2627,"kind":"map","path":"maps/Collections/Tables.map.json","sha256":"1d5d5dc046a64189cd2ee431c97b8daad195d67d3c12f30f764e5f9e6cef9a95"},{"byte_length":20493,"kind":"tex","path":"modules/Collections/Main.tex","sha256":"5da0ed1c1437f937d741891494e5371b54a01d16295ce1d1405a87826d3d15fa"},{"byte_length":714,"kind":"tex","path":"modules/Collections/Measure.tex","sha256":"0ee1d42862fc24ddb8624de071a22a2f54712440d10275f524d18ff29d9dd4e6"},{"byte_length":2287,"kind":"tex","path":"modules/Collections/Tables.tex","sha256":"92a01628c5c75c23c0e57a062ae6c0043c3a876d2a0bd077eb7d965913eb6abf"}],"project":"collections","selection":["Main","Measure","Tables"],"semantic_id":"20cfa99a7560e5e0aee3082152dddb9b0cc38b52343c81a94f5b5114a8acd09f","source_id":"6726d732c25c2aa06d35af95e624fb15f778b462b017d7c4da69c20bbba4c9ac","spec":"lexlean/build-manifest/1"}
2 changes: 1 addition & 1 deletion examples/decision-regions/expected/build/manifest.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"build_id":"bcbbbee1be6c457c145f69808ccfe8b066e0a1a797a8fea36bd485b7ef37baa7","compiler":{"semantics_id":"4b3ed2378d6c43bb32a41d466cf140337e8b1cedc5e1f345aaf3395f488f63a9","version":"0.4.0"},"inputs":[{"byte_length":2684,"kind":"lexicon","path":"embedded","sha256":"3bc0fb09d706ffa7d5a1363302ea87c049acc7c7dcafde63c62682620c11be9b"},{"byte_length":14885,"kind":"lexicon","path":"embedded","sha256":"e0db021e01b91d651c43921d66f6b0023c8efbf17cac2ec53192ce5305e4e1ac"},{"byte_length":36197,"kind":"lexicon","path":"embedded","sha256":"827317cae68c162f3a96c8a8de4e53ab348e7d3724fd2b834fa85ecde1a1b392"},{"byte_length":459,"kind":"lexicon","path":"glossary/regions.titles","sha256":"9d094ed8e67d5b66ae6e51be1d4dac31f53e72a0463c1f1944b87dcd8253ce0d"},{"byte_length":1941,"kind":"lock","path":"lexlean.lock","sha256":"18f630b552b375c80b3b9fb64ac60c25d45493c3c28935fd7b27e4cae7383f0f"},{"byte_length":813,"kind":"project-config","path":"lexlean.toml","sha256":"270f7833a107931e7b3969fc6bf40ba5320f4225a00bfea2277571f38ae09305"},{"byte_length":3308,"kind":"source","path":"src/Main.lex.tex","sha256":"24821c5ed0a8f92be88f045cc715c551091072c7dd10cf159a3032832175690f"}],"language":"1.2","lean_toolchain":"leanprover/lean4:v4.32.2","modules":[{"lean_module":"DecisionRegions.Main","module":"Main","source_path":"src/Main.lex.tex"}],"outputs":[{"byte_length":14751,"kind":"coverage","path":"coverage/DecisionRegions/Main.coverage.json","sha256":"3c2905ea2c5a5162147a760588cf7e820644ff67602eb5aa22f638745224d5f5"},{"byte_length":3284,"kind":"declarations","path":"declarations/DecisionRegions/Main.json","sha256":"8052c01304f54521e3cb467aab6ae6204b7d3a4919fe5ad41716f9a99dcde18d"},{"byte_length":4840,"kind":"lean","path":"modules/DecisionRegions/Main.lean","sha256":"1371790c5f95fc14bc7a400e7005ceb4e9d7920897cdfb965df152b7175e4008"},{"byte_length":10860,"kind":"lexicon-closure","path":"lexicons/Main.closure.json","sha256":"77bd5cea928ad1efd9a41871b4b4451e8a8337453142b2ffe37842d5aab7e2a5"},{"byte_length":6454,"kind":"map","path":"maps/DecisionRegions/Main.map.json","sha256":"d05cbada8708f4cb42eb339fd1cb1576f8cb02e74d821e46618345598807a85d"},{"byte_length":5406,"kind":"tex","path":"modules/DecisionRegions/Main.tex","sha256":"b2dccf7e2ae5a148e329b9ebf69da6f2b37ef455fcb68aba2e66fff996f95d53"}],"project":"decision-regions","selection":["Main"],"semantic_id":"41829884dc5d27c5c4d16d1feac621caed3b4de689f7ec1a0c747d4c2edbd795","source_id":"037f0d4ff278e13e4e9d5499b1167fa00a7b01ab512ceee0b0e171a8314c24ea","spec":"lexlean/build-manifest/1"}
{"build_id":"bcbbbee1be6c457c145f69808ccfe8b066e0a1a797a8fea36bd485b7ef37baa7","compiler":{"semantics_id":"4b3ed2378d6c43bb32a41d466cf140337e8b1cedc5e1f345aaf3395f488f63a9","version":"0.4.3"},"inputs":[{"byte_length":2684,"kind":"lexicon","path":"embedded","sha256":"3bc0fb09d706ffa7d5a1363302ea87c049acc7c7dcafde63c62682620c11be9b"},{"byte_length":14885,"kind":"lexicon","path":"embedded","sha256":"e0db021e01b91d651c43921d66f6b0023c8efbf17cac2ec53192ce5305e4e1ac"},{"byte_length":36197,"kind":"lexicon","path":"embedded","sha256":"827317cae68c162f3a96c8a8de4e53ab348e7d3724fd2b834fa85ecde1a1b392"},{"byte_length":459,"kind":"lexicon","path":"glossary/regions.titles","sha256":"9d094ed8e67d5b66ae6e51be1d4dac31f53e72a0463c1f1944b87dcd8253ce0d"},{"byte_length":1941,"kind":"lock","path":"lexlean.lock","sha256":"18f630b552b375c80b3b9fb64ac60c25d45493c3c28935fd7b27e4cae7383f0f"},{"byte_length":813,"kind":"project-config","path":"lexlean.toml","sha256":"270f7833a107931e7b3969fc6bf40ba5320f4225a00bfea2277571f38ae09305"},{"byte_length":3308,"kind":"source","path":"src/Main.lex.tex","sha256":"24821c5ed0a8f92be88f045cc715c551091072c7dd10cf159a3032832175690f"}],"language":"1.2","lean_toolchain":"leanprover/lean4:v4.32.2","modules":[{"lean_module":"DecisionRegions.Main","module":"Main","source_path":"src/Main.lex.tex"}],"outputs":[{"byte_length":14751,"kind":"coverage","path":"coverage/DecisionRegions/Main.coverage.json","sha256":"3c2905ea2c5a5162147a760588cf7e820644ff67602eb5aa22f638745224d5f5"},{"byte_length":3284,"kind":"declarations","path":"declarations/DecisionRegions/Main.json","sha256":"8052c01304f54521e3cb467aab6ae6204b7d3a4919fe5ad41716f9a99dcde18d"},{"byte_length":4840,"kind":"lean","path":"modules/DecisionRegions/Main.lean","sha256":"1371790c5f95fc14bc7a400e7005ceb4e9d7920897cdfb965df152b7175e4008"},{"byte_length":10860,"kind":"lexicon-closure","path":"lexicons/Main.closure.json","sha256":"77bd5cea928ad1efd9a41871b4b4451e8a8337453142b2ffe37842d5aab7e2a5"},{"byte_length":6454,"kind":"map","path":"maps/DecisionRegions/Main.map.json","sha256":"d05cbada8708f4cb42eb339fd1cb1576f8cb02e74d821e46618345598807a85d"},{"byte_length":5406,"kind":"tex","path":"modules/DecisionRegions/Main.tex","sha256":"b2dccf7e2ae5a148e329b9ebf69da6f2b37ef455fcb68aba2e66fff996f95d53"}],"project":"decision-regions","selection":["Main"],"semantic_id":"41829884dc5d27c5c4d16d1feac621caed3b4de689f7ec1a0c747d4c2edbd795","source_id":"037f0d4ff278e13e4e9d5499b1167fa00a7b01ab512ceee0b0e171a8314c24ea","spec":"lexlean/build-manifest/1"}
Loading