Syntax
Symbols for building words
Structure of words
Structure of well formed phrases
Structure of sentences
Only syntactically correct programs also have a semantics
Arithmetic: :
Symbols: 0-9, + , -, *, ?, ( , )
Words: Numerals built from symbols
Phrases: Arithmetic expressions
Sentences: Phrases
Previous slide
Next slide
Back to first slide
View graphic version