CHAPTER 9Introducing Language-Oriented Programming

In Chapters 3, 4, and 6 we covered three well-known programming paradigms in F#: functional, imperative, and object-oriented programming. In this chapter, we cover techniques and constructs related to what is essentially a fourth programming paradigm, which we call language-oriented programming. The word language can have a number of meanings in this context. For example, take the simple language of arithmetic expressions and algebra that you learned in high-school mathematics, made up of named variables such as x and y and composite expressions such as x+y, xy, -x, and x2. For the purposes of this chapter, this language can have a number of manifestations:

  • One or more concrete representations ...

Get Expert F# now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.