Safe Haskell | None |
---|---|
Language | Haskell2010 |
Technique.Parser
Description
Commentary
We're optimizing for simplicity here. The language balances conventions from other languages with choices to not overcomplicate things. Not overloading operators, for example. Mostly we want to have "good error messages" which is tough and subjective anyway. Not having multiline anything, for example, might be a good choice, except that we also want to be whitepsace insensitive.
Documentation
pTechnique :: Parser Technique Source #
pMagicLine :: Parser Int Source #
pIdentifier :: Parser Identifier Source #
stringLiteral :: Parser Text Source #
numberLiteral :: Parser Int64 Source #
pAttribute :: Parser Attribute Source #
pExpression :: Parser Expression Source #
pStatement :: Parser Statement Source #
pProcedureDeclaration :: Parser (Identifier, [Identifier], [Type], [Type]) Source #
pProcedureCode :: Parser Procedure Source #