Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
J
jscoq-light
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Pierre Rousselin
jscoq-light
Commits
67bc254a
Commit
67bc254a
authored
Jun 22, 2019
by
Shachar Itzhaky
Browse files
Options
Downloads
Patches
Plain Diff
[docs] Update README with keys and open/save.
Addresses #91.
parent
e6c280c5
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+33
-3
33 additions, 3 deletions
README.md
with
33 additions
and
3 deletions
README.md
+
33
−
3
View file @
67bc254a
...
...
@@ -9,17 +9,47 @@ We aim to enable new UI/interaction possibilities and to improve the
accessibility of the Coq platform itself. Current stable version is
jsCoq v8.10+0.10.0~beta supporting Coq 8.10, try it:
<https://
x80.org/rhino-coq/v8.10
>
<https://
jscoq.github.io
>
JsCoq is written in ES201
5
, thus any recent standard-compliant browser
JsCoq is written in ES201
7
, thus any recent standard-compliant browser
should work. jsCoq also runs in my 8-year old Galaxy Nexus. Browser
performance is quite variable these days, see the
[
Troubleshooting
](
#Troubleshooting
)
section if you have problems.
Coq is compiled to
j
ava
s
cript using the
`js_of_ocaml`
compiler. No
Coq is compiled to
J
ava
S
cript using the
[
`js_of_ocaml`
](
http://ocsigen.org/js_of_ocaml
)
compiler. No
servers or external programs are needed.
We want to _strongly thank_ the
`js_of_ocaml`
developers. Without
their great and quick support jsCoq wouldn't have been possible.
## Basic Usage
The main page showcases jsCoq by walking through a proof for the infinitude of primes using
[
`math-comp`
](
https://github.com/math-comp/math-comp
)
, due to Georges Gonthier.
Once jsCoq finishes loading, you can step through the proof using the arrow buttons on the toolbar (top right),
or using these keyboard shortcuts:
| Shortcut | Action |
|--------------------|------------------|
| Alt-N or Alt-↓ | Go to next |
| Alt-P or Alt-↑ | Go to previous |
| Alt-Enter or Alt-→ | Go to cursor |
You can open a blank editor and experiment with your own Coq developments using the
[
scratchpad
](
https://jscoq.github.io/node_modules/jscoq/examples/scratchpad.html
)
.
The same keyboard shortcuts apply here.
The scratchpad's contents are saved in your browser's local storage (IndexedDB, specifically),
so they are not lost if you close the browser window or refresh the page.
You can, in fact, store more than one document using the local open/save file dialogs:
| Shortcut | Action |
|--------------------|---------------------------------------------------------------|
| Ctrl-S | Save file (with the last name provided, or
`untitled.v`
) |
| Ctrl-Shift-S | Save file as (prompts for file name) |
| Ctrl-O | Open file (prompts for file name, supports tab completion) |
| Ctrl-Alt-O | Open file from disk (using the browser's Open dialog) |
On Mac, replace Ctrl with ⌘ (command) and Alt with ⌥ (option), as is traditional.
## Development Version
Development for jsCoq 0.10 takes place in the
`v8.10`
branch. A
...
...
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
sign in
to comment