We are here with you hands in hands to facilitate your learning & don't appreciate the idea of copying or replicating solutions. Read More>>

Looking For Something at vustudents.ning.com? Click Here to Search

www.bit.ly/vucodes

+ Link For Assignments, GDBs & Online Quizzes Solution

www.bit.ly/papersvu

+ Link For Past Papers, Solved MCQs, Short Notes & More


Dear Students! Share your Assignments / GDBs / Quizzes files as you receive in your LMS, So it can be discussed/solved timely. Add Discussion

How to Add New Discussion in Study Group ? Step By Step Guide Click Here.

Assignment No. 04 Semester: Spring 2014 Compiler Construction CS606 Total Marks: 20 Due Date: 24/07/2014

Question No 1:                                                                                                                       Marks 20

Consider the following grammar productions. Suppose you have an attribute E.type which can be set to either INT or BOOL.  Assume that the type of an expression is set to INT if an error is detected and you have a routine msg() similar to printf() that can be used to print error message.

 

E  à   CONST                               {E.type=??}

          | ID                                      {E.type =getType(ID.name);}

          | E1 +E2                              {E.type=??}

          | E1< E2                              {E.type=??}

          | E1= =E2                            {E.type=??}

          | (E1)                                    {E.type=??}

 

Provide the parse tree for the expression (5 < 2) = = (4 + x).

+ How to Follow the New Added Discussions at Your Mail Address?

+ How to Join Subject Study Groups & Get Helping Material?

+ How to become Top Reputation, Angels, Intellectual, Featured Members & Moderators?

+ VU Students Reserves The Right to Delete Your Profile, If?


See Your Saved Posts Timeline

Views: 2125

.

+ http://bit.ly/vucodes (Link for Assignments, GDBs & Online Quizzes Solution)

+ http://bit.ly/papersvu (Link for Past Papers, Solved MCQs, Short Notes & More)

+ Click Here to Search (Looking For something at vustudents.ning.com?)

+ Click Here To Join (Our facebook study Group)

Attachments:

Replies to This Discussion

kal submit ki hai aj phr aa gi 

hahahaha its vu yrrrrrrr be relax

agr kisi ne cs606 ki assignment kr li hy to plz share kr den.....

any one start the discussion, from which lecture it is how to solve it....????

ya subject tu upper say guzar raha hai...na koi theory na koi concept....

ri8, kch smjh he nae aa rhi is subject ki,......

han jee sunbal jee  kia kea jay phir

lecture number 32

wo bhi sun lia hy pr us main asa kuch nahi hy no example 

kia ye solution theek hay

Attachments:

mujy nahi lag  raha yeh tu ap ny asy hi draw ker dia

RSS

© 2020   Created by + M.Tariq Malik.   Powered by

Promote Us  |  Report an Issue  |  Privacy Policy  |  Terms of Service

.