1/7
Looks like no tags are added yet.
Name | Mastery | Learn | Test | Matching | Spaced | Call with Kai | Chat |
|---|
No analytics yet
Send a link to your students to track their progress
Syntax
Defines how programs are written. It is the grammar of a programming language. The form or structure of expressions or statements for a given programming language
Concrete Syntax
Abstract Syntax
Types of Syntax
Concrete Syntax
The exact notation used by programmers.
Abstract Syntax
Simplified structural representation, removing surface details (like parentheses, commas, keywords).
BNF (Backus-Naur Form)
Parse Tree
Ambiguity in Syntax
Tools for defining syntax.
BNF (Backus-Naur Form)
A formal grammar notation.
Parse Tree
Show how source code conforms to grammar rules.
Ambiguity in Syntax
When a string can be parsed in more than one way.