Week3

Backus Naur form - A notation to describe syntax and grammars of languages

Program
: StatementList
;

Statement
: BlockStatement
| IfStatement
| FunctionDeclaration
  ...
;

FunctionDeclaration
: def Identifier ( Arguments ) BlockStatement
;

Parsers 1. Handwrittern - Recursive descent parsers 2. Automatically generated - syntax

Letter - A syntax for a programming language with functional heart and OOP support.