Programming Language Semantics


The previous slide makes the distinction between the syntax of a programming language—what the language constructs look like—and its semantics—what the language constructs actually do. Compared to syntax, semantics is more difficult to specify. There are several ways to specify programming language semantics: Different formal methods are available, with the choice of method depending on its intended use. Some of them and their references are listed below: