Build domain specific languages (DSLs) using Java's most popular functional programming Scala. This book introduces the basics of Scala and DSLs using a series of practical examples. In Practical Scala DSLs , you’ll learn to create pragmatic and complete code examples that explain the actual use of DSLs with a web API and microservices; a custom language; a mobile app; a Forex system; a game; and cloud applications. At the end of this unique book, you’ll be able to describe the differences between external and internal DSLs; understand when and how to apply DSLs; create DSLs using Scala; and even create a DSL using another programming language. What You'll Learn
Who This Book Is For Experienced Java coders with at least some prior experience with Scala. You may be new to DSLs.
This book is horrible. As background, I've done a fair bit of work with programming languages in the past. I thought I should read this to see what is current. But, as far as I can tell, the author is writing about a topic he doesn't understand. His sentences are incoherent mish-mashes of buzz words. He repeatedly demonstrates he doesn't know the difference between lexing & parsing. The book is rated "Intermediate-Advanced" which is appropriate because a reader needs a strong background to sort out what the author is saying. Also, he should have hired an editor.
To be fair, I'm just short of being half way through the book. I've skimmed a little of the rest, and it's not promising. I'll update the review if/when finished.