| Portability | portable |
|---|---|
| Stability | experimental |
| Maintainer | Alex Kropivny <alex.kropivny@gmail.com> |
Language.CoreErlang.Parser
Description
CoreErlang parser. http://www.it.uu.se/research/group/hipe/cerl/
- parseModule :: String -> Either ParseError (Ann Module)
- data ParseError
Documentation
parseModule :: String -> Either ParseError (Ann Module)Source
Parse of a string, which should contain a complete CoreErlang module
data ParseError
The abstract data type ParseError represents parse errors. It
provides the source position (SourcePos) of the error
and a list of error messages (Message). A ParseError
can be returned by the function Text.Parsec.Prim.parse. ParseError is an
instance of the Show class.
Instances