Safe Haskell | None |
---|
- cmdToLlvmFromFile :: Config -> FilePath -> ErrorT String IO ()
- cmdToLlvmSourceTetraFromFile :: Config -> FilePath -> ErrorT String IO ()
- cmdToLlvmSourceTetraFromString :: Config -> Source -> String -> ErrorT String IO ()
- cmdToLlvmCoreFromFile :: Config -> Language -> FilePath -> ErrorT String IO ()
- cmdToLlvmCoreFromString :: Config -> Language -> Source -> String -> ErrorT String IO ()
Documentation
Convert a module to LLVM.
The output is printed to stdout
.
Any errors are thrown in the ErrorT
monad.
cmdToLlvmSourceTetraFromFileSource
Convert Disciple Source Tetra to LLVM.
The result is printed to stdout
.
Any errors are thrown in the ErrorT
monad.
cmdToLlvmSourceTetraFromStringSource
:: Config | Driver config. |
-> Source | Source of the code. |
-> String | Program module text. |
-> ErrorT String IO () |
Convert Disciple Source Tetra to LLVM.
The result is printed to stdout
.
Any errors are thrown in the ErrorT
monad.
:: Config | Driver config. |
-> Language | Core language definition. |
-> FilePath | Module file path. |
-> ErrorT String IO () |
Parse, check and convert a Core module to LLVM.
Works for the Tetra
, Lite
and Salt
fragments.
The result is printed to stdout
.
Any errors are thrown in the ErrorT
monad.
:: Config | Driver config. |
-> Language | Language definition. |
-> Source | Source of the code. |
-> String | Program module text. |
-> ErrorT String IO () |
Parse, check and convert a Core module to LLVM.
Works for the Tetra
, Lite
and Salt
fragments.
The result is printed to stdout
.
Any errors are thrown in the ErrorT
monad.