mirror of
https://github.com/anoma/juvix.git
synced 2024-12-22 22:31:33 +03:00
16 lines
299 B
Haskell
16 lines
299 B
Haskell
|
module Commands.Dev.MiniC.Options where
|
||
|
|
||
|
import CommonOptions
|
||
|
|
||
|
newtype MiniCOptions = MiniCOptions
|
||
|
{ _miniCInputFile :: Path
|
||
|
}
|
||
|
deriving stock (Data)
|
||
|
|
||
|
makeLenses ''MiniCOptions
|
||
|
|
||
|
parseMiniC :: Parser MiniCOptions
|
||
|
parseMiniC = do
|
||
|
_miniCInputFile <- parseInputJuvixFile
|
||
|
pure MiniCOptions {..}
|