Question: 2) You're thinking about designing a new language. Suppose that your new language has only the three variables a, b, and c, all of type

 2) You're thinking about designing a new language. Suppose that your

2) You're thinking about designing a new language. Suppose that your new language has only the three variables a, b, and c, all of type int. a) Give an EBNF grammar for variable declarations that does not allow redeclaration of variables. b) How does adding one more variable impact the number of productions, be specific? c) In your language you would like to use both dynamic scoping and static typing. State whether this is reasonable and give a brief explanation for your answer. 2) You're thinking about designing a new language. Suppose that your new language has only the three variables a, b, and c, all of type int. a) Give an EBNF grammar for variable declarations that does not allow redeclaration of variables. b) How does adding one more variable impact the number of productions, be specific? c) In your language you would like to use both dynamic scoping and static typing. State whether this is reasonable and give a brief explanation for your

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!