SlideShare a Scribd company logo
2
Most read
6
Most read
14
Most read
Language Processor




                     1
Language Processor
• A program that performs tasks, such as
  translating and interpreting, required for
  processing a specified programming language




                                                2
Eidtor
• Provides facility to write, store and manage
  code.
• Provides other tools for programming like
  compiler, debugger, linker etc.




                                                 3
Compiler
• Checks the code line by line to find syntax
  errors.
• If code is error free translate program in to
  machine language(object code).
• Object code is machine dependent.




                                                  4
Interpreter
• Interpret one instruction at a time.
• It checks, translate and execute the instruction
• Does not produce object code.



     High level   input   Interpreter   output   Result of
                                                 program
     language
                                                 execution
     program



                                                             5
Assembler
 • Translates the assembly language program in to
   machine code.
 • It Reserves space for data
 • Replaces he mnemonic codes by machine code
 • Replaces symbolic addresses by numeric addresses
 • Determines machine representation of constants




                                                Machine language
  • Assembly       input   Assembler   output      program
language program
                                                             6
Linker
• Resolves the relative location
                                    Lib
  of instructions and data                Obj      Obj

• Links libraries with the object
  and put them together as                Linker


  executable.
                                    Lib   dll      exe




                                                     7
Loader
• Inbuilt component of OS.
• Loads program in to main memory and
  prepare them for execution
                   Debugger
• Used to find logical errors
• Allows you to stop program at any step of
  execution , check and change the values of
  different variables
                                               8
Macro processor
• The repeated code (for e.g., UDF) of program
  is controlled by macro processor.
• It referred each repeated set of code by a
  name, and replace set of code when that
  name occurs in a program.




                                                 9
Program Development cycle
• Define the problem
I.    Careful reading of the problem.
II. We are not focusing on solution part here.
● Analyze the problem
I. Determine all possible solutions and select
    the best from them.
II. We can break whole problem in to sub
    problems.
                                             10
Cont….
• Design the solution
I. Create an outline on how the program
    should execute.
II. Expand it in to steps (algorithm) which
    describe the order of tasks to be carried out
• Code the program
I. Begins only after we have clear idea about
    algorithm of solution.
II. We can use appropriate language and edit or
    to write the code
                                                11
Cont..

• Compilation of code
I. Find the syntax and semantic errors.
II. Compiler or Interpreters of corresponding
     language can be used.
III. If error occurs, we need to change the code
     to solve errors.
IV. After successful compilation, object code is
     generated that a machine can understand
                                                   12
Cont..
• Linking of object code
I. Linker links the libraries and object code then
    puts all objects in to correct order in the
    executable.
II. If error occurs during linking, it might be a
    problem in writing code of linking.
• Loading of program
I. Loader loads the program in to main memory
    and control is passed to processor.

                                                     13
ii. Loading includes reading an executable
     ,checking permission , initializing registers
• Program execution and testing
I. Execution of program is done by processor.
II. Debugger can be used to trace the error
III. We verify the output. If the desired output is
     not achieved, we need to revice the whole
     process.
                                                  14
Problem


           Analysis

          Algorithm
           design

            Coding
                        Error

Library   Compilation

                          Error
            Linking


           Loading


           Execution
                                Error
                                        15
            result

More Related Content

PPTX
Compiler vs Interpreter-Compiler design ppt.
PPTX
Programming for Problem Solving
PPTX
Programming Paradigm & Languages
PPT
Unit 2 Principles of Programming Languages
PPTX
Software programming and development
PPTX
Compiler vs interpreter
PDF
Program development cyle
PPT
Assembler
Compiler vs Interpreter-Compiler design ppt.
Programming for Problem Solving
Programming Paradigm & Languages
Unit 2 Principles of Programming Languages
Software programming and development
Compiler vs interpreter
Program development cyle
Assembler

What's hot (20)

PPTX
Macro Processor
PPT
Introduction to Compiler design
PPTX
Programming language
PPTX
Compilers
PPTX
operating system
PDF
Lecture 01 introduction to compiler
PPTX
Specification-of-tokens
PDF
loaders and linkers
PPTX
Introduction to JAVA
PPTX
Phases of Compiler
PPTX
Lexical analysis - Compiler Design
PPSX
Programming Fundamental Presentation
PDF
OS - Process Concepts
PPT
Intro To Programming Concepts
PPTX
Deadlock ppt
PPTX
Features of java
PDF
Bus structure in Computer Organization.pdf
PPTX
Programming Fundamentals
PPTX
Fundamentals of c programming
Macro Processor
Introduction to Compiler design
Programming language
Compilers
operating system
Lecture 01 introduction to compiler
Specification-of-tokens
loaders and linkers
Introduction to JAVA
Phases of Compiler
Lexical analysis - Compiler Design
Programming Fundamental Presentation
OS - Process Concepts
Intro To Programming Concepts
Deadlock ppt
Features of java
Bus structure in Computer Organization.pdf
Programming Fundamentals
Fundamentals of c programming
Ad

Viewers also liked (18)

PPTX
Fundamentals of Language Processing
PDF
Language processors
PDF
Natural Language Processing
PDF
Language processors
PPTX
Toy compiler
PPTX
System Programming Unit II
PPTX
System Programing Unit 1
PPTX
Programming languages
PPT
Programming languages
PPS
Functions Of Operating System
PPT
Lect 1. introduction to programming languages
PPTX
System Programming Overview
PPTX
Functions Of Operating Systems
PPTX
Operating system and its function
PPTX
Types of operating system
PPT
Operating system.ppt (1)
PPT
Presentation on operating system
PPTX
Operating system overview concepts ppt
Fundamentals of Language Processing
Language processors
Natural Language Processing
Language processors
Toy compiler
System Programming Unit II
System Programing Unit 1
Programming languages
Programming languages
Functions Of Operating System
Lect 1. introduction to programming languages
System Programming Overview
Functions Of Operating Systems
Operating system and its function
Types of operating system
Operating system.ppt (1)
Presentation on operating system
Operating system overview concepts ppt
Ad

Similar to Language processor (20)

PPT
System software
PPT
Fp201 unit1 1
DOC
Compilerdesignnew 091219090526-phpapp02
DOC
Compiler Design(Nanthu)
DOC
Compiler Design(NANTHU NOTES)
PPTX
Pros and cons of c as a compiler language
PPTX
16 compiler-151129060845-lva1-app6892-converted.pptx
PPT
Cpcs302 1
PPTX
Unit 1 part1 Introduction of Compiler Design.pptx
PPTX
Compiler Construction
PPT
PPTX
Chapter 2 Program language translation.pptx
PPTX
Compiler Design Introduction
PDF
Phases of compiler
PDF
COMPUTER SCIENCE COURSE 204 COMPILER CONSTRUCTION,.pdf
PDF
The role of the cpu in the operation
PDF
unit1pdf__2021_12_14_12_37_34.pdf
PPTX
Chapter 5-programming
PPT
Introduction to compiler
PPT
Chapter One
System software
Fp201 unit1 1
Compilerdesignnew 091219090526-phpapp02
Compiler Design(Nanthu)
Compiler Design(NANTHU NOTES)
Pros and cons of c as a compiler language
16 compiler-151129060845-lva1-app6892-converted.pptx
Cpcs302 1
Unit 1 part1 Introduction of Compiler Design.pptx
Compiler Construction
Chapter 2 Program language translation.pptx
Compiler Design Introduction
Phases of compiler
COMPUTER SCIENCE COURSE 204 COMPILER CONSTRUCTION,.pdf
The role of the cpu in the operation
unit1pdf__2021_12_14_12_37_34.pdf
Chapter 5-programming
Introduction to compiler
Chapter One

More from Abha Damani (20)

PPSX
PDF
PDF
PDF
PDF
PPTX
Unit 1 introduction to visual basic programming
PPT
PPT
PPT
PPT
PPT
PPTX
Ch01 enterprise
PPT
3 data mgmt
PPT
2 it supp_sys
PPT
1 org.perf it supp_appl
PPTX
Managing and securing the enterprise
PPT
PPTX
PPTX
Unit 3
PPTX
Unit 4
Unit 1 introduction to visual basic programming
Ch01 enterprise
3 data mgmt
2 it supp_sys
1 org.perf it supp_appl
Managing and securing the enterprise
Unit 3
Unit 4

Recently uploaded (20)

PDF
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
PPTX
Lesson notes of climatology university.
PDF
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
PPTX
Renaissance Architecture: A Journey from Faith to Humanism
PPTX
Final Presentation General Medicine 03-08-2024.pptx
PDF
102 student loan defaulters named and shamed – Is someone you know on the list?
PDF
Anesthesia in Laparoscopic Surgery in India
PDF
Classroom Observation Tools for Teachers
PDF
2.FourierTransform-ShortQuestionswithAnswers.pdf
PDF
Abdominal Access Techniques with Prof. Dr. R K Mishra
PPTX
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
PDF
VCE English Exam - Section C Student Revision Booklet
PDF
Supply Chain Operations Speaking Notes -ICLT Program
PPTX
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
PDF
01-Introduction-to-Information-Management.pdf
PPTX
GDM (1) (1).pptx small presentation for students
PPTX
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
PDF
TR - Agricultural Crops Production NC III.pdf
PDF
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
PPTX
Institutional Correction lecture only . . .
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
Lesson notes of climatology university.
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
Renaissance Architecture: A Journey from Faith to Humanism
Final Presentation General Medicine 03-08-2024.pptx
102 student loan defaulters named and shamed – Is someone you know on the list?
Anesthesia in Laparoscopic Surgery in India
Classroom Observation Tools for Teachers
2.FourierTransform-ShortQuestionswithAnswers.pdf
Abdominal Access Techniques with Prof. Dr. R K Mishra
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
VCE English Exam - Section C Student Revision Booklet
Supply Chain Operations Speaking Notes -ICLT Program
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
01-Introduction-to-Information-Management.pdf
GDM (1) (1).pptx small presentation for students
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
TR - Agricultural Crops Production NC III.pdf
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
Institutional Correction lecture only . . .

Language processor

  • 2. Language Processor • A program that performs tasks, such as translating and interpreting, required for processing a specified programming language 2
  • 3. Eidtor • Provides facility to write, store and manage code. • Provides other tools for programming like compiler, debugger, linker etc. 3
  • 4. Compiler • Checks the code line by line to find syntax errors. • If code is error free translate program in to machine language(object code). • Object code is machine dependent. 4
  • 5. Interpreter • Interpret one instruction at a time. • It checks, translate and execute the instruction • Does not produce object code. High level input Interpreter output Result of program language execution program 5
  • 6. Assembler • Translates the assembly language program in to machine code. • It Reserves space for data • Replaces he mnemonic codes by machine code • Replaces symbolic addresses by numeric addresses • Determines machine representation of constants Machine language • Assembly input Assembler output program language program 6
  • 7. Linker • Resolves the relative location Lib of instructions and data Obj Obj • Links libraries with the object and put them together as Linker executable. Lib dll exe 7
  • 8. Loader • Inbuilt component of OS. • Loads program in to main memory and prepare them for execution Debugger • Used to find logical errors • Allows you to stop program at any step of execution , check and change the values of different variables 8
  • 9. Macro processor • The repeated code (for e.g., UDF) of program is controlled by macro processor. • It referred each repeated set of code by a name, and replace set of code when that name occurs in a program. 9
  • 10. Program Development cycle • Define the problem I. Careful reading of the problem. II. We are not focusing on solution part here. ● Analyze the problem I. Determine all possible solutions and select the best from them. II. We can break whole problem in to sub problems. 10
  • 11. Cont…. • Design the solution I. Create an outline on how the program should execute. II. Expand it in to steps (algorithm) which describe the order of tasks to be carried out • Code the program I. Begins only after we have clear idea about algorithm of solution. II. We can use appropriate language and edit or to write the code 11
  • 12. Cont.. • Compilation of code I. Find the syntax and semantic errors. II. Compiler or Interpreters of corresponding language can be used. III. If error occurs, we need to change the code to solve errors. IV. After successful compilation, object code is generated that a machine can understand 12
  • 13. Cont.. • Linking of object code I. Linker links the libraries and object code then puts all objects in to correct order in the executable. II. If error occurs during linking, it might be a problem in writing code of linking. • Loading of program I. Loader loads the program in to main memory and control is passed to processor. 13
  • 14. ii. Loading includes reading an executable ,checking permission , initializing registers • Program execution and testing I. Execution of program is done by processor. II. Debugger can be used to trace the error III. We verify the output. If the desired output is not achieved, we need to revice the whole process. 14
  • 15. Problem Analysis Algorithm design Coding Error Library Compilation Error Linking Loading Execution Error 15 result