3. Parser and Compiler

The PDR executes models. A model is written in the Perspectives Language and stored as a file with the extension .arc. We call those file source texts. A source text cannot be interpreted directly by the PDR: we first have to convert it to a machine-readable form (a .json file in a particular format). In the next chapter we explain how to interpret a source text; that is, how we as humans can attribute meaning to a source text. In the chapter that follows, we explain how the PDR parses a source text and compiles a machine readable version out of it.