mirror of
https://github.com/github/semantic.git
synced 2024-12-26 00:12:29 +03:00
Move Semantic.Eval to Analysis.Eval.
This commit is contained in:
parent
f955ecbb6e
commit
7559eed761
@ -19,6 +19,7 @@ tested-with: GHC == 8.6.4
|
|||||||
|
|
||||||
library
|
library
|
||||||
exposed-modules: Analysis.Concrete
|
exposed-modules: Analysis.Concrete
|
||||||
|
, Analysis.Eval
|
||||||
, Analysis.FlowInsensitive
|
, Analysis.FlowInsensitive
|
||||||
, Analysis.ImportGraph
|
, Analysis.ImportGraph
|
||||||
, Analysis.ScopeGraph
|
, Analysis.ScopeGraph
|
||||||
@ -28,7 +29,6 @@ library
|
|||||||
, Data.Loc
|
, Data.Loc
|
||||||
, Data.Stack
|
, Data.Stack
|
||||||
, Semantic.Core
|
, Semantic.Core
|
||||||
, Semantic.Eval
|
|
||||||
, Semantic.Name
|
, Semantic.Name
|
||||||
-- other-modules:
|
-- other-modules:
|
||||||
-- other-extensions:
|
-- other-extensions:
|
||||||
|
@ -11,6 +11,7 @@ module Analysis.Concrete
|
|||||||
|
|
||||||
import qualified Algebra.Graph as G
|
import qualified Algebra.Graph as G
|
||||||
import qualified Algebra.Graph.Export.Dot as G
|
import qualified Algebra.Graph.Export.Dot as G
|
||||||
|
import Analysis.Eval
|
||||||
import Control.Applicative (Alternative (..))
|
import Control.Applicative (Alternative (..))
|
||||||
import Control.Effect
|
import Control.Effect
|
||||||
import Control.Effect.Fail
|
import Control.Effect.Fail
|
||||||
@ -28,7 +29,6 @@ import qualified Data.Map as Map
|
|||||||
import Data.Monoid (Alt(..))
|
import Data.Monoid (Alt(..))
|
||||||
import Prelude hiding (fail)
|
import Prelude hiding (fail)
|
||||||
import qualified Semantic.Core as Core
|
import qualified Semantic.Core as Core
|
||||||
import Semantic.Eval
|
|
||||||
import Semantic.Name
|
import Semantic.Name
|
||||||
|
|
||||||
type Precise = Int
|
type Precise = Int
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{-# LANGUAGE FlexibleContexts, GeneralizedNewtypeDeriving, LambdaCase, RankNTypes, RecordWildCards #-}
|
{-# LANGUAGE FlexibleContexts, GeneralizedNewtypeDeriving, LambdaCase, RankNTypes, RecordWildCards #-}
|
||||||
module Semantic.Eval
|
module Analysis.Eval
|
||||||
( eval
|
( eval
|
||||||
, prog1
|
, prog1
|
||||||
, prog2
|
, prog2
|
@ -5,6 +5,7 @@ module Analysis.ImportGraph
|
|||||||
, importGraphAnalysis
|
, importGraphAnalysis
|
||||||
) where
|
) where
|
||||||
|
|
||||||
|
import Analysis.Eval
|
||||||
import Analysis.FlowInsensitive
|
import Analysis.FlowInsensitive
|
||||||
import Control.Applicative (Alternative(..))
|
import Control.Applicative (Alternative(..))
|
||||||
import Control.Effect
|
import Control.Effect
|
||||||
@ -21,7 +22,6 @@ import qualified Data.Map as Map
|
|||||||
import qualified Data.Set as Set
|
import qualified Data.Set as Set
|
||||||
import Prelude hiding (fail)
|
import Prelude hiding (fail)
|
||||||
import qualified Semantic.Core as Core
|
import qualified Semantic.Core as Core
|
||||||
import Semantic.Eval
|
|
||||||
import Semantic.Name
|
import Semantic.Name
|
||||||
|
|
||||||
type ImportGraph = Map.Map FilePath (Set.Set FilePath)
|
type ImportGraph = Map.Map FilePath (Set.Set FilePath)
|
||||||
|
@ -10,6 +10,7 @@ module Analysis.Typecheck
|
|||||||
, typecheckingAnalysis
|
, typecheckingAnalysis
|
||||||
) where
|
) where
|
||||||
|
|
||||||
|
import Analysis.Eval
|
||||||
import Analysis.FlowInsensitive
|
import Analysis.FlowInsensitive
|
||||||
import Control.Applicative (Alternative (..))
|
import Control.Applicative (Alternative (..))
|
||||||
import Control.Effect
|
import Control.Effect
|
||||||
@ -30,7 +31,6 @@ import qualified Data.Map as Map
|
|||||||
import qualified Data.Set as Set
|
import qualified Data.Set as Set
|
||||||
import Prelude hiding (fail)
|
import Prelude hiding (fail)
|
||||||
import qualified Semantic.Core as Core
|
import qualified Semantic.Core as Core
|
||||||
import Semantic.Eval
|
|
||||||
import Semantic.Name
|
import Semantic.Name
|
||||||
|
|
||||||
data Monotype a
|
data Monotype a
|
||||||
|
Loading…
Reference in New Issue
Block a user