ddc-driver-0.4.1.3: Disciplined Disciple Compiler top-level driver.

Safe HaskellNone

DDC.Driver.Command.ToSalt

Synopsis

Documentation

cmdToSaltFromFileSource

Arguments

:: Config

Driver config.

-> FilePath

Module file path.

-> ErrorT String IO () 

Convert a module to Core Salt. The output is printed to stdout. Any errors are thrown in the ErrorT monad.

cmdToSaltSourceTetraFromFileSource

Arguments

:: Config

Driver config.

-> FilePath

Module file path.

-> ErrorT String IO () 

Convert Disciple Core Tetra to Disciple Core Salt. The result is printed to stdout. Any errors are thrown in the ErrorT monad.

cmdToSaltSourceTetraFromStringSource

Arguments

:: Config

Driver config.

-> Source

Source of the code.

-> String

Program module text.

-> ErrorT String IO () 

Convert Disciple Source Tetra to Disciple Core Salt. The result is printed to stdout. Any errors are thrown in the ErrorT monad.

cmdToSaltCoreFromFileSource

Arguments

:: Config

Driver config.

-> Language

Core language definition.

-> FilePath

Module file path.

-> ErrorT String IO () 

Convert some fragment of Disciple Core to Core Salt. Works for the Lite and Tetra fragments. The result is printed to stdout. Any errors are thrown in the ErrorT monad.

cmdToSaltCoreFromStringSource

Arguments

:: Config

Driver config.

-> Language

Language definition.

-> Source

Source of the code.

-> String

Program module text.

-> ErrorT String IO () 

Convert some fragment of Disciple Core to Core Salt. Works for the Lite and Tetra fragments. The result is printed to stdout. Any errors are thrown in the ErrorT monad.