SlideShare a Scribd company logo
2
Most read
3
Most read
5
Most read
LanguageProcessingActivities
There are mainly two types of language processing
activity which bridges the semantic gap between
source language and target language.
1. Programming generation activities
2. Program execution
1. Program generation activities
 A program generation activity aims an automatic
generation of a program.
 Program generator is software, which aspects source
program and generates a program in target language.
 Program generator introduces a new domain between
the application and programming language domain is
called program generator domain.
Program
Specification
Program
Generator
Program
in target PL
Errors
2. Program Execution
 Two popular models for program execution are translation
and interpretation
1. Translation
 The program translation model bridge the execution gap by translating
a program Written in PL, called source program, into an equivalent
program in machine or assembly Language of the computer system,
called target program.
Source
Program
Translator Target
Program
Errors
m/c language
program
Data
3. Interpretation
 The interpreter reads the sources program and
stores it in its memory.
 The CPU uses the program counter (PC) to note the
address of the next instruction to be executed.
 The following statement would be subjected to the
interpretation cycle, which could consist the
following steps.
1. Fetch the instruction
2. Analyze the statement and determine its meaning, the
computation to be performed and its operand.
 3. Execute the meaning of the statement.
PC Source
Program
+
Data
Memory
Error
Interpreter
Language processing activity

More Related Content

PPTX
Unit 4 sp macro
PPTX
Two pass Assembler
PPTX
Unit 3 sp assembler
PPTX
ppt on PLC
PPT
SSL & TLS Architecture short
PPTX
Three Address code
PPTX
Finite Automata: Deterministic And Non-deterministic Finite Automaton (DFA)
PPTX
Life cycle of a computer program
Unit 4 sp macro
Two pass Assembler
Unit 3 sp assembler
ppt on PLC
SSL & TLS Architecture short
Three Address code
Finite Automata: Deterministic And Non-deterministic Finite Automaton (DFA)
Life cycle of a computer program

What's hot (20)

PPTX
Fundamentals of Language Processing
PPTX
System Programming Overview
PPTX
Toy compiler
PPTX
Linker and Loader
PPTX
Loaders ( system programming )
PPTX
Macro Processor
PDF
Introduction to systems programming
PPTX
Single pass assembler
PDF
loaders and linkers
PPTX
System Programing Unit 1
PPTX
Ch 4 linker loader
PPTX
Linking in MS-Dos System
PPT
Pass 1 flowchart
PPTX
Code generation
PPT
Intermediate code generation (Compiler Design)
PPTX
Compilers
PPTX
Design of a two pass assembler
PPTX
Loop optimization
PPT
Introduction to Compiler design
PDF
Unit 2
Fundamentals of Language Processing
System Programming Overview
Toy compiler
Linker and Loader
Loaders ( system programming )
Macro Processor
Introduction to systems programming
Single pass assembler
loaders and linkers
System Programing Unit 1
Ch 4 linker loader
Linking in MS-Dos System
Pass 1 flowchart
Code generation
Intermediate code generation (Compiler Design)
Compilers
Design of a two pass assembler
Loop optimization
Introduction to Compiler design
Unit 2
Ad

Similar to Language processing activity (20)

PPTX
COMPILER DESIGN OPTIONS
PPTX
Overview of language processor course d&a
DOCX
COMPILER DESIGN.docx
PPTX
1. C_Introductionnnnnnnnnnnnnnnnnnnnn.pptx
PDF
Introduction to compiler
PDF
COMPUTER SCIENCE COURSE 204 COMPILER CONSTRUCTION,.pdf
PPTX
Chapter 2 Program language translation.pptx
PPTX
1.Overview of Programming.pptx
PPT
Chap 1-language processor
PDF
COMPILER DESIGN Engineering learinin.pdf
PDF
3_1_COMPILER_DESIGNGARGREREGREGREGREGREGRGRERE
PDF
design intoduction of_COMPILER_DESIGN.pdf
PPT
Chapter 1- C++ programming languages +.ppt
PDF
Introduction to programming language (basic)
PPTX
Software and its types
PPTX
Software and its Types use of software types
PDF
Language processing system.pdf
DOCX
Compliers and interpreters
PPTX
For EETggggggggggggggggggggggggggggggggggg
PPTX
COMPILER DESIGN OPTIONS
Overview of language processor course d&a
COMPILER DESIGN.docx
1. C_Introductionnnnnnnnnnnnnnnnnnnnn.pptx
Introduction to compiler
COMPUTER SCIENCE COURSE 204 COMPILER CONSTRUCTION,.pdf
Chapter 2 Program language translation.pptx
1.Overview of Programming.pptx
Chap 1-language processor
COMPILER DESIGN Engineering learinin.pdf
3_1_COMPILER_DESIGNGARGREREGREGREGREGREGRGRERE
design intoduction of_COMPILER_DESIGN.pdf
Chapter 1- C++ programming languages +.ppt
Introduction to programming language (basic)
Software and its types
Software and its Types use of software types
Language processing system.pdf
Compliers and interpreters
For EETggggggggggggggggggggggggggggggggggg
Ad

Recently uploaded (20)

PDF
Operating System & Kernel Study Guide-1 - converted.pdf
PDF
Well-logging-methods_new................
DOCX
573137875-Attendance-Management-System-original
PPTX
CH1 Production IntroductoryConcepts.pptx
PDF
composite construction of structures.pdf
PDF
July 2025 - Top 10 Read Articles in International Journal of Software Enginee...
PPTX
MCN 401 KTU-2019-PPE KITS-MODULE 2.pptx
PPTX
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
PPTX
Recipes for Real Time Voice AI WebRTC, SLMs and Open Source Software.pptx
PPTX
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
PDF
Model Code of Practice - Construction Work - 21102022 .pdf
PPTX
UNIT-1 - COAL BASED THERMAL POWER PLANTS
PPTX
OOP with Java - Java Introduction (Basics)
PPTX
IOT PPTs Week 10 Lecture Material.pptx of NPTEL Smart Cities contd
PPTX
Geodesy 1.pptx...............................................
PDF
PRIZ Academy - 9 Windows Thinking Where to Invest Today to Win Tomorrow.pdf
PPTX
Foundation to blockchain - A guide to Blockchain Tech
PDF
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
PPTX
CYBER-CRIMES AND SECURITY A guide to understanding
PPTX
Construction Project Organization Group 2.pptx
Operating System & Kernel Study Guide-1 - converted.pdf
Well-logging-methods_new................
573137875-Attendance-Management-System-original
CH1 Production IntroductoryConcepts.pptx
composite construction of structures.pdf
July 2025 - Top 10 Read Articles in International Journal of Software Enginee...
MCN 401 KTU-2019-PPE KITS-MODULE 2.pptx
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
Recipes for Real Time Voice AI WebRTC, SLMs and Open Source Software.pptx
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
Model Code of Practice - Construction Work - 21102022 .pdf
UNIT-1 - COAL BASED THERMAL POWER PLANTS
OOP with Java - Java Introduction (Basics)
IOT PPTs Week 10 Lecture Material.pptx of NPTEL Smart Cities contd
Geodesy 1.pptx...............................................
PRIZ Academy - 9 Windows Thinking Where to Invest Today to Win Tomorrow.pdf
Foundation to blockchain - A guide to Blockchain Tech
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
CYBER-CRIMES AND SECURITY A guide to understanding
Construction Project Organization Group 2.pptx

Language processing activity

  • 1. LanguageProcessingActivities There are mainly two types of language processing activity which bridges the semantic gap between source language and target language. 1. Programming generation activities 2. Program execution
  • 2. 1. Program generation activities  A program generation activity aims an automatic generation of a program.  Program generator is software, which aspects source program and generates a program in target language.  Program generator introduces a new domain between the application and programming language domain is called program generator domain. Program Specification Program Generator Program in target PL Errors
  • 3. 2. Program Execution  Two popular models for program execution are translation and interpretation 1. Translation  The program translation model bridge the execution gap by translating a program Written in PL, called source program, into an equivalent program in machine or assembly Language of the computer system, called target program. Source Program Translator Target Program Errors m/c language program Data
  • 4. 3. Interpretation  The interpreter reads the sources program and stores it in its memory.  The CPU uses the program counter (PC) to note the address of the next instruction to be executed.  The following statement would be subjected to the interpretation cycle, which could consist the following steps.
  • 5. 1. Fetch the instruction 2. Analyze the statement and determine its meaning, the computation to be performed and its operand.  3. Execute the meaning of the statement. PC Source Program + Data Memory Error Interpreter