Semantics: What does each construct mean?
Examples of legal syntax and nonsensical semantics:
- This water is triangular.
- Colorless green ideas sleep furiously. — Noam Chomsky, Syntactic Structures
There are several different ways to describe or specify the semantics of programming language constructs.