scalie/src/Language/Scalie/Compiler/Bytecode.hs

16 lines
347 B
Haskell

{-# LANGUAGE Safe #-}
module Language.Scalie.Compiler.Bytecode (EntryPoint, CompilationError(..)) where
-- meta
import Data.Kind (Type)
-- data structures
import Data.Text (Text)
-- | The name of the entrypoint function
type EntryPoint :: Type
type EntryPoint = Text
type CompilationError :: Type
newtype CompilationError = NameNotFound Text