lark-parser / lark-parser/lark

Grammar linter

Open
#331 6 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement good first issue
Dominant language
Python
Stars
6k
Forks
523
Avg merge
3d 22h
Merged PRs (30d)
2

Description

I get a lot of use from linters in programming python generally, such as pylint, flake8, mypy, bandit.

Would it be possible to provide linters for lark grammars, which would give suggestions on constructing good grammars?

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

The issue proposes linters for Lark grammars but does not name files, tests, or specific lint rules. Start by reviewing the repository's grammar and parser tooling, then define the intended suggestions and scope before implementation. Done should include an agreed linter design and corresponding validation.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
compilers, tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.