ghc-9.12: The GHC API
Safe HaskellNone
LanguageGHC2021

GHC.StgToJS.CodeGen

Description

JavaScript code generator

Synopsis

Documentation

stgToJS Source #

Arguments

:: Logger 
-> StgToJSConfig 
-> [CgStgTopBinding] 
-> Module 
-> [SptEntry] 
-> ForeignStubs 
-> CollectedCCs 
-> FilePath

Output file name

-> IO () 

Code generator for JavaScript