Changes between Version 3 and Version 4 of Doc/compiler/results


Ignore:
Timestamp:
Mar 7, 2007, 3:57:51 PM (17 years ago)
Author:
/O=GRID-FR/C=FR/O=CNRS/OU=LAL/CN=Charles Loomis
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Doc/compiler/results

    v3 v4  
    2424
    2525If something goes wrong with the compilation or build, then one or more errors should be printed to the console.  There are four categories of errors:
    26  1. Syntax errors
    27  2. Evaluation errors
    28  3. Validation errors
    29  4. System errors
    30 The syntax errors include any errors that can be caught during the compilation of a single template.  These include lexing, parsing, and syntax errors, but also semantic error like absolute assignment statements appearing in a structure template.  Evaluation errors are the most common; these include any error that happens during the "execution" phase of processing like mathematical errors, primitive type conflicts, etc.  Validation error occur during the "validation" phase and indicate that the generated machine profile violates the defined schema in some way.  Lastly, there are system errors that include low-level problems like problems reading or writing to disk.
     26 1. Syntax errors:  These include any errors that can be caught during the compilation of a single template.  These include lexing, parsing, and syntax errors, but also semantic error like absolute assignment statements appearing in a structure template. 
     27 2. Evaluation errors:  These are the most common; these include any error that happens during the "execution" phase of processing like mathematical errors, primitive type conflicts, etc. 
     28 3. Validation errors:  Validation error occur during the "validation" phase and indicate that the generated machine profile violates the defined schema in some way. 
     29 4. System errors:  These include low-level problems like problems reading or writing to disk.
    3130
    3231In general, the errors try to indicate as precisely as possible the problem.  Usually the name of the source file as well as the location inside the file (line and column numbers) are indicated.  For most evaluation exceptions, a traceback is also provided.  Validation errors are the most terse, giving only the element causing the problem and the location of the type definition that has been violated.