Jump to content

Syntax tree

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Mhussain 94 (talk | contribs) at 17:22, 27 March 2014 (My Idea About Syntax Tree Personally Experienced during my course project under Professor Subhajit Roy(one of the main figures in compilers) at Department of CSE, IIT KANPUR). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Syntax tree may refer to:

Syntax Tree is the standard intermediate representation for most of the compilers. It comes in the semantic analysis phase of compilers. Syntax tree is used in semantic analysis via syntax directed translation. SYntax tree can also be used to formally represent a programming language. We can also do type checking from syntax tree by doing the depth first search of syntax tree. Thus we can manipulate the synthesized and inherited attributes while doing depth first search on syntax tree. We can also do implicit typecasting by doing depth first search on symbol table.