Abstract
In this chapter we reintroduce the objects of the preceding chapters as components of a functional programming language. Section 1 presents a (tentative) concrete syntax of finite and infinite data structure definitions, using either enumeration, or two powerful constructors: grafting and recursion. The classical product, sum, and list constructors are derived from those two constructors in a simple way. Section 2 introduces a concrete syntax for the two types of constants of the language: the states, which are enumerations of events, and the sequential algorithms, which are programs manipulating states,and are written using reading (“valof”) and writing (“output”) instructions.We show how to compile sequential algorithms (the “functional” constants) into states (the “basic” constants). Section 3 introduces the algebra of expressions, which is based on the constants of Section 2, and on chapter’s 1 categorical combinators. Section 4 introduces two different possible operational semantics: CDS01 and CDS02. Oneof them, CDS01, is formally described in Section 5, using conditional rewrite rules in the style of Structural Operational Semantics [PloOp].