Safe Haskell | None |
---|---|
Language | Haskell2010 |
Every function in this module takes a flag that determines whether the input is an Oberon or Oberon-2 module.
- parseModule :: Bool -> Text -> ParseResults [Module Ambiguous]
- parseAndResolveModule :: Bool -> FilePath -> Text -> IO (Validation (NonEmpty Error) (Module Identity))
- parseAndResolveModuleFile :: Bool -> FilePath -> IO (Validation (NonEmpty Error) (Module Identity))
Documentation
parseModule :: Bool -> Text -> ParseResults [Module Ambiguous] Source #
Parse the given text of a single module, without resolving the syntactic ambiguities.