Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[controller] [js] Initial javascript JSSO controller #433

Merged
merged 6 commits into from
Sep 28, 2024
Merged

[controller] [js] Initial javascript JSSO controller #433

merged 6 commits into from
Sep 28, 2024

Conversation

ejgallego
Copy link
Owner

@ejgallego ejgallego commented Feb 24, 2023

Bootstrapped and working!

DONE:

  • interrupt support
  • 32bit compilation without hacks
  • CI + artifact

TODO:

minimal package manager:

  • try to load .vo files
  • hand write dune files for cma and coq-pkg for the prelude
  • bind jszip or some other zip lib
  • fetch package prelude.coq-pkg, unzip and register

TODOS:

  • WASM
  • Package manager (v3)
  • jsCoq SDK (v2)

@ejgallego ejgallego added this to the 0.1.7 milestone Mar 6, 2023
ejgallego added a commit that referenced this pull request Mar 6, 2023
ejgallego added a commit that referenced this pull request Mar 6, 2023
This is unnecessary as init can hook directly with protect, and
should. No need to expose this internal detail.

This will simplify the setup in #433 (and other clients)
@ejgallego ejgallego modified the milestones: 0.1.7, 0.1.8 Jun 20, 2023
@ejgallego ejgallego modified the milestones: 0.1.8, 0.1.9 Sep 26, 2023
@ejgallego ejgallego modified the milestones: 0.1.9, 0.1.10 Nov 8, 2023
ejgallego added a commit that referenced this pull request Sep 28, 2024
Taken from #433, it is very useful there to run with a disabled VM.
ejgallego added a commit that referenced this pull request Sep 28, 2024
Taken from #433, it is very useful there to run with a disabled VM.
Bootstrapped and working!

DONE:

 - interrupt support
 - 32bit compilation without hacks
 - CI + artifact

TODO:

  minimal package manager:
  + try to load .vo files
  + hand write dune files for cma and coq-pkg for the prelude
  + bind jszip or some other zip lib
  + fetch package prelude.coq-pkg, unzip and register

TODOS:

  - WASM
  - Package manager (v3)
  - jsCoq SDK (v2)
We hook `loadfile` to use precompiled `.cma.js` files, using our copy
of findlib. The build is very rustical, but works.

We also tweak the VM options so they are correct.
@ejgallego ejgallego merged commit 46679d4 into main Sep 28, 2024
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[server] [build] Worker versions
1 participant