Wednesday, March 23, 2016

From a compiler a designer point of view, what are the source of errors in compiler?


  • There are many sources to occur error. These are the source of errors in compiler-
  • At the very onset, the design specifications for the program may be inconsistent or faulty.
  • The algorithms are incorrect or inadequate (algorithmic errors).
  • The programmer may introduce error in implementing the algorithm - such as logical errors or coding error.
  • Key punching or transcription errors can occur when the program is types on to cards or into a file.
  • The program may exceed a compiler or machine limit not impiled by the definition of the programming language.
  • Compiler can inserts errors as it translates source program into an object program.This error is referred compiler errors.
If You want to learn about the technology, computer science & engineering, web programming, freelancing, earning please click here :CSE SOLVE

Related Posts:

  • What is L-value? L-value:  The term "l-value" refers to values that are appropriate on the left of an asignment expression.So, l-values are location.Sometimes, an expression has no l-value. Example:   i:=5;  &n… Read More
  • What is R-Value? R-Value:  The term  "r-value"  refers to values that are appropriate on the right of an assignment/expression.That is, r-values are what we usually think of "values". Example:   i:=5;  &n… Read More
  • What is Pre-Processor? Pre-Processor:   Pre-processor produces a input to compilers which are perform the following function:- Macro Processing File Inclusion Rational Preprocessor & Extension of Language If You want to lea… Read More
  • What is Copy-restore? Copy-restore:  A hybrid between call-by-value & call-by-reference is copy restore linkage. 1.Before the call, the actual parameters are evaluated. The r-values of the actual are passed to the called procedure as i… Read More
  • What is Phase? Phase:  A phase is a logically cohesive operation that takes as input one representation of the source & produces as output another representation.These are Six phases are used in compiler design. These are- &nbs… Read More

0 comments:

Post a Comment