Parsing from scratch - Part 4

scalaparserseries

Until now, we implemented a few relatively simple parsers; for parsing dates and hex colors. In this post, we are going to build a parser for parsing configuration key value pairs. This is a bit more …

Read more →

Parsing from scratch - Part 2

scalaparserseries

Having learnt how to write a simple parsing library from scratch, it is time to put it to the test by writing simple parsers. In this post, we will write a few high-level parsers - dates of the format …

Read more →

Parsing from scratch - Part 1

scalaparserseries

Parsing from scratch is a powerful technique that allows you to build custom parsers for your specific needs. In this series, we will explore the basics of parsing and how to implement a simple parser …

Read more →

The Builder Macro

scalabuildermacro

Some astute readers of the previous post on builder pattern highlighted the verbosity of the pattern. The builder pattern is a powerful pattern but comes with the baggage of boilerplate code. One even …

Read more →