Thursday, March 24, 2016

Explain Syntax - Directed translation

Syntax - Directed translation  : Syntax - directed translation schemes to describe the output to generate for each input construct. A syntax - directed translation is merely a CFG in which a program fragment called an output action  ( or sometimes a semantic action or semantic rule) is associated with each production for example, suppose output action is, associated with production A tensto XYZ. The action is executed whenever the syntax analyzer recognizing in its input a sub - string w which has a derivation of the form A or  XYZ or w.

The syntax is :

Input string tensto parse tree tensto dependency graph tensto evaluation order for semantic rules. 


If You want to learn about the technology, computer science & engineering, web programming, freelancing, earning please click here :CSE SOLVE

Related Posts:

0 comments:

Post a Comment