mirror of
https://github.com/anoma/juvix.git
synced 2024-12-15 18:13:56 +03:00
16 lines
377 B
Haskell
16 lines
377 B
Haskell
|
{-# LANGUAGE ApplicativeDo #-}
|
||
|
module Commands.MiniHaskell where
|
||
|
|
||
|
import Commands.Extra
|
||
|
import Options.Applicative
|
||
|
import MiniJuvix.Prelude hiding (Doc)
|
||
|
|
||
|
data MiniHaskellOptions = MiniHaskellOptions
|
||
|
{ _mhaskellInputFile :: FilePath
|
||
|
}
|
||
|
|
||
|
parseMiniHaskell :: Parser MiniHaskellOptions
|
||
|
parseMiniHaskell = do
|
||
|
_mhaskellInputFile <- parseInputFile
|
||
|
pure MiniHaskellOptions {..}
|