Table of Contents

 

Copyright

Brief Table of Contents

Table of Contents

Preface

Acknowledgments

About this Book

About the Author

About the Cover Illustration

Chapter 1. What are domain-specific languages?

1.1. Striving for simplicity

1.1.1. Creating simple code

1.1.2. Creating clear code

1.1.3. Creating intention-revealing code

1.2. Understanding domain-specific languages

1.2.1. Expressing intent

1.2.2. Creating your own languages

1.3. Distinguishing between DSL types

1.3.1. External DSLs

1.3.2. Graphical DSLs

1.3.3. Fluent interfaces

1.3.4. Internal or embedded DSLs

1.4. Why write DSLs?

1.4.1. Technical DSLs

1.4.2. Business DSLs

1.4.3. Automatic or extensible DSLs

1.5. Boo���s DSL capabilities

1.6. Examining DSL examples

1.6.1. Brail

1.6.2. Rhino ETL

1.6.3. Bake (Boo Build System)

1.6.4. Specter

1.7. Summary

Chapter 2. An overview of the Boo language

2.1. Why use Boo?

2.2. Exploring compiler extensibility

2.3. Basic Boo syntax

2.4. Boo���s built-in language-oriented features

2.4.1. String interpolation

2.4.2. Is, and, not, and or

2.4.3. Optional parentheses

2.4.4. Anonymous blocks

2.4.5. Statement modifiers

2.4.6. Naming conventions

2.4.7. Extension methods

2.4.8. Extension properties

2.4.9. The IQuackFu interface

2.5. Summary

Chapter 3. The drive toward DSLs

3.1. Choosing the DSL type to build