TDT4165: Programming Languages
# Definitions
## Syntax
How legal programs are defined
## Semantics
Defines what programs do when executed.
## Syntactic sugar
Adds a shorthand in the syntax, but does not create a new semantic.
## Linguistic abstraction
Abstraction and addition to a language, by using already existing concepts of the language