Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Use tombstone notation. If your solution would require a particular thing to be coded, explain why and diagram it . You cannot assume you will

Use tombstone notation. If your solution would require a particular thing to be coded, explain why and diagram it. You cannot assume you will be able to buy something. When you make this decision, you should justify it and describe how hard this thing would be to code. Do not even attempt to justify coding something in machine language.
1. You have machine M, and the executable binary for a C->M host compiler (ie: it is written in M). You also have the source for Dog->C compiler in C. Show what you have with tombstone diagrams
2. You write an application called Pr2 in C. Show all steps until generative execution. Use tombstone notation.
3. Redo showing all steps for interpretive execution (note you dont have an interpreter yet, so assume you have it for this step). Use tombstone notation.
4. You then write the same application in Dog. Show all that is needed for any execution. Use tombstone notation.
5. After doing the above, you need to run both projects on small-resource machine N. Assuming that N is too small to run any translators, what can you do? Show with diagrams. That is, you want to run it on N but cannot compile it on that machine. Use tombstone notation.
6. Now your N is larger (maybe you bought more memory) and you can now start running compilation on N, and you want to implement a compiler somehow rather than buy (maybe no one sells compilers for N), what can you do? Show all steps with diagrams. Use tombstone notation.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Data Access Patterns Database Interactions In Object Oriented Applications

Authors: Clifton Nock

1st Edition

0321555627, 978-0321555625

More Books

Students also viewed these Databases questions

Question

What is one advantage and one disadvantage of the Sharpe ratio?

Answered: 1 week ago

Question

How do Excel Pivot Tables handle data from non OLAP databases?

Answered: 1 week ago