CoreErlang-0.0.3: Manipulating Core Erlang source code

Copyright(c) Henrique Ferreiro García 2008 (c) David Castro Pérez 2008
LicenseBSD-style (see the file LICENSE)
MaintainerAlex Kropivny <alex.kropivny@gmail.com>
Stabilityexperimental
Portabilityportable
Safe HaskellSafe
LanguageHaskell98

Language.CoreErlang.Parser

Description

Synopsis

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 parse. ParseError is an instance of the Show and Eq classes.