Compare First Compiler outline (5 Steps) vs Modern. What\'s difference. Thanks!
ID: 3808918 • Letter: C
Question
Compare First Compiler outline (5 Steps) vs Modern. What's difference.
Thanks!
FORTRAN (FORmula TRANslation) is a general-purpose programming language, mainly intended for mathematical computations in engineering. All the compilers follow FORTRAN 1 compiler outline which includes lexical analysis, parsing, semantic analysis optimization and code generation. Modern compilers can customize these stages based on available technology and programming techniques. The students are required to document the following. Introduction to FORTRAN 1 Discussion on how modern compiler outlines differ from Fortran 1 outline Need for FORTRAN 1 compiler outline in future compilers B1.4 ConclusionExplanation / Answer
B1.1 : Fortran 1 :
B1.2:
Fortran I: • lexical analysis, parsing most complex, expensive
Modern Compiler: semantic analysis and optimization dominate all other phases; lexing and parsing are well-understood and cheap
Compilation for speed is less interesting. But: – scientific programs – advanced processors (Digital Signal Processors, advanced speculative architectures, GPUs) is important in modern compiler.
B1.3: Need for FORTRAN I Compiler outline in modern compiler : FORTRAN I compiler outline has very robust mechanisn. with the advancement of the software techology, software programming has changed a lot but the compilers outline is still the same as that of old FORTRAN I. It posses a good potential to serve the future need of compilers.
B1.4: We can say that FORTAN I has been the backbone of computer technology advancement. It has provided very robust and efficient outline so that even after more than 60 years it is the gudeline for the compiler design.
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.