JS: implement TH support
- Add ghc-interp.js bootstrap script for the JS interpreter
- Interactively link and execute iserv code from the ghci package
- Incrementally load and run JS code for splices into the running iserv
Co-authored-by:
Luite Stegeman <stegeman@gmail.com>
Showing
- compiler/GHC.hs 30 additions, 5 deletionscompiler/GHC.hs
- compiler/GHC/Driver/Main.hs 121 additions, 80 deletionscompiler/GHC/Driver/Main.hs
- compiler/GHC/Driver/Pipeline.hs 0 additions, 2 deletionscompiler/GHC/Driver/Pipeline.hs
- compiler/GHC/Runtime/Interpreter.hs 140 additions, 198 deletionscompiler/GHC/Runtime/Interpreter.hs
- compiler/GHC/Runtime/Interpreter/JS.hs 372 additions, 0 deletionscompiler/GHC/Runtime/Interpreter/JS.hs
- compiler/GHC/Runtime/Interpreter/Process.hs 102 additions, 0 deletionscompiler/GHC/Runtime/Interpreter/Process.hs
- compiler/GHC/Runtime/Interpreter/Types.hs 106 additions, 19 deletionscompiler/GHC/Runtime/Interpreter/Types.hs
- compiler/GHC/Runtime/Utils.hs 84 additions, 0 deletionscompiler/GHC/Runtime/Utils.hs
- compiler/GHC/StgToJS/CodeGen.hs 10 additions, 10 deletionscompiler/GHC/StgToJS/CodeGen.hs
- compiler/GHC/StgToJS/Deps.hs 23 additions, 23 deletionscompiler/GHC/StgToJS/Deps.hs
- compiler/GHC/StgToJS/Linker/Linker.hs 364 additions, 206 deletionscompiler/GHC/StgToJS/Linker/Linker.hs
- compiler/GHC/StgToJS/Linker/Types.hs 37 additions, 38 deletionscompiler/GHC/StgToJS/Linker/Types.hs
- compiler/GHC/StgToJS/Object.hs 84 additions, 66 deletionscompiler/GHC/StgToJS/Object.hs
- compiler/GHC/StgToJS/Rts/Rts.hs 5 additions, 0 deletionscompiler/GHC/StgToJS/Rts/Rts.hs
- compiler/GHC/StgToJS/Types.hs 3 additions, 3 deletionscompiler/GHC/StgToJS/Types.hs
- compiler/GHC/Tc/Gen/Splice.hs 44 additions, 38 deletionscompiler/GHC/Tc/Gen/Splice.hs
- compiler/ghc.cabal.in 3 additions, 0 deletionscompiler/ghc.cabal.in
- ghc-interp.js 97 additions, 0 deletionsghc-interp.js
- hadrian/src/Base.hs 1 addition, 0 deletionshadrian/src/Base.hs
- hadrian/src/Rules/Generate.hs 1 addition, 0 deletionshadrian/src/Rules/Generate.hs
Loading
Please register or sign in to comment