while-lang-parser-0.1.0.0: Parser for the While language.
Language.While.Parser
Description
Provides parsing of while-language code. Supports reading either a file or stdin, resulting in an AST.
Synopsis
loadFile :: FilePath -> IO (Either String Stm)Source
Parse the specified file and return either failure or the program.
loadStdin :: IO (Either String Stm)Source
Parse stdin and return either failure or the program.