and so what's the meaning of all those files in
libraries/haskell-src/Languag/Haskell?

Where can i find some documentation about the parser of the GHC?


2007/5/31, Stefan O'Rear <[EMAIL PROTECTED]>:

On Wed, May 30, 2007 at 07:24:49PM +0200, Luca Torella wrote:
> Hi, i've just downloaded the GHC code from the darcs repository and
> i'd like to learn how GHC parse the haskell code to use it in the
> next stages of the compilation.
>
> I started digging into the code, since i didn't found a good document
> to read about it. I know that the parser is generated through Happy,
> but I'd like more information. If you know a good document that i can
> read to start understanding better the code, it's well welcome.
>
> Moreover, digging into the code, I found something like two almost
> equal haskell code parser... one in compiler/parser/ and one in
> libraries/haskell-src/Language/Haskell... which one is the one used
> by GHC?

The first.

Stefan

_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc
  • Re: parser Luca Torella

Reply via email to