Name: essential-interpreters
Owner: Underscore
Description: Patterns for building interpreters in Scala
Created: 2015-02-24 14:57:11.0
Updated: 2018-05-21 01:06:56.0
Pushed: 2017-07-28 00:48:46.0
Homepage: http://underscore.io/
Size: 3152
Language: Scala
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
Written by Dave Gurnell and Noel Welsh. Copyright Underscore Consulting LLP, 2015-2017.
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.
Essential Interpreters explores the functional programming uber-pattern, the interpreter, showing many different techniques for building interpreters in Scala.
Advanced Scala uses Underscore's ebook build system.
The simplest way to build the book is to use Docker Compose:
brew install docker-compose
on OS X; or download from docker.com); andgo.sh
(or docker-compose run book bash
if go.sh
doesn't work).This will open a bash
shell running inside the Docker container which contains all the dependencies to build the book. From the shell run:
npm install
; and thensbt
.Within sbt
you can issue the commands pdf
, html
, epub
, or all
to build the desired version(s) of the book. Targets are placed in the dist
directory: