CHAPTER 11Language-OrientedProgramming

In this chapter, you will first take a look at what I mean by language-oriented programming, a term that has been used by many people to mean different things. I'll also briefly discuss its advantages and disadvantages. You'll then look at several different approaches to language-oriented programming in F#. These techniques include using F# literals to create "little languages," using F# quotations, and creating a parser using fslex.exe and fsyacc.exe, which are themselves little languages.

What Is Language-Oriented Programming?

Although people use the term language-oriented programming to describe many different programming techniques, the techniques they refer to generally share a common theme. It's quite ...

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

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.