Safe Haskell | None |
---|---|
Language | Haskell98 |
- cmdToPHPFromFile :: Config -> Store -> FilePath -> ExceptT String IO ()
- cmdToPHPSourceTetraFromFile :: Config -> Store -> FilePath -> ExceptT String IO ()
- cmdToPHPSourceTetraFromString :: Config -> Store -> Source -> String -> ExceptT String IO ()
- cmdToPHPCoreFromFile :: Config -> Language -> FilePath -> ExceptT String IO ()
- cmdToPHPCoreFromString :: Config -> Language -> Source -> String -> ExceptT String IO ()
Documentation
:: Config | Driver config. |
-> Store | Interface store. |
-> FilePath | Core language definition. |
-> ExceptT String IO () |
Convert a module to PHP.
The output is printed to stdout
.
Any errors are thrown in the ExceptT
monad.
cmdToPHPSourceTetraFromFile Source #
Convert Disciple Source Tetra to PHP.
The result is printed to stdout
.
Any errors are thrown in the ExceptT
monad.
cmdToPHPSourceTetraFromString Source #
:: Config | Driver config. |
-> Store | Interface store. |
-> Source | Source of the code. |
-> String | Program module text. |
-> ExceptT String IO () |
Convert Disciple Source Tetra to PHP.
The result is printed to stdout
.
Any errors are thrown in the ExceptT
monad.