Preview

Frontend V/S Backend Programming

Powerful Essays
Open Document
Open Document
3794 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Frontend V/S Backend Programming
Frontend v/s Backend Programming...........
This article is about the computing term. For the anime, see Compiler (anime).
A diagram of the operation of a typical multi-language, multi-target compiler

A compiler is a computer program (or set of programs) that transforms source code written in a programming language (the source language) into another computer language (the target language, often having a binary form known as object code). The most common reason for wanting to transform source code is to create an executable program.

The name "compiler" is primarily used for programs that translate source code from a high-level programming language to a lower level language (e.g., assembly language or machine code). If the compiled program can run on a computer whose CPU or operating system is different from the one on which the compiler runs, the compiler is known as a cross-compiler. A program that translates from a low level language to a higher level one is a decompiler. A program that translates between high-level languages is usually called a language translator, source to source translator, or language converter. A language rewriter is usually a program that translates the form of expressions without a change of language.

A compiler is likely to perform many or all of the following operations: lexical analysis, preprocessing, parsing, semantic analysis (Syntax-directed translation), code generation, and code optimization.

Program faults caused by incorrect compiler behavior can be very difficult to track down and work around; therefore, compiler implementors invest significant effort to ensure the correctness of their software.

The term compiler-compiler is sometimes used to refer to a parser generator, a tool often used to help create the lexer and parser.
Contents

1 History 1.1 Compilers in education 2 Compilation 2.1 Structure of a compiler 3 Compiler output 3.1 Compiled versus interpreted



References: This section does not cite any references or sources. Please help improve this section by adding citations to reliable sources. Unsourced material may be challenged and removed. (September 2010) Main article: Compiler construction

You May Also Find These Documents Helpful

  • Satisfactory Essays

    2.What number does a bit that is turned on represent? What number does a bit that is turned off represent? On is 1 and Off is 2…

    • 286 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Inch and Lt

    • 1077 Words
    • 5 Pages

    A: The machine code is the language which the computer hardware understands and executes. It is preferable to write programs in a high level language such as C ++ because it is much easier to understand and learn this machine language.…

    • 1077 Words
    • 5 Pages
    Satisfactory Essays
  • Good Essays

    Recco Smith Unit 1 HmWrk

    • 1114 Words
    • 4 Pages

    6. What Is the different between a compiler and an interpreter? Interpreter is a program that both translate and execute the instructions in high-level language program. Where as, Compiler is used to translate the high-level language program to a machine language program.…

    • 1114 Words
    • 4 Pages
    Good Essays
  • Better Essays

    A compiler takes as input a source program and produces as output an equivalent sequence of machine instructions. This process is so complex that it is divided into a series of sub-processes called phases. The different phases of the compiler are as follows:…

    • 880 Words
    • 4 Pages
    Better Essays
  • Good Essays

    Linkers and Loaders

    • 739 Words
    • 3 Pages

    For most compilers, each object file is the result of compiling one input source code file. When a program comprises multiple object files, the linker combines these files into a unified executable program, resolving the symbols as it goes along.…

    • 739 Words
    • 3 Pages
    Good Essays
  • Powerful Essays

    Cloud Compiler

    • 6075 Words
    • 25 Pages

    Cloud Based Multi-Language Programming Compiler is an application which greatly lightens the student’s workload at the initial stage of programming. At this stage, they neither have to deal with the complexities of the installation and the configuration of these types of tools, nor with the understanding of multiple options which are available. So students can concentrate on the comprehension of the programming structures and the programming language to be studied.…

    • 6075 Words
    • 25 Pages
    Powerful Essays
  • Satisfactory Essays

    CompilerOptimization

    • 545 Words
    • 6 Pages

    Presentation on Compiler Design By Sandeep Negi Introduction What optimization is? Optimization at different levels. Pareto principle & Hotspots When to Optimize? Automated and Manual Optimization Classification of optimization technique Optimizing Transformations…

    • 545 Words
    • 6 Pages
    Satisfactory Essays
  • Powerful Essays

    An Overview of a Compiler

    • 1494 Words
    • 6 Pages

    LEX has a language for describing regular expressions It generates a pattern matcher for the REs described General structure of a LEX program {definitions} %% {rules} %% {user subroutines} A LEX compiler generates a C-program lex.yy.c as output…

    • 1494 Words
    • 6 Pages
    Powerful Essays
  • Good Essays

    Assembly Language

    • 1139 Words
    • 5 Pages

    Compiler languages are the high-level equivalent of assembly language. Each instruction in the compiler language can correspond to many machine instructions. Once the program has been written, it is translated to the equivalent machine code by a program called a compiler. Once the program has been compiled, the resulting machine code is saved separately, and can be run on its own at any time.…

    • 1139 Words
    • 5 Pages
    Good Essays
  • Good Essays

    Assembly Language - Essay

    • 3004 Words
    • 13 Pages

    Assembly language is converted into executable machine code by a utility program referred to as an assembler; the conversion process is referred to as assembly, or assembling the code.…

    • 3004 Words
    • 13 Pages
    Good Essays
  • Satisfactory Essays

    building a compiler

    • 2613 Words
    • 11 Pages

     What if we have to look at the entire compiler ?   P. Marwedel, Univ. Dortmund/Informatik 12 + ICD/ES, 2006 Fri2 - 2 - Universität Dortmund Anatomy of a compiler Compiler C-source frontend HL-IR HL2LL LL-IR backend optimizations ASM assembler OBJ linker EXE Do not start from scratch!  P. Marwedel, Univ.…

    • 2613 Words
    • 11 Pages
    Satisfactory Essays
  • Good Essays

    Third-Generation languages continued the trend toward greater use of symbolic code and away from specifically instructing the computer how to complete an operation. BASIC, COBOL, C and FORTRAN are examples of third-generation languages that use English and Assembly languages because it more closely resembles everyday human communication and understanding. With third-generation and higher-level programming languages, each statement in the languages translates into several instruction in machine language. A special software program called a compiler converts the programmers’s source code into the machine-languages instructions consisting of binary digits. A compiler creates a two-stage process for program execution. First, it translates the program into a machine language; second, the CPU executes that program. Another approach is to use an interpreter, which is a language translator that converts each statement in a programming language into…

    • 452 Words
    • 2 Pages
    Good Essays
  • Good Essays

    Developers of programmeing languages attempted to overcome some of the difficulties inherent in machine languages by replacing the binary digits with symbols that programmers could more easily understand.These second-generation languages use code like A for add, MCV for move, and so on.Another term for these languages in assembly languages, which comes from the programes (called assemblers) used to translate into machine code.System software programs such as Oss and utility programes are often written is an assembly languages.…

    • 1256 Words
    • 6 Pages
    Good Essays
  • Good Essays

    C++ Notes

    • 14968 Words
    • 60 Pages

    A C++ program is a collection of commands, which tell the computer to do "something". This collection of commands is usually called C++ source code, source code or just code. Commands are either "functions" or "keywords". Keywords are a basic building block of the language, while functions are, in fact, usually written in terms of simpler functions--you'll see this in our very first program, below. (Confused? Think of it a bit like an outline for a book; the outline might show every chapter in the book; each chapter might have its own outline, composed of sections. Each section might have its own outline, or it might have all of the details written up.) Thankfully, C++ provides a great many common functions and keywords that you canuse.…

    • 14968 Words
    • 60 Pages
    Good Essays
  • Good Essays

    Compiler Design Phases

    • 377 Words
    • 2 Pages

    * A compiler may construct intermediate representations while converting a source program to a target program.…

    • 377 Words
    • 2 Pages
    Good Essays