eo-phi-normalizer-2.2.2: Command line normalizer of 𝜑-calculus expressions.
Safe HaskellSafe-Inferred
LanguageHaskell2010

Language.EO.Phi

Synopsis

Documentation

defaultMain :: IO () Source #

Default entry point. Parses a 𝜑-program from standard input, normalizes, then pretty-prints the result to standard output.

normalize :: Program -> Program Source #

Normalize an input 𝜑-program.

parseProgram :: String -> Either String Program Source #

Parse a Program or return a parsing error.

unsafeParseObject :: String -> Object Source #

Parse an Object from a String. May throw an error if input has a syntactical or lexical errors.

unsafeParseProgram :: String -> Program Source #

Parse a Program from a String. May throw an error if input has a syntactical or lexical errors.