Compiler
Upcoming SlideShare
Loading in...5
×
 

Compiler

on

  • 839 views

 

Statistics

Views

Total Views
839
Views on SlideShare
839
Embed Views
0

Actions

Likes
1
Downloads
26
Comments
0

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Compiler Compiler Presentation Transcript

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