-
Added GHC-lib front end and command line option for front end selection
- A front end can be specified with
--frontend=FRONTENDor-f FRONTEND. - Allowed values are:
haskell-src-exts,ghc-lib. haskell-src-extsis used by default.
- A front end can be specified with
-
Improved error messages
- Added and updated error messages state the cause of many errors more clearly.
- Warnings for skipped unsupported features have been added.
- Most error messages contain input code excerpts showing the location the error occurred.
-
Added support for module imports
- Regular, qualified and aliased imports between input modules are supported.
- Import specifications (explicitly importing or
hidingcertain types, constructors or functions) are not supported and skipped.
-
Source spans are now largely retained during the compilation
- This does not affect the output of the pattern matching compiler, but can be useful when using the compiler as a library.
-
Various bug fixes
- Fixed compile-time warnings
The library and executable can now be compiled with GHC's-Walland-Werrorflags set.
- Initial version