Wed Mar 19 18:44:49 PDT 2008 Tim Chevalier <[EMAIL PROTECTED]>
* Handle hierarchical module names in External Core tools
I updated the parser to handle hierarchical module names (with package names)
the way GHC is currently printing them out in External Core.
Beware kludgy use of z-encoding and gratutious copy-pasta from GHC.
You can now use the stand-alone Core parser to parse a very simple
GHC-generated .hcr file (progress!) but not to typecheck or interpret it
(the typechecker/interpreter don't snarf in the right libraries yet, among
other things.) And, the parser is still incomplete in that it doesn't handle
programs with newtypes/GADTs/etc. whose syntax has changed since 2003. In
other words: probably don't try to use this yet.
M ./utils/ext-core/Check.hs -1 +1
M ./utils/ext-core/Driver.hs -3 +13
A ./utils/ext-core/Encoding.hs
M ./utils/ext-core/Interp.hs -1 +1
M ./utils/ext-core/Lex.hs +1
M ./utils/ext-core/ParseGlue.hs -1 +15
M ./utils/ext-core/Parser.y -5 +13
M ./utils/ext-core/Prep.hs -1 +1
M ./utils/ext-core/Printer.hs -5 +22
_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc