ModuleAgda-2.8.0.2Haskell2010
Agda.Compiler.JS.Compiler
Main module for JS backend.
Synopsis
- value jsBackend
- value jsBackend'
- data JSOptions
- value defaultJSOptions
- value jsCommandLineFlags
- value jsPreCompile
- value jsPostCompile
- data JSModuleEnv
- value jsPreModule
- value jsPostModule
- value jsCompileDef
- value prefix
- value jsMod
- value jsFileName
- value jsMember
- value global'
- value global
- value reorder
- value reorder'
- value isTopLevelValue
- value isEmptyObject
- value insertAfter
- type EnvWithOpts
- value definition
- value checkCompilerPragmas
- value defJSDef
- value definition'
- value compileTerm
- value compilePrim
- value compileAlt
- value visitorName
- value flatName
- value local
- value qname
- value literal
- value litqname
- value litmeta
- value writeModule
- value outFile
- value primitives
- PackageAgda-2.8.0.2
- Exports40
- LanguageHaskell2010
- LicenceMIT
- SourceCompiler.hs
Constructors
JSOptionsoptJSCompile :: BooloptJSOptimize :: BooloptJSMinify :: BoolRemove spaces etc. See https://en.wikipedia.org/wiki/Minification_(programming).
optJSVerify :: BoolRun generated code through interpreter.
optJSModuleStyle :: JSModuleStyle
Instances3Generic, NFData, Rep
Generic JSOptionsDefined in Agda-2.8.0.2 · Agda.Compiler.JS.CompilerNFData JSOptionsDefined in Agda-2.8.0.2 · Agda.Compiler.JS.Compilertype Rep JSOptions = D1 ('MetaDataDefined in Agda-2.8.0.2 · Agda.Compiler.JS.Compiler"JSOptions"
"Agda.Compiler.JS.Compiler"
"Agda-2.8.0.2-9KjOINxE5a7DfnJbtdetJP"
'False) (C1 ('MetaCons"JSOptions"
'PrefixI 'True) ((S1 ('MetaSel ('Just"optJSCompile"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: S1 ('MetaSel ('Just"optJSOptimize"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool)) :*: (S1 ('MetaSel ('Just"optJSMinify"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: (S1 ('MetaSel ('Just"optJSVerify"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: S1 ('MetaSel ('Just"optJSModuleStyle"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 JSModuleStyle)))))
After all modules have been compiled, copy RTE modules and verify compiled modules.
Constructors
JSModuleEnvjsCoinductionKit :: Maybe CoinductionKitjsCompile :: BoolShould this module be compiled?
Ensure that there is at most one pragma for a name.