Category Archives: dsl

ScotchBuilder with Scala 2.8

While writing my internal SQL DSL example I stumbled upon this blogpost about a Type-safe Builder Pattern in Scala a couple of times. One of the issues I have with that code is the unnecessary use of mutable state in … Continue reading

Posted in dsl, scala | 2 Comments

external DSLs with scala

Following up on my previous post on writing an internal SQL-like DSL for Scala I decided to bite the bullet and implement a ‘real’ parser for a subset of the SQL language to create the object tree from a SQL-like … Continue reading

Posted in dsl, scala | 3 Comments

Internal DSLs with Scala

I’ve been playing around with Scala again lately. Writing a (internal) DSL or a fluent api was still on todo-list. Instead of writing some arbitrary language for a made-up domain I decided to pick a language and a domain I … Continue reading

Posted in dsl, scala | 6 Comments