Interpreters and You
Slides, code samples, and notes on building programs with the interpreter pattern in Scala.
Copyright 2018 Dave Gurnell.
/slides directory contains the slides used in my presentation at Scala Days 2018.
/code directory contains different sample interpreters, implemented in reified and Church encoded styles.
/text directory contains a short guide to writing interpreters in Scala. This is currently a work-in-progress that I hope to flesh out to cover the same content as the talk.
Building the Guide
Install Docker and use
go.sh to boot an instance with most of the right dependencies:
bash$ cd text bash$ ./go.sh
yarn to install the remaining dependencies:
docker$ npm intall -g yarn docker$ yarn
sbt to build the guide. Choose one of the following commands:
docker$ sbt pdf docker$ sbt html docker$ sbt epub docker$ sbt all