Labs ICT
โญ Pro Login

Context-Free Grammars

Formal grammars for describing programming language syntax

Formal Grammars

Context-Free Grammars (CFG) formally describe the syntax of programming languages. They define what constitutes a valid program.

Grammar Components

Grammar Types

๐Ÿงช Quick Quiz

What type of grammar is used to describe programming language syntax?