Language.Sh.Parser
Description
Here we use the stuff defined in the AST and Parsec modules to parse things.
Documentation
Arguments
| :: [(String, String)] | list of alises to expand |
| -> String | input string |
| -> Either (String, Bool) [Command] |
This is the main export here. We take a list of aliases for the
environment and a String to parse. The return type is Right
[Command] if parsing succeeded and Left (String,Bool) upon
failure. The Bool is True when the error was fatal/unrecoverable.
hereDocsComplete :: [Command] -> BoolSource