Repository navigation
Conversation
The command parses an export into the term store and reports the counts. scripts/arena-parse.sh runs it on every Arena test, and a CI job runs the script on the downloaded Arena.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Refers to #2.
Summary
This PR adds
rulean check --parse-only. The command parses an export into the term store and prints the counts of names, levels, expressions and declarations, the store memory and the parse time. It does not type check. Without--parse-only,checkstill declines with exit code 2 until M2.A parse reject exits with code 4. The error message gives the line and the kind of the error from
rulean-format.Arena parse job
scripts/arena-parse.shrunsrulean check --parse-onlyon every test of the Lean Kernel Arena and prints one line for each test that does not parse. The newarena parseCI job downloads the Arena withscripts/arena-fetch.sh, runs the script, and then runs the Arena test ofrulean-formaton the same files. The job depends on arena.lean-lang.org, so it is not a required check.Checks
cargo test --workspacepasses.cargo clippy --workspace --all-targets -- -D warningspasses.