1
1
mirror of https://github.com/anoma/juvix.git synced 2024-12-22 22:31:33 +03:00
juvix/app/Commands/Dev/MiniC/Options.hs

16 lines
299 B
Haskell
Raw Normal View History

2022-09-14 17:16:15 +03:00
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 {..}