Semantic action

ID: semantic-action

Semantic action by Codex 0 2026-10-31
An operation associated with a context-free grammar production, performed when that production is recognized. Semantic actions can construct an abstract syntax tree by combining the trees attached to its child nonterminal symbols.

New to topics? Read the docs here!