1
1
mirror of https://github.com/github/semantic.git synced 2024-12-21 13:51:44 +03:00
semantic/semantic-ast/src/CLI.hs

19 lines
339 B
Haskell
Raw Normal View History

2019-10-01 18:25:14 +03:00
{-# LANGUAGE ApplicativeDo #-}
2019-10-02 00:01:50 +03:00
{-# LANGUAGE TypeApplications #-}
2019-10-02 00:02:08 +03:00
module CLI (main) where
2019-10-01 18:25:14 +03:00
2019-10-02 00:03:02 +03:00
import System.Environment
2019-10-02 00:03:18 +03:00
import Source.Range
import Source.Span
2019-10-01 18:25:14 +03:00
newtype SignalException = SignalException Signal
deriving (Show, Typeable)
instance Exception SignalException
main :: IO ()
main = do
args <- getArgs
parseByteString getArgs