← All Learning Paths

Language Tooling Engineer

Build developer tooling: parsers and tokenizers, config and expression parsing, code transformations, and compiler diagnostics.

technicaladvanced9 nodes12h total

Path overview

构建开发者工具:解析器与分词器、配置与表达式解析、代码转换与编译器诊断。

Build developer tooling: parsers and tokenizers, config and expression parsing, code transformations, and compiler diagnostics.

  1. Reconstruct the reasoning behind "Type-Safe Data Transformations with TypeScript" by tracing "Branded Types: Distinguishing Values That Look the Same" to the failure it prevents in language tooling engineer systems.

    Completion criteria: Attach a decision log for "Type-Safe Data Transformations with TypeScript": the "Branded Types: Distinguishing Values That Look the Same" section, one rejected alternative, and the diff of the file you changed.

    Next step: Arithmetic Expression Parser

    ⏱ 1h

  2. Run the language tooling engineer snippet "Arithmetic Expression Parser", capture stdout, and show which line demonstrates the documented behavior: "Tokenize and evaluate arithmetic expressions with precedence, parentheses, unary signs,".

    Prerequisites: Type-Safe Data Transformations with TypeScript

    Completion criteria: Change one constant in "Arithmetic Expression Parser", rerun, and attach both stdout captures plus a one-line diff explaining what moved.

    Next step: INI File Parser

    ⏱ 0.75h

  3. Adapt "INI File Parser" to a second input and compare the new output with the behavior described in "Parse INI sections and key-value pairs into a sorted map, trimming quotes and rejecting".

    Prerequisites: Arithmetic Expression Parser

    Completion criteria: Paste the command, the exit code, and the output line matching "Parse INI sections and key-value pairs into a sorted map, trimming quotes and rejecting"; then show a second run with a changed parameter.

    Next step: Env File Parser

    ⏱ 0.75h

  4. Execute "Env File Parser", change one constant, and describe how the output diverges from "Parse dotenv files with export prefixes, quoted values, inline comments, and strict key".

    Prerequisites: INI File Parser

    Completion criteria: Save two runs of "Env File Parser" side by side — the original input and one changed value — and annotate the line where the output diverges.

    Next step: Regular Expression Tester

    ⏱ 0.75h

  5. Feed a representative input into "Regular Expression Tester" and verify "regex, text, matching" by hand.

    Prerequisites: Env File Parser

    Completion criteria: Run two inputs through "Regular Expression Tester", record both outputs, and show one case where "regex, text, matching" changes as expected.

    Next step: Glob Pattern Tester

    ⏱ 0.25h

  6. Run two different inputs through "Glob Pattern Tester" and show where the outputs diverge.

    Prerequisites: Regular Expression Tester

    Completion criteria: Run two inputs through "Glob Pattern Tester", record both outputs, and show one case where "Compile glob patterns with *, **, ?, character classes, and braces into regex and test them" changes as expected.

    Next step: JSON to TypeScript

    ⏱ 0.25h

  7. Use "JSON to TypeScript" on a language tooling engineer sample, then check "json to code" against your manual result.

    Prerequisites: Glob Pattern Tester

    Completion criteria: Paste two input/output pairs from "JSON to TypeScript" and annotate the one where "Generate TypeScript interface and type declarations from a sample JSON payload, inferring" changes the result.

    Next step: Parse Arithmetic with Precedence

    ⏱ 0.25h

  8. In the "Language Tooling Engineer" path, implement "Parse Arithmetic with Precedence" so JSON object: { expression: string } yields {ast:{op:+,left:{value:1},right:{op:*,left:{value:2},right:{value:3}}}, including the second sample's edge case.

    Completion criteria: Show the test run for "Parse Arithmetic with Precedence" with two passing samples and one deliberately failing input, with the expected error.

    Next step: Capstone: Language Tooling Engineer

    ⏱ 0.5h

  9. Deliver the "Build a Scaffold Codegen CLI" blueprint with "Hook runner" working and "Output writer" recorded as evidence.

    Prerequisites: Parse Arithmetic with Precedence

    Completion criteria: Deliver "Hook runner" and paste the test output where the acceptance test passes; include the test name and command.

    Next step: Run the capstone's tests, publish the repository, and demo it to a reviewer.

    ⏱ 4h