cvs commit: fptools/ghc/compiler/basicTypes OccName.lhs
fptools/ghc/compiler/hsSyn
Convert.lhs HsDecls.lhs fptools/ghc/compiler/parser Parser.y.pp
ParserCore.y RdrHsSyn.lhs fptools/ghc/compiler/typecheck
TcSplice.lhs
Simon Peyton Jones
simonpj at microsoft.com
Sat Nov 12 16:41:12 EST 2005
simonpj 2005/11/12 13:41:12 PST
Modified files:
ghc/compiler/basicTypes OccName.lhs
ghc/compiler/hsSyn Convert.lhs HsDecls.lhs
ghc/compiler/parser Parser.y.pp ParserCore.y RdrHsSyn.lhs
ghc/compiler/typecheck TcSplice.lhs
Log:
Better TH -> HsSyn conversion
Merge to stable (attempt)
This commit monad-ises the TH syntax -> HS syntax conversion.
This means that error messages can be reported in a more civilised
way. It also ensures that the entire structure is converted eagerly.
That means that any exceptions buried inside it are triggered
during conversion, and caught by the exception handler in TcSplice.
Before, they could be triggered later, and looked like comiler
crashes.
Revision Changes Path
1.66 +2 -2 fptools/ghc/compiler/basicTypes/OccName.lhs
1.68 +403 -279 fptools/ghc/compiler/hsSyn/Convert.lhs
1.114 +12 -0 fptools/ghc/compiler/hsSyn/HsDecls.lhs
1.37 +3 -3 fptools/ghc/compiler/parser/Parser.y.pp
1.24 +2 -2 fptools/ghc/compiler/parser/ParserCore.y
1.92 +1 -1 fptools/ghc/compiler/parser/RdrHsSyn.lhs
1.65 +36 -35 fptools/ghc/compiler/typecheck/TcSplice.lhs
More information about the Cvs-ghc
mailing list