For most .NET developers XML files are the sole means of enabling users to extend their application, why mot - it’s a “human readable” extendible format - after reading this book I know better…
in DSLs in BOO Oren Eini a.k.a Ayende Rahien (or is it the other way around) explains what are DSLs (Domain specific Languages) and shows how to easily build one using the BOO and plain old .NET.
This book is an easy read and overall makes the subject of creating a new language seems simple and easy – while reading this book I felt as if I was pair programming with the author.
The book starts with the all too familiar introduction to domain specific languages – but quickly gets down to business of creating new languages using BOO.
The author sets a good rhythm – each feature and use case are explained just enough so you won’t get overwhelmed with information but somehow manages not to get you bored.
As can be understood from its name this book is about creating DSLs using BOO programming language, this also means that this book is about internal DSLs – languages created on top of existing languages and not creation of new fully functional programming languages – which is exactly what I need in my daily work. The examples in the book use RhinoDSL (also created by Ayende) to create the new languages and it has its own chapter (#7) that explains all about it.
The book can be divided into three parts –
I enjoyed reading DSLs in BOO, the minuet I’ve finished reading it I’ve used what I’ve learnt in my current project – how cool is that!
Labels: .NET, Book review, DSL