Compiler
What is a  Compiler  ? <ul><li>Compiler is a translator program that converts a High level programming language to machine...
How Compiler Compiles COMPILER INPUT (SOURCE PROGRAM ) OUTPUT (MACHINE LANGUAGE PROGRAM)
Features of a Compiler <ul><li>A Compiler could understand it's own language not other compilers language. </li></ul><ul><...
Execution of  a Compiler Secondary Stroarge Where Compiler is stored Primary Memory
Features of Compiler <ul><li>Translation of High Level Language to Machine Language. </li></ul><ul><li>Detect errors in so...
Start Edit Source  Program Compile Source Program Syntax Errors  Detected ? Genrerate list of coded  error msgs. Genrerate...
Thank You
Upcoming SlideShare
Loading in...5
×

Compiler

738

Published on

Published in: Education, Technology
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
738
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
29
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Compiler

  1. 1. Compiler
  2. 2. What is a Compiler ? <ul><li>Compiler is a translator program that converts a High level programming language to machine language. </li></ul><ul><li>Machine Language consists of 1 and 0 i.e. ,ON &OFF. </li></ul>
  3. 3. How Compiler Compiles COMPILER INPUT (SOURCE PROGRAM ) OUTPUT (MACHINE LANGUAGE PROGRAM)
  4. 4. Features of a Compiler <ul><li>A Compiler could understand it's own language not other compilers language. </li></ul><ul><li>For example, A C Compiler does not understand a Java Source Program. </li></ul><ul><li>Compiler will check for Syntax Errors in Source Programs. </li></ul>
  5. 5. Execution of a Compiler Secondary Stroarge Where Compiler is stored Primary Memory
  6. 6. Features of Compiler <ul><li>Translation of High Level Language to Machine Language. </li></ul><ul><li>Detect errors in source program i.e. encountered due to mistake in editing. </li></ul><ul><li>These errors are called Syntax Errors . </li></ul>
  7. 7. Start Edit Source Program Compile Source Program Syntax Errors Detected ? Genrerate list of coded error msgs. Genrerate Object Program STOP NO YES
  8. 8. Thank You
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×