Your SlideShare is downloading. ×
What is Compiler?
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×

Introducing the official SlideShare app

Stunning, full-screen experience for iPhone and Android

Text the download link to your phone

Standard text messaging rates apply

What is Compiler?

4,602
views

Published on

Compilers Principles, Techniques and tools by Alfred V.Aho, Ravi Sethi and Jeffrey D. Ullman …

Compilers Principles, Techniques and tools by Alfred V.Aho, Ravi Sethi and Jeffrey D. Ullman

What is Compiler?
Compiler Definition

Published in: Education, Technology

0 Comments
4 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
4,602
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
144
Comments
0
Likes
4
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. 1.1 Compilers:
    • A compiler is a program that reads a program written in one language –– the source language –– and translates it into an equivalent program in another language –– the target language
  • 2. 1.1 Compilers:
    • As an important part of this translation process, the compiler reports to its user the presence of errors in the source program.
  • 3. 1.1 Compilers:
  • 4. 1.1 Compilers:
    • At first glance, the variety of compilers may appear overwhelming.
    • There are thousands of source languages, ranging from traditional programming languages such as FORTRAN and Pascal to specialized languages.
  • 5. 1.1 Compilers:
    • Target languages are equally as varied;
    • A target language may be another programming language, or the machine language of any computer.
  • 6. 1.1 Compilers:
    • Compilers are sometimes classified as:
      • single-pass
      • multi-pass
      • load-and-go
      • Debugging
      • optimizing
  • 7. 1.1 Compilers:
    • The basic tasks that any compiler must perform are essentially the same.
    • By understanding these tasks, we can construct compilers for a wide variety of source languages and target machines using the same basic techniques.
  • 8. 1.1 Compilers:
    • Throughout the 1950’s, compilers were considered notoriously difficult programs to write.
    • The first FORTRAN compiler, for example, took 18 staff-years to implement.
  • 9.
    • Ref: Compilers principles, Techniques, and Tools by Alfred V.Aho, Ravi Sethi, Jeffrey D. Ullman..
    • Upload By: Tayyab Arif
    • Contact: 00923445064252
    • email: [email_address]
    • [email_address]
    • Allama Iqbal Open Unviersity, Islamabad