Week 1.1(b): Syntax Definition

Eelco Visser
Homework
September 03, 2021

In this set of assignments, published on WebLab, we exercise syntax definition in SDF3 to define the structure and notation of programs following the material of Lecture 2.

The template for the assignments this week is: given this (fragment of a) language, provide a syntax definition for it. We give a couple of examples. In the exam we will test your skills in this department. So, do exercise your understanding of syntax definition by creating syntax definitions for all the languages you encounter.