- Apr 18, 2023
-
-
Shachar Itzhaky authored
Instead of `.cjs`; enough with this nonsense.
-
- Jan 24, 2023
-
-
Emilio Jesus Gallego Arias authored
-
Emilio Jesus Gallego Arias authored
- don't rebuild the cli stuff when the frontend/backend changes - make tests work again
-
Emilio Jesus Gallego Arias authored
This is not perfect but it works (and it is much faster). For some reason I couldn't make `fflate-unzip` work with ESBuild, so I've placed a copy and tweaked the exports.
-
- Oct 05, 2022
-
-
Shachar Itzhaky authored
All wasm binaries are read from `node_modules` directly, so there is no need for a `bin/` directory (this was a hack). The deps are collected in a meta-package `wacoq-deps`, which is published to NPM separately and should not change often.
-
Shachar Itzhaky authored
The wasm backend bytecode is now loaded from `backend/wasm` (and also linked accordingly).
-
- Oct 02, 2022
-
-
Shachar Itzhaky authored
Will gradually move parts from the other repo, wacoq-bin, to `backend/wasm`. This will allow some code reuse between the backends.
-
- Sep 21, 2022
-
-
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...
-
- Aug 15, 2022
-
-
Emilio Jesus Gallego Arias authored
This requires renaming of webpack.config.js to indicate it is a CommonJS module system. We do some extra fixes for the webpack build to work.
-
- May 06, 2022
-
-
Shachar Itzhaky authored
-
- Aug 08, 2021
-
-
Shachar Itzhaky authored
So that we can create both jsCoq and waCoq packages.
-
- Mar 04, 2021
-
-
Shachar Itzhaky authored
This is phrased as an "addon"; I think that not only libraries can be "addons" but this kind of interop UI functionality should be as well. It does not mean that UI addons should be built outside of the jsCoq source tree like mathcomp & co. If they are small enough, they are ok where they are in `ui-js/addon`.
-
- Jan 30, 2021
-
-
Shachar Itzhaky authored
What was needed in order to run unit tests in Node.js is now located in `headless.ts`. It is invoked via the regular CLI (bundled with Webpack). Fixes #195.
-
- May 03, 2019
-
-
Shachar Itzhaky authored
-
- Apr 24, 2019
-
-
Shachar Itzhaky authored
32-bit compilation is using switch jscoq+32bit. 64-bit compilation is using jscoq+64bit. Coq is cloned into _vendor+xxx directories by Coq version and word size, and so are add-ons.
-
- Apr 21, 2019
-
-
Shachar Itzhaky authored
-
- Apr 20, 2019
-
-
Emilio Jesus Gallego Arias authored
-
- Apr 08, 2019
-
-
Shachar Itzhaky authored
This is a workaround suggested by @ejgallego to solve an issue where Dune failed to build after `make links` was run.
-
- Mar 30, 2019
-
-
Emilio Jesus Gallego Arias authored
We port the build system to Dune. This setup will integrate nicely with Coq 8.10, but until this arrives it also provides a few advantages: - better `.merlin` files, automatically generated, - clean build tree: all the artifacts go under _build, - modular organization of the development: we introduce a separate library for the JS Coq package manager. Note indeed that now all the build artifacts do live in `_build/default`; `make links` will allow you to serve pages in-tree. Pending: - fully split the libmngr build to its own repository. - libjs: implement recursive scan / get closer to Dune.
-
- Mar 13, 2019
-
-
Shachar Itzhaky authored
Enhanced the log icons, which were cropped. Added Coq and Github icons in toolbar.
-
Emilio Jesus Gallego Arias authored
JsCoq now runs in a worker and communicates with coq-manager using messages and PPX serializers. We have reshaped the API quite a bit. We are very close towards convergence with SerAPI, from which we have imported quite a few ideas. The main changes are: - coq-manager now follows a fully reactive approach (as suggested by @cpitclaudel) The document model has also evolved. This implies a big improvement in ease of document handling. In particular, we do not wait for `Add`, we listen to feedback to color states, and we use the new `Cancel` API instead of `EditAt`. - The library manager is basically shared with serapi, and it has been greatly simplified. - The protocol features a more robust initialization procedure, even if a bit heavier on client side responsibilities. - We have removed jsmock, it is not useful anymore. Many, many hacks have been removed in favor of more principled solutions; still, we have quite a long way to go. This commit improves #13, helps a bit with #9 (now we can kill the web worker), and (in an non-optimal way yet) fixes #16. Pending items: + Pp.t rendering is just a prototype, we need to improve it and insert divs following the current box mode. + Pp.t normalization leaves a lot to be desired. We can likely normalize it Ocaml-side and produce a div. We could even use jsoo's Tyxml for that. - The invalidation, focus, and movement logic needs a bit more of work. In particular we need to streamline adding many sentences. Real interaction with the worker is pretty fine these days. - We allow to export the initial namespace as implicit. This will help closing #18. In general, it was an annoyance for the users, so we may follow upstream on this one for now. We will update collacoq to use the proper default, and keep the init page with the more lightweight setup.
-
- Nov 27, 2017
-
-
Emilio Jesus Gallego Arias authored
-
- Nov 26, 2017
-
-
Emilio Jesus Gallego Arias authored
-
- Jun 22, 2016
-
-
Emilio Jesus Gallego Arias authored
-
- May 03, 2016
-
-
Emilio Jesus Gallego Arias authored
-
- Feb 28, 2016
-
-
Emilio Jesus Gallego Arias authored
-
- Dec 08, 2015
-
-
Emilio Jesus Gallego Arias authored
-
- Dec 06, 2015
-
-
Emilio Jesus Gallego Arias authored
-
- Nov 10, 2015
-
-
Emilio Jesus Gallego Arias authored
-
- Aug 15, 2015
-
-
Emilio Jesus Gallego Arias authored
Unfortunately we are using some bad hacks...
-
- Aug 14, 2015
-
-
Emilio Jesus Gallego Arias authored
-
- Jul 23, 2015
-
-
Emilio Jesus Gallego Arias authored
We now load the libraries from a json file. We have 3 categories, plugins, standard coq libraries and addons.
-
- Jul 06, 2015
-
-
Benoit Pin authored
-
- Jul 01, 2015
-
-
Emilio Jesus Gallego Arias authored
-
- May 12, 2015
-
-
Emilio Jesus Gallego Arias authored
-