Image credit 2018.flatmap.no
We have another great talk for you from flatMap Oslo 2018. This time is it presented by Doug Clinton and Martin Carolan on 'Droidspeak - a A DSL for constructing binary decision trees in a friendly way', make sure to stay up to date with flatMap Oslo to keep in the know for next years dates.
'Domain specific languages (DSLs) are an effective way to bridge the gap between business requirements and their implementation. In this talk we present a DSL, Droidspeak, that we created to conveniently express decision tree paths and compile them into provably complete decision trees.
On a recent project, our client provided us with detailed decision trees describing the decision-making flow of a human operator. Creating a DSL to represent these decision trees gave us several advantages. As well as leading to compact code, with provably correct output, this approach was invaluable for client communication, as we could automatically generate visual representations and documentation.
We’ll talk about the journey we followed from initially coding the business logic directly in Scala, the problems we encountered with that, and how that led us to develop Droidspeak. Doug Clinton.'