Language.Giml.Compiler.Run
Description
Command-line interface for gimlc
data Command w Source #
gimlc cli interface type
Constructors
Fields
Defined in Language.Giml.Compiler.Run
Associated Types
type Rep (Command w) :: Type -> Type #
Methods
from :: Command w -> Rep (Command w) x #
to :: Rep (Command w) x -> Command w #
showsPrec :: Int -> Command Unwrapped -> ShowS #
show :: Command Unwrapped -> String #
showList :: [Command Unwrapped] -> ShowS #
parseRecord :: Parser (Command Wrapped) #
run :: IO () Source #
Reads command-line arguments and acts accordingly
logact :: FilePath -> Maybe Verbosity -> LogAction IO LogMsg Source #
process :: (FilePath -> Text -> IO (Either Text Text)) -> FilePath -> Maybe FilePath -> IO () Source #
Takes a processing function, an input file and optionally an output file