This section gives a basic understanding of Scheme, the language used in this book. It also goes through the three essential components of any programming language:-
In Scheme, basic expressions can be created simply by using primitive functions. For example,
Expressions can be combined together to obtain combinations. For example,
At this stage, abstractions can be thought of simply as named functions and values. For example,
Abstractions can be used to build more complex programs easily within human comprehension. Further, defining absractions help build the REPL enviroment in Scheme.
Evaluation order is an essential lesson to be learnt from this section. Simply speaking, this deals with how compound expressions are evaluated in Scheme. Abstractions are substituted with their primitive-level definitions and evaluated. There are two types of evaluation order.
Both evaluation orders are studied in the exercises of this section.
This section also emphasizes on the difference between imperative and declarative knowledge. Declarative knowledge is usually what math concerns with - the description of properties. Whereas, computer programs deal with imperative knowledge - procedure to obtain something. To demonstrate this, we write LISP code to compute square root of a number as opposed to mathematical description which simply states such that and but does not actually say anything about obtaining the square root.