Agda-2.5.2: A dependently typed functional programming language and proof assistant

Safe Haskell | None
Language | Haskell2010

Agda.Compiler.JS.Compiler

Synopsis

- compilerMain :: Interface -> TCM ()
- compile :: IsMain -> Interface -> TCM ()
- prefix :: [Char]
- jsMod :: ModuleName -> GlobalId
- jsFileName :: GlobalId -> String
- jsMember :: Name -> MemberId
- global' :: QName -> TCM (Exp, [MemberId])
- global :: QName -> TCM (Exp, [MemberId])
- reorder :: [Export] -> [Export]
- reorder' :: Set [MemberId] -> [Export] -> [Export]
- isTopLevelValue :: Export -> Bool
- isEmptyObject :: Export -> Bool
- insertAfter :: Set [MemberId] -> Export -> [Export] -> [Export]
- curModule :: IsMain -> TCM Module
- definition :: Maybe CoinductionKit -> (QName, Definition) -> TCM (Maybe Export)
- definition' :: Maybe CoinductionKit -> QName -> Definition -> Type -> [MemberId] -> TCM (Maybe Export)
- compileTerm :: TTerm -> TCM Exp
- compilePrim :: TPrim -> Exp
- compileAlt :: TAlt -> TCM (MemberId, Exp)
- visitorName :: QName -> TCM MemberId
- local :: Nat -> Exp
- qname :: QName -> TCM Exp
- literal :: Literal -> Exp
- litqname :: QName -> Exp
- writeModule :: Module -> TCM ()
- outFile :: GlobalId -> TCM FilePath
- outFile_ :: TCM FilePath
- copyRTEModules :: TCM ()
- primitives :: Set String

# Documentation

compilerMain :: Interface -> TCM () #

compile :: IsMain -> Interface -> TCM () #

prefix :: [Char] #

jsMod :: ModuleName -> GlobalId #

jsFileName :: GlobalId -> String #

jsMember :: Name -> MemberId #

global' :: QName -> TCM (Exp, [MemberId]) #

global :: QName -> TCM (Exp, [MemberId]) #

reorder :: [Export] -> [Export] #

reorder' :: Set [MemberId] -> [Export] -> [Export] #

isTopLevelValue :: Export -> Bool #

isEmptyObject :: Export -> Bool #

insertAfter :: Set [MemberId] -> Export -> [Export] -> [Export] #

curModule :: IsMain -> TCM Module #

definition :: Maybe CoinductionKit -> (QName, Definition) -> TCM (Maybe Export) #

definition' :: Maybe CoinductionKit -> QName -> Definition -> Type -> [MemberId] -> TCM (Maybe Export) #

compileTerm :: TTerm -> TCM Exp #

compilePrim :: TPrim -> Exp #

compileAlt :: TAlt -> TCM (MemberId, Exp) #

visitorName :: QName -> TCM MemberId #

local :: Nat -> Exp #

qname :: QName -> TCM Exp #

literal :: Literal -> Exp #

litqname :: QName -> Exp #

writeModule :: Module -> TCM () #

outFile :: GlobalId -> TCM FilePath #

outFile_ :: TCM FilePath #

copyRTEModules :: TCM () #

primitives :: Set String #

Primitives implemented in the JS Agda RTS.