-
Notifications
You must be signed in to change notification settings - Fork 2
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
Tutorial with JsCoq #2
Comments
Hi, thanks for your interest in jsCoq, the version I put up is somewhat of a proof-of-concept and I'm still working on cleaning up a few hacks I had to make and solve a few minor bugs in jsCoq. But yes, I will be happy to help @mdnahas publish a stable version of it. |
Thanks for the pointer, @Zimmi48! @corwin-of-amber, Thanks for choosing my tutorial and making it easier to understand! I've always thought that formal math needed a JavaScript-enabled implementation. It is much easier to recruit new people if they can see something without having to install software. I'd love to see Coq redesigned for web-native/networked use, but jsCoq looks like it will be enough to give new users a taste. I'd be glad to host a jsCoq-enabled version of the tutorial. I'm glad to make any changes you request. I should definitely update the section "Seeing where you are in a proof" to explain jsCoq's controls. BTW, is it possible to specify the version of Coq for jsCoq? There's been discussion of changing Coq's tactics and it sounded like the Coq authors may change a tactic that I use often in the tutorial. There is not an easy replacement for the tactic, so the tutorial might not work with future versions of Coq until I do a time-consuming rewrite. Making sure the tutorial runs in a version of Coq that can read it is important. Otherwise, readers may get confused. Let me know how I can help. |
Each version of jsCoq is bound to a particular version of Coq, so you can choose the version of jsCoq that suits your needs and install it. Using |
@mdnahas I think you are talking about |
I'm using github's static pages to host the tutorial. I haven't run a node server and I'm not sure how to do it. It looks like you're also using github.io. Can you point me to a webpage that describes how to get it working? |
No need to run a server. You can serve everything statically. The easiest way IMO is with Why don't we do the following:
I can also fork your repo and make a PR which you can then review. |
I've posted an (internal) alpha release here. You are welcome to experiment with it first, try this in a clean folder:
Then copy npm-template.html and edit it. |
@corwin-of-amber can't we have a version of |
We can try, but out of the 130MB, around 100MB is packages ( If you don't need Another approach could be to host jsCoq on some CDN that allows other sites to pull the packages from it. |
Tutorial (draft) is here: |
Hello,
I've just learned through @palmskog of the existence of https://corwin-of-amber.github.io/jscoq/tut/nahas/nahas_tutorial.html, a JsCoq-powered version of your Coq tutorial (by @corwin-of-amber and @ejgallego). Would it make sense to host this version at https://mdnahas.github.io/doc/nahas_tutorial instead of the current static version that is there? [Note that as of today, the links to your tutorial on the Coq documentation page point to the latter.]
The text was updated successfully, but these errors were encountered: