Build a YAML Parser
Build a YAML 1.2 parser: indentation-based block style, flow style for inline data, scalar type inference (and the Norway problem), multi-line literal/folded strings, anchors + aliases for DRY configs, and the format behind Kubernetes/Helm/Ansible/GitHub Actions.
advanced10 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.
- YAML Basics
- Block Style
- Flow & Tags
- Production
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.
- 1What YAML IsRead · exercise · quiz
- 2ScalarsRead · exercise · quiz
- 3Indentation RulesRead · exercise · quiz
Loading reference solution…