Copyright | Satoshi Egi |
---|---|
License | MIT |
Safe Haskell | None |
Language | Haskell98 |
This module provide Egison parser.
Synopsis
- readTopExprs :: String -> EgisonM [EgisonTopExpr]
- readTopExpr :: String -> EgisonM EgisonTopExpr
- readExprs :: String -> EgisonM [EgisonExpr]
- readExpr :: String -> EgisonM EgisonExpr
- parseTopExprs :: String -> Either EgisonError [EgisonTopExpr]
- parseTopExpr :: String -> Either EgisonError EgisonTopExpr
- parseExprs :: String -> Either EgisonError [EgisonExpr]
- parseExpr :: String -> Either EgisonError EgisonExpr
- loadLibraryFile :: FilePath -> EgisonM [EgisonTopExpr]
- loadFile :: FilePath -> EgisonM [EgisonTopExpr]
Parse a string
readTopExprs :: String -> EgisonM [EgisonTopExpr] Source #
readTopExpr :: String -> EgisonM EgisonTopExpr Source #
parseTopExprs :: String -> Either EgisonError [EgisonTopExpr] Source #
parseExprs :: String -> Either EgisonError [EgisonExpr] Source #
Parse a file
loadLibraryFile :: FilePath -> EgisonM [EgisonTopExpr] Source #
Load a libary file