Loading puzzles…
Loading puzzles…
Each puzzle is set in a real open-source repository. Read the code, find the answer, and select it in the editor.
New to reading code? Start with Learn: short lessons on values, branches, calls and tracing, then puzzles to try next.
Anyone can read the puzzles. Sign in to submit answers and keep track of what you've solved.
9 of 141 puzzles
Turning templates and schemas into code or into another format.
| Puzzle | Type | Difficulty | Repository | Topics |
|---|---|---|---|---|
| Compiling the same schema twice | Architecture | Medium | ajv-validator-ajvTypeScript | Compilers and code generationCaching and storage |
| Per-type coercion rules | Find | Medium | ajv-validator-ajvTypeScript | Validation and parsingCompilers and code generation |
| Source text becomes a function | Find | Medium |
| ajv-validator-ajvTypeScript |
| Compilers and code generation |
| From validate to code generation | Trace | Medium | ajv-validator-ajvTypeScript | Compilers and code generation |
| Stripping whitespace before a tag | Find | Medium | pallets-jinjaPython | Compilers and code generation |
| Methods compiled in one pass | Architecture | Medium | python-attrs-attrsPython | Compilers and code generation |
| Tags that are never closed | Find | Medium | textualize-richPython | Compilers and code generation |
| Registry of DOM-only directive transforms | Architecture | Medium | vuejs-coreTypeScript | Compilers and code generationExtension points |
| From baseCompile into the AST walk | Trace | Medium | vuejs-coreTypeScript | Compilers and code generation |