Geschreven door studenten die geslaagd zijn Direct beschikbaar na je betaling Online lezen of als PDF Verkeerd document? Gratis ruilen 4,6 TrustPilot
logo-home
Samenvatting

Summary Basics of compilers

Beoordeling
-
Verkocht
-
Pagina's
4
Geüpload op
15-03-2023
Geschreven in
2022/2023

Provides a summary of compilers, just a part of it

Instelling
Vak

Voorbeeld van de inhoud

CST302-COMPILER DESIGN
In the early days of computation instructions to a computer were given using
perforated paper tapes and punch cards. In the 50s computer scientists came
up with various language translators the first one was the assembler debuted
in the late 1948. The interpreter and the compilers came into picture in the
1950s. In this session we will learn about the emergence of compilers
followed by the different phases of it. C codes are almost like the English
language but syntactically c code is almost like English. The language
translator has four different phases the first one is the pre-processor this pre-
processor resolves all the directives as for this particular code reading the
hash include pre-processor directive it will append the standard input output
header file to the high-level language code. The next phase is the compiler
this phase will generate the equivalent assembly language code and the
compiler is responsible for this translation thereafter this assembler will
generate. relocatable machine code. Compilers it has six different phases
these are lexical analysis syntax analysis then the semantic analysis phase
after that the intermediate code generation phase and the code optimization
phase are called the backend. The last one that is the linker and loader
generate the absolute machine code that is actually the executable machine
code.
The proposed syllabus will have seven different chapters now since it is not
a basic course in order to study compiler design the learners need to have a
basic understanding of the subject theory of computation. All college and
university students can take this course because this course will be taught
comprehensively next any aspirant willing to take part in any competitive
exam will be able to lucidly understand.
In order to convert the human readable source code into machine code we
need a language translator. The language translator has got four different
phases the pre-processor then the. compiler the assembler and finally the
linker and loader. After going through the. pre-processor the high-level
language code gets converted into the pure high level. language code. of every
laxing it recognizes the tokens with the help of regexes or regular expressions
exempli gratia this is the regular expression for identifiers where l stands for
letter d for digit and this special character is the underscore. The lexical
analyser makes use of the type 3 or regular grammars. The syntax analyser
also known as the parser is in control the stream of tokens is passed to the

Geschreven voor

Instelling
Vak

Documentinformatie

Geüpload op
15 maart 2023
Aantal pagina's
4
Geschreven in
2022/2023
Type
SAMENVATTING

Onderwerpen

$8.99
Krijg toegang tot het volledige document:

Verkeerd document? Gratis ruilen Binnen 14 dagen na aankoop en voor het downloaden kun je een ander document kiezen. Je kunt het bedrag gewoon opnieuw besteden.
Geschreven door studenten die geslaagd zijn
Direct beschikbaar na je betaling
Online lezen of als PDF

Maak kennis met de verkoper
Seller avatar
anasansar

Maak kennis met de verkoper

Seller avatar
anasansar TKM College of Engineering
Volgen Je moet ingelogd zijn om studenten of vakken te kunnen volgen
Verkocht
-
Lid sinds
3 jaar
Aantal volgers
0
Documenten
1
Laatst verkocht
-

0.0

0 beoordelingen

5
0
4
0
3
0
2
0
1
0

Recent door jou bekeken

Waarom studenten kiezen voor Stuvia

Gemaakt door medestudenten, geverifieerd door reviews

Kwaliteit die je kunt vertrouwen: geschreven door studenten die slaagden en beoordeeld door anderen die dit document gebruikten.

Niet tevreden? Kies een ander document

Geen zorgen! Je kunt voor hetzelfde geld direct een ander document kiezen dat beter past bij wat je zoekt.

Betaal zoals je wilt, start meteen met leren

Geen abonnement, geen verplichtingen. Betaal zoals je gewend bent via iDeal of creditcard en download je PDF-document meteen.

Student with book image

“Gekocht, gedownload en geslaagd. Zo makkelijk kan het dus zijn.”

Alisha Student

Bezig met je bronvermelding?

Maak nauwkeurige citaten in APA, MLA en Harvard met onze gratis bronnengenerator.

Bezig met je bronvermelding?

Veelgestelde vragen