日本語

Domain Specific Languages in Scala

I will introduce some practical examples of DSLs: regular expressions, parser combinators, a tensorflow-like language to describe vector & matrix computations. We will use these examples to discuss some advanced topics in domain specific language construction in Scala:

  1. When do you use applicative and monadic style for DSLs?
  2. When should your DSL be lazy?
  3. How to safely observe sharing (recursive definitions)?
  4. How to make your DSL be extensible?
  5. How do you use Scala’s type system to ensure type safety of a DSL?
Session length
90 minutes
Language of the presentation
English
Target audience
Intermediate: Requires a basic knowledge of the area
Who is your session intended to
People who dabble in functional programming in Scala and who want to get better at writing sophisticated embedded domain specific languages. General and domain-specific library developers.
Speaker
Alexander Konovalov (Compellon, Analytics Engineer)
Contributes
  • I am a contributor and a team member of Scalaz.

voted / votable

Candidate sessions