lambdaclass / lambdaclass/lambda_compiler_kit
refactor: remove unnecessary import of Parser.lean from Semantics.lean
Nobody has claimed this yet.
- Dominant language
- Lean
- Stars
- 2
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
Problem
Lck/Regex/Semantics.lean imports Parser.lean unnecessarily. Semantics should depend only on Syntax.lean — pulling in the parser creates an unwanted coupling and increases compile times for anything that imports Semantics.lean.
Expected fix
Remove the import Lck.Regex.Parser from Semantics.lean and verify that the file still compiles.
References
- Flagged by AI code review on PR #9
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Open Lck/Regex/Semantics.lean and inspect its imports, starting with the dependency on Lck/Regex/Parser. Remove the unnecessary import and verify that Semantics.lean still compiles; done means the file builds without the parser dependency.
Written by the indexing model from the issue text.
Assessment
- Domain
- compilers
- Issue type
- Refactor
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 72/100