Parsing
We start building an HTML template language, implementing the parser in a test-driven way.
Episode 203 · May 15 2020
We build an HTML template language that supports proper escaping and has good error messages.
8 Episodes · 3h02min
We start building an HTML template language, implementing the parser in a test-driven way.
Episode 203 · May 15 2020
We add proper parse errors with source positions, making it much easier to diagnose problems.
Episode 204 · May 22 2020
We start implementing the evaluation part of our template language.
Episode 205 · May 29 2020
We annotate the syntax tree with source positions, which allows us to improve the errors during evaluation.
Episode 206 · Jun 05 2020
We add parsing for HTML attributes and escape them properly during evaluation.
Episode 207 · Jun 12 2020
We add for loops to our parser, making sure to give good error messages for syntax errors.
Episode 208 · Jun 19 2020
We implement the evaluation of for loops using tests for success and failure cases.
Episode 209 · Jun 26 2020
We conclude this series by fixing some minor bugs and adding member expressions to our template language.
Episode 210 · Jul 03 2020