[Git][ghc/ghc][wip/js-th] 2 commits: JS: implement TH support

Sylvain Henry (@hsyl20) gitlab at gitlab.haskell.org
Tue Feb 21 12:51:20 UTC 2023



Sylvain Henry pushed to branch wip/js-th at Glasgow Haskell Compiler / GHC


Commits:
70578fc6 by Sylvain Henry at 2023-02-21T13:55:59+01:00
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 at gmail.com>

- - - - -
73a1076c by Sylvain Henry at 2023-02-21T13:55:59+01:00
Fix testsuite for TH/JS

- - - - -


30 changed files:

- compiler/GHC.hs
- compiler/GHC/Driver/Main.hs
- compiler/GHC/Driver/Pipeline.hs
- compiler/GHC/Runtime/Interpreter.hs
- + compiler/GHC/Runtime/Interpreter/JS.hs
- + compiler/GHC/Runtime/Interpreter/Process.hs
- compiler/GHC/Runtime/Interpreter/Types.hs
- + compiler/GHC/Runtime/Utils.hs
- compiler/GHC/StgToJS/CodeGen.hs
- compiler/GHC/StgToJS/Deps.hs
- compiler/GHC/StgToJS/Linker/Linker.hs
- compiler/GHC/StgToJS/Linker/Types.hs
- compiler/GHC/StgToJS/Object.hs
- compiler/GHC/StgToJS/Rts/Rts.hs
- compiler/GHC/StgToJS/Types.hs
- compiler/GHC/Tc/Gen/Splice.hs
- compiler/ghc.cabal.in
- + ghc-interp.js
- hadrian/src/Base.hs
- hadrian/src/Rules/Generate.hs
- libraries/base/System/Posix/Internals.hs
- libraries/base/jsbits/base.js
- libraries/ghci/GHCi/Message.hs
- libraries/ghci/GHCi/RemoteTypes.hs
- libraries/ghci/GHCi/Run.hs
- libraries/ghci/ghci.cabal.in
- libraries/template-haskell/tests/all.T
- testsuite/driver/testlib.py
- testsuite/tests/annotations/should_compile/all.T
- testsuite/tests/annotations/should_fail/all.T


The diff was not included because it is too large.


View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/compare/6d9ea68ef4900eb1fc1b989bcf61bb3481e130f0...73a1076c00cbfe994ca7c0a6238cb087574b16d1

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/compare/6d9ea68ef4900eb1fc1b989bcf61bb3481e130f0...73a1076c00cbfe994ca7c0a6238cb087574b16d1
You're receiving this email because of your account on gitlab.haskell.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20230221/7981ae00/attachment-0001.html>


More information about the ghc-commits mailing list