Copyright | (C) 2015 Richard Eisenberg |
---|---|
License | BSD-style (see LICENSE) |
Maintainer | Richard Eisenberg (eir@cis.upenn.edu) |
Stability | experimental |
Safe Haskell | None |
Language | Haskell2010 |
Parses tokens into the un-type-checked AST. Parsing, in glambda, also includes name resolution. This all might conceivably be done in a later pass, but there doesn't seem to be an incentive to do so.
Documentation
parseStmtsG :: [LToken] -> GlamE [Statement] Source
Parse a sequence of semicolon-separated statements, aborting with an error upon failure
parseStmts :: [LToken] -> Either String [Statement] Source
Parse a sequence of semicolon-separated statements