Question: 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

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!