Skip to content

Build a Linter

Build an ESLint/Pylint-style static analyzer: tokenize source, build an AST, walk it with visitor pattern, check naming/complexity/unused names/dead code, parse suppressions, load config from pyproject.toml, emit human/JSON/GitHub formats. The toolchain backbone of every modern codebase.

intermediate10 lessons4 chapters10 graded exercisesPython

No sign-up needed for lesson 1 · certificate on completion · sign up to save progress

What you’ll have built

Chapter by chapter. Every step is a graded exercise.

  • Lexical Analysis
  • AST & Visitors
  • Common Rules
  • Configuration & Output
Starts in Python — solve in the language you choose in the editor, same tests either way.

Curriculum

4 chapters, 10 lessons. Each lesson is a short read, one graded exercise, and a quiz.

  1. 1What Is a Linter?Read · exercise · quiz
  2. 2TokenizationRead · exercise · quiz
  3. 3Comments & PragmasRead · exercise · quiz
Loading reference solution…