Skip to content

Opening book details…

About this document

Constructing Syntax Trees in Compilers by mangalasery is a document available to read on EtoBox.

The document discusses syntax trees and directed acyclic graphs (dags) used to represent expressions in a programming language. It describes: 1) How syntax trees simplify parse trees by collapsing chains of single productions and not including operators and keywords as leaves. 2) The bottom-up construction of syntax trees for expressions using node creation functions like mknode() and mkleaf(). 3) How a syntax-directed definition uses the grammar to schedule calls to these functions and construct the t

Author
mangalasery
Language
EN