Describe language processing activities, Computer Engineering

Assignment Help:

Describe language processing activities?

There are two different kinds of language processing activities:

a. Program generation activities

b. Program execution activities

Program generation activities: A program generation activity tends at automatic generation of a program. A specification language is source language of an application domain and the target language is classically a procedure oriented programming language. The given figure below shows program generation activity

program generation activity

The program generator is a software system that accepts the requirement of a program to be generated and makes a program in the target. PL. The program generator initiates a new domain in between the application and PL domains. We call it the program generator domain. The specification gab is here gabbing in between the application domain and the program generator domain. Such gab is smaller than the gab in between the application domain and PL domain.

Program execution activities: A program execution activity classifies system. Two model program executions are:

a. Translation

b. Interpretation

Translation: The program translation models bridges execution gap through translating a program written into a PL, called the source program in an equivalent program in the assembly or machine language of the computer system.

408_Translation and Interpretation.png

Interpretation: The interpreter reads the source program and stores this in its memory. Throughout interpretation this takes a statement, finds its meaning and performs actions that implement this.

2191_Translation and Interpretation 1.png


Related Discussions:- Describe language processing activities

Prove using boolean algebra, Q.Prove using Boolean Algebra 1. X (X+Y) = ...

Q.Prove using Boolean Algebra 1. X (X+Y) = X 2. AB + AC + BC' = AC + BC' 3. (A+B+C) (A+B'+C') (A+B+C') (A+B'+C)=A 4. (A+B'+C) (AB+A'C) = (A+C) (A'+B) 5. XY + XZ + YZ

Define syntax of barrier directive, Q. Define syntax of barrier directive? ...

Q. Define syntax of barrier directive? Barrier Directive  The syntax of barrier directive is  #pragma omp barrier When a thread attains barrier it waits till all threa

What is the future in mq if i have 2+exp, It speeds execution of distribute...

It speeds execution of distributed applications. It runs on dissimilar platforms. It time independent. No loss for msg delivery i.e. guarantee delivery.

Explain characteristics of prototyping, Question: (a) List five main c...

Question: (a) List five main characteristics of ‘Prototyping'. (b) Describe briefly why ‘Prototyping' is essential to Rapid Application Development. (c) Describe the 2 t

Explain about common addressing modes, Q. Explain about common addressing m...

Q. Explain about common addressing modes? Most of machines use a set of addressing modes. The following tree displays common addressing modes: Figure: Common Addres

What is bus arbitration, What is bus arbitration? It is method by which...

What is bus arbitration? It is method by which the next device to become the bus master is selected and bus mastership is transferred to it. There are two ways for doing this:

Give difference between assembler and compiler, Give difference between ass...

Give difference between assembler and compiler. Assembler: It is the translator for an assembly language of computer. An assembly language is a low-level programming language

Local variables and global variables in lingo programming, Question: (a...

Question: (a) Differentiate between local variables and global variables in Lingo programming. (b) Using examples differentiate between deleteProp() and deleteAt() function

C++, program to find area under the curve y=f(x) between x=a and y=b , inte...

program to find area under the curve y=f(x) between x=a and y=b , integrate y=f(x)between limits of a and b

What is the cih, CIH, also known  as Chernobyl or Spacefiller, is a Microso...

CIH, also known  as Chernobyl or Spacefiller, is a Microsoft Windows computer virus which first emerged in 1998. It is one of the most damaging viruses, overwriting critical inform

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd