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

16 lines
307 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
2022-12-20 15:05:40 +03:00
{ _miniCInputFile :: AppPath File
2022-09-14 17:16:15 +03:00
}
deriving stock (Data)
makeLenses ''MiniCOptions
parseMiniC :: Parser MiniCOptions
parseMiniC = do
_miniCInputFile <- parseInputJuvixFile
pure MiniCOptions {..}