Compiler - Parser Rule

1 - About

A parser rule is a rule that defines the structure of the parse tree.

The parser uses them to build the parse tree.

The lexer rules specify the tokens whereas the parser rules specify the tree.

3 - Syntax

Parser rule names always start with a lowercase letter (

whereas Lexer rule names (known als as Token name) must begin with an uppercase letter.


Data Science
Data Analysis
Data Science
Linear Algebra Mathematics

Powered by ComboStrap