Computer Science, asked by prabahkaran1982, 9 hours ago

Draw the syntax tree and DAG for the following expression: (a*b)+(c-d)*(a*b)+b

Answers

Answered by bk738909
8

question of thes answer

Attachments:
Answered by shilpa85475
0

Explanation:

A summary syntax tree (AST) is a manner of representing the syntax of the program as a hierarchical tree-like shape.

This shape is used for producing image tables for compilers and later program generation.

The tree represents all the constructs withinside the language and their next rules.

Abstract syntax bushes are used to symbolize the shape of a program's supply program for the compiler to use.

A summary syntax tree is typically the end result of the syntax evaluation segment of a compiler.

Parse tree is a graphical illustration of the alternative manner in a derivation.

A syntax tree is the compact shape of a parse tree.

Each indoors node represents a grammar rule.

Parse bushes offer each function statistics from the actual syntax.

Similar questions