Rename Mima.Parser to Mima.Parse
This commit is contained in:
parent
4b4c0605b5
commit
c91d3f23e9
5 changed files with 9 additions and 9 deletions
|
|
@ -16,7 +16,7 @@ import qualified Data.Text.IO as T
|
|||
import System.IO.Error
|
||||
import Text.Megaparsec
|
||||
|
||||
import Mima.Parser.Common
|
||||
import Mima.Parse.Common
|
||||
|
||||
type Run a = ExceptT String IO a
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
module Mima.Parser.Common
|
||||
module Mima.Parse.Common
|
||||
( Parser
|
||||
-- * Basic parsers
|
||||
, whitespace
|
||||
|
|
@ -17,10 +17,10 @@ module Mima.Parser.Common
|
|||
) where
|
||||
|
||||
import Data.Char
|
||||
import qualified Data.Set as Set
|
||||
import qualified Data.Text as T
|
||||
import Data.Void
|
||||
import Text.Megaparsec
|
||||
import qualified Data.Set as Set
|
||||
|
||||
import Mima.Word
|
||||
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
{-# LANGUAGE OverloadedStrings #-}
|
||||
|
||||
module Mima.Parser.FlagFile
|
||||
module Mima.Parse.FlagFile
|
||||
( parseFlagFile
|
||||
) where
|
||||
|
||||
|
|
@ -11,8 +11,8 @@ import qualified Data.Set as Set
|
|||
import Text.Megaparsec
|
||||
|
||||
import Mima.Flag
|
||||
import Mima.Parser.Common
|
||||
import Mima.Parser.Lexeme
|
||||
import Mima.Parse.Common
|
||||
import Mima.Parse.Lexeme
|
||||
import Mima.Word
|
||||
|
||||
lAddress :: Parser MimaAddress
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
module Mima.Parser.Lexeme
|
||||
module Mima.Parse.Lexeme
|
||||
( space
|
||||
, lexeme
|
||||
, symbol
|
||||
|
|
@ -12,7 +12,7 @@ import Text.Megaparsec
|
|||
import qualified Text.Megaparsec.Char as C
|
||||
import qualified Text.Megaparsec.Char.Lexer as L
|
||||
|
||||
import Mima.Parser.Common
|
||||
import Mima.Parse.Common
|
||||
|
||||
space :: Parser ()
|
||||
space = L.space (void whitespace) empty empty
|
||||
Loading…
Add table
Add a link
Reference in a new issue