[project @ 2002-03-14 15:47:52 by simonmar]
authorsimonmar <unknown>
Thu, 14 Mar 2002 15:47:55 +0000 (15:47 +0000)
committersimonmar <unknown>
Thu, 14 Mar 2002 15:47:55 +0000 (15:47 +0000)
commitb9312420f355a3b6f24f3bd732300d9e03f59268
treef80e04d21f2e88ffcf338f0e0d8f97588063eec6
parent1553c7788e7f663bfc55813158325d695a21a229
[project @ 2002-03-14 15:47:52 by simonmar]
Remove the interface file parser, and move .hi-boot parsing into the
main parser.  The syntax of .hi-boot files is now greatly improved in
terms of readability; here's an example:

module M where
data T
f :: T -> GHC.Base.Int

note that
(a) layout can be used
(b) there's no explcit export list; everything declared
    is implicitly exported
(c) Z-encoding of names is no longer required
(d) Any identifier not declared in the current module must
    still be quailified with the module which originally
    defined it (eg. GHC.Base.Int above).

We'd like to relax (d), but that will come later.
35 files changed:
ghc/compiler/basicTypes/DataCon.hi-boot-6
ghc/compiler/basicTypes/IdInfo.hi-boot-6
ghc/compiler/basicTypes/MkId.hi-boot-6
ghc/compiler/basicTypes/Module.hi-boot-6
ghc/compiler/basicTypes/Name.hi-boot-6
ghc/compiler/basicTypes/Var.hi-boot-6
ghc/compiler/codeGen/CgBindery.hi-boot-6
ghc/compiler/codeGen/CgExpr.hi-boot-6
ghc/compiler/codeGen/CgUsages.hi-boot-6
ghc/compiler/codeGen/ClosureInfo.hi-boot-6
ghc/compiler/coreSyn/CoreSyn.hi-boot-6
ghc/compiler/coreSyn/Subst.hi-boot-6
ghc/compiler/deSugar/DsExpr.hi-boot-6
ghc/compiler/deSugar/Match.hi-boot-6
ghc/compiler/hsSyn/HsExpr.hi-boot-6
ghc/compiler/nativeGen/MachMisc.hi-boot-6
ghc/compiler/nativeGen/StixPrim.hi-boot-6
ghc/compiler/parser/Ctype.lhs
ghc/compiler/parser/Lex.lhs
ghc/compiler/parser/ParseUtil.lhs
ghc/compiler/parser/Parser.y
ghc/compiler/rename/ParseIface.y [deleted file]
ghc/compiler/rename/RnBinds.hi-boot-6
ghc/compiler/rename/RnEnv.lhs
ghc/compiler/rename/RnHiFiles.hi-boot-6
ghc/compiler/rename/RnHiFiles.lhs
ghc/compiler/typecheck/TcEnv.hi-boot-6
ghc/compiler/typecheck/TcExpr.hi-boot-6
ghc/compiler/typecheck/TcMatches.hi-boot-6
ghc/compiler/typecheck/TcType.hi-boot-6
ghc/compiler/typecheck/TcUnify.hi-boot-6
ghc/compiler/types/Generics.hi-boot-6
ghc/compiler/types/PprType.hi-boot-6
ghc/compiler/types/TyCon.hi-boot-6
ghc/compiler/types/TypeRep.hi-boot-6