Syntax and Semantics
Copyright 1997 by John Lewis and William Loftus. All rights reserved.
The syntax of a language defines how you can put symbols, reserved words, and identifiers together to make a valid program
The semantics of a language construct is the meaning of the construct; it defines its role in a program
A syntactically correct program does not mean it is logically (semantically) correct
A program will always do what we tell it to do, not what we meant to tell it to do