refactor[core]: Ast
module is now Core
This commit is contained in:
parent
13c3e4d007
commit
45c02e7e54
10 changed files with 24 additions and 24 deletions
|
@ -1,10 +1,10 @@
|
|||
{-# LANGUAGE Trustworthy #-} -- uses vector operations
|
||||
{-# LANGUAGE OverloadedRecordDot #-}
|
||||
module Language.Scalie.Compiler.Bytecode (EntryPoint, compile, CompilationError(..)) where
|
||||
import Language.Scalie.Ast.Module (Module (definitions))
|
||||
import Language.Scalie.Core.Module (Module (definitions))
|
||||
import Data.Text (Text)
|
||||
import Language.Scalie.Ast.Provenance (Provenance (value, Provenance, source))
|
||||
import Language.Scalie.Ast.Provenance.SourceLocation (SourceLocation)
|
||||
import Language.Scalie.Core.Provenance (Provenance (value, Provenance, source))
|
||||
import Language.Scalie.Core.Provenance.SourceLocation (SourceLocation)
|
||||
import Language.Scalie.Bytecode.Object qualified as Bytecode
|
||||
import Data.Kind (Type)
|
||||
import Data.Either (Either (Left, Right))
|
||||
|
@ -14,8 +14,8 @@ import Data.Function (($))
|
|||
import Data.Functor ((<$>))
|
||||
import Data.Map.Implicit qualified as ImplicitMap
|
||||
import Data.Maybe (Maybe(Nothing, Just))
|
||||
import Language.Scalie.Ast.Definition (Definition(body, name))
|
||||
import Language.Scalie.Ast.Expression (Expression(RawInt))
|
||||
import Language.Scalie.Core.Definition (Definition(body, name))
|
||||
import Language.Scalie.Core.Expression (Expression(RawInt))
|
||||
import Language.Scalie.Bytecode.Instruction qualified as Instruction
|
||||
|
||||
-- | The name of the entrypoint function
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue