Question: please provide me correct and complete answer. Please provide code , diagrams etc. whatever is required You have a C compiler and you are running

please provide me correct and complete answer. Please provide code , diagrams etc. whatever is required
You have a C compiler and you are running it on computer M (machine language M). You have the executable host and you have the C source.
You created a new language A.
1. You want to run program Pr written in the new language A using an interpreter. You need to write the interpreter. Show the new interpreter, starting withe source you write all the way until program P2 can be executed.
2. Suppose you want to have a compiler for A running on M. Show what needs to be done with minimal efforts.

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 Programming Questions!