Changes between Version 3 and Version 4 of Commentary/Compiler/Parser


Ignore:
Timestamp:
Jul 5, 2010 12:07:08 AM (4 years ago)
Author:
strake
Comment:

Added how Parser.y.pp becomes Parser.y

Legend:

Unmodified
Added
Removed
Modified
  • Commentary/Compiler/Parser

    v3 v4  
    88The parser is written using 
    99 * Alex, for lexical analysis.  Source file [[GhcFile(compiler/parser/Lexer.x)]] 
    10  * Happy, for the parser itself.  Source file [[GhcFile(compiler/parser/Parser.y.pp)]].  Note the `.pp` suffix; do not edit `Parser.y`!  [I forget how it's preprocessed to get from `.y.pp` to `.y`] 
     10 * Happy, for the parser itself.  Source file [[GhcFile(compiler/parser/Parser.y.pp)]].  Note the `.pp` suffix; it is run through `cpp` to yield `Parser.y`. 
    1111 * `RdrHsSyn`, for Haskell support functions.  Source file [[GhcFile(compiler/parser/RdrHsSyn.lhs)]] 
    1212