Re: Structured exception information

"Jeffrey Carter" <spam.jrcarter.not@xxxxxxxxxxxxxxxx> wrote in message
Maciej Sobczak wrote:

Another example - imagine that your compiler just prints
"COMPILER_ERROR" instead of everything that it actually prints.
That wouldn't be very funny!

Since Compiler_Error would be an error with the compiler, not with the
source code it was compiling, this would apparently be a compiler that
couldn't compile anything. Now a compiler that just said "Compilation
error" for any errors in the source would be irritating. Might be a good
learning tool, though.

The error handling of early Ada compilers, especially for resolution errors,
was essentially this. You still see it once in a while with complex
expressions where the compiler cannot figure out what it is that you're



Relevant Pages

  • Re: GPL vs non-GPL device drivers
    ... shipped the source code of the modified POP server. ... given you the compiler he compiled it with, ... Actually, if memory serves, when you license a work under the GPL, part of the ... a derivative work" the claim is invalid - because, as it has been shown, a ...
  • Re: more compiler switches
    ... Also print the version number of the compiler ... driver program and of the preprocessor and the compiler proper. ... C source code which should not be preprocessed. ... Like -v except the commands are not executed and all command arguments are ...
  • Re: Dad upgrade.
    ... If the source code is available in full, the job of compiling it is very ... end of it, you do just hit the `go' button on the compiler, and out pops ... neither is any good without some hardware to store it and execute it - ... program will be happily translated into machine code for whatever CPU ...
  • Re: Syntax for union parameter
    ... It allows a compiler designer to create a compiler that implements ... in how the mechanics of the language could be implemented. ... I believe Java got it wrong in this case (if Java really does left to ... a source code line must be filled should be the absolute determining ...
  • Re: Is a universal intermediate form practical?
    ... and multiple targets (compiler outputs) translation is ... normally from source code to some sort of intermediate form and then from ... language) and mutliple back ends (one for each target machine). ...