Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • GHC GHC
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 5,359
    • Issues 5,359
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 565
    • Merge requests 565
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Glasgow Haskell CompilerGlasgow Haskell Compiler
  • GHCGHC
  • Merge requests
  • !9133

Add JavaScript backend (#21078)

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Sylvain Henry requested to merge wip/javascript-backend into master Oct 10, 2022
  • Overview 70
  • Commits 1
  • Pipelines 37
  • Changes 283

This MR adds a JS backend to GHC, adapted from GHCJS.

Important caveat: not every optimization has been ported from GHCJS yet. We prioritized fixing issues due to the update from GHC 8.10 (which GHCJS was using) and other correctness issues found by the testsuite. Similarly some features aren't yet available, especially Template-Haskell. We expect to work on missing features and performance after this initial merge. Status of the JS backend is tracked in #21078 (closed).

TODO before merging this:

  • Adapt GHCJS code into a new JS backend
  • Make testsuite green
  • Add CI job for the JS backend (cf #22128 (closed))
  • Extract independent changes into separate MRs for easier reviews: !9134 (closed) !9192 (closed) !9196 (merged) !9197 (closed)
  • Fix commit message and authors
Edited Nov 14, 2022 by Sylvain Henry
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: wip/javascript-backend