Build Your Own Programming Language with Scala
lihaoyi.com
lihaoyi.com
“ One strength of Scala is implementing programming languages. Even if your goal is not to implement an entirely new programming language, these techniques are still useful: for writing linters, program analyzers, query engines, and other such tools. ”