Skip to content
Snippets Groups Projects
  1. Oct 01, 2023
  2. Jul 15, 2023
  3. Jun 21, 2023
  4. Apr 12, 2023
  5. Jan 24, 2023
    • Emilio Jesus Gallego Arias's avatar
      [build] Move frontend build to esbuild, always pack. · 3e15336d
      Emilio Jesus Gallego Arias authored
      This is a large build-time improvement, moreover we can get rid of a
      lot of troublesome code regarding how to manage assets.
      
      `esbuild` has proven a great tool so far.
      
      Tested with both backends.
      
      We still keep the CLI and the WASM backend on webpack, the idea is
      to move them to esbuild in subsequent commits.
      
      CLI should use a native Coq instead, it is super-slow.
      
      We also disabled the `collab` and `ide-project` builds for now,
      re-adding before merging hopefully.
      
      The compatibility story with user .html pages needs to be revised,
      IMHO as this is a foundation for the LSP backend this is the time to
      drop support for some patterns we had in the past.
      3e15336d
  6. Sep 21, 2022
    • Emilio Jesus Gallego Arias's avatar
      [jscoq] [build] Start of backend / frontend split. · 33544625
      Emilio Jesus Gallego Arias authored
      We reorganize jsCoq's source code as to be more modular, in particular
      we start to place backend files under the `backend` directoy, and
      frontend files under `frontend`.
      
      Code as it now does work, note however that still quite a bit of work
      is needed. In particular, the headless frontend should get its own
      directory, the coq-jslib directory should go away, use more types,
      etc...
      33544625
  7. Sep 09, 2022
  8. Aug 15, 2022
  9. Jun 19, 2022
    • Emilio Jesus Gallego Arias's avatar
      [jscoq] Preliminary upgrade to Coq 8.16 · 68d08eaf
      Emilio Jesus Gallego Arias authored
      This is broken due to `load_plugin` not being implemented yet.
      
      We need to think about how to fix that, likely just updating our
      library manager to include `META` files for the plugins should work,
      but we need to find out.
      
      The main relevant change for us in Coq 8.16 is that Coq now loads
      plugins using the `Fl_dynload` API.
      
      So now Coq, will make a request for `coq-core.plugins.ltac` instead of
      `ltac_plugin.cma`.
      
      `Fl_dynload` is a wrapper over `Dynlink.loadfile`, but will check
      `META` files for dependencies, and if plugins `A` depends on `B`, will
      load `B` first.
      
      This may be a problem for us, we need to figure how to handle
      that.
      
      One approach couuld be to replace the `Dynlink.dynload` stub with the
      proper javascript implementation so the `Fl_dynload` uses it implicitly.
      
      Another (temporal) alternative to get this working is just to ignore
      deps and implement `Ml_top.load_plugin` with a mapping. I have done
      that as Coq 8.16 still includes a "legacy" mode, which should work for
      some plugins, but not for all of them (coq-elpi for example requires this).
      
      The 3rd approach would be for us to reimplement `Fl_dynload` by
      locating the META files and parsing them, or storing this metadata in
      some other fashion.
      68d08eaf
  10. May 21, 2022
  11. May 01, 2022
  12. Apr 30, 2022
  13. Apr 29, 2022
  14. Jan 05, 2022
  15. Sep 24, 2021
  16. Sep 17, 2021
  17. Aug 11, 2021
  18. Aug 03, 2021
  19. Jul 11, 2021
  20. Jul 07, 2021
  21. Jul 06, 2021
  22. Jun 09, 2021
    • Emilio Jesus Gallego Arias's avatar
      [build] Bump required compiler version to 4.12.0 · 95787181
      Emilio Jesus Gallego Arias authored
      This should nicely support M1-based OSX ; unfortunately, it required
      loosening the constraint on `ppx_deriving_yojson` as to make it
      co-installable with `ppx_import`, but that's a minor issue.
      
      Note the new option system for OCaml Opam packages, thus selecting a
      32bit compiler is done differently now.
      95787181
    • Emilio Jesus Gallego Arias's avatar
      [build] [ci] Preliminary github actions support · 0f6c08cc
      Emilio Jesus Gallego Arias authored
      This is just a basic building setup, for linux at the moment.
      
      Github Actions is way more powerful than travis, so we can improve
      many previous things of the setup, concretely:
      
      - re-add OSX build
      - generate a docker image
      - set a job for each addon, or create a push event so addons are built
        on their own repos
      
      Closes #224
      
      Thanks to Jason Gross for the help with the SerAPI action.
      0f6c08cc
  23. May 18, 2021
  24. May 16, 2021
  25. May 08, 2021
  26. Mar 04, 2021
  27. Feb 14, 2021
  28. Feb 13, 2021
  29. Jan 13, 2021
  30. Nov 02, 2020
  31. Sep 18, 2020
  32. Aug 12, 2020
  33. Aug 07, 2020
  34. Jul 18, 2020
  35. Apr 28, 2020
  36. Apr 08, 2020
Loading