lambdaclass / lambdaclass/lambda_compiler_kit

refactor: remove unnecessary import of Parser.lean from Semantics.lean

Open Beginner friendly
#31 0 comments 0 reactions 0 assignees View on GitHub

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.