All Projects → EugeneLoy → coq_jupyter

EugeneLoy / coq_jupyter

Licence: Apache-2.0 license
Jupyter kernel for Coq

Programming Languages

python
139335 projects - #7 most used programming language
javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to coq jupyter

Dyalog Jupyter Kernel
A Jupyter kernel for Dyalog APL
Stars: ✭ 26 (-62.86%)
Mutual labels:  kernel, jupyter, jupyter-kernels
Enterprise gateway
A lightweight, multi-tenant, scalable and secure gateway that enables Jupyter Notebooks to share resources across distributed clusters such as Apache Spark, Kubernetes and others.
Stars: ✭ 412 (+488.57%)
Mutual labels:  kernel, jupyter, jupyter-kernels
imongo
A MongoDB kernel for Jupyter
Stars: ✭ 51 (-27.14%)
Mutual labels:  kernel, jupyter, jupyter-kernels
Best Of Jupyter
🏆 A ranked list of awesome Jupyter Notebook, Hub and Lab projects (extensions, kernels, tools). Updated weekly.
Stars: ✭ 200 (+185.71%)
Mutual labels:  jupyter, jupyter-kernels
Irkernel
R kernel for Jupyter
Stars: ✭ 1,379 (+1870%)
Mutual labels:  jupyter, jupyter-kernels
Stata kernel
A Jupyter kernel for Stata. Works with Windows, macOS, and Linux.
Stars: ✭ 172 (+145.71%)
Mutual labels:  jupyter, jupyter-kernels
Xeus
Implementation of the Jupyter kernel protocol in C++
Stars: ✭ 693 (+890%)
Mutual labels:  jupyter, jupyter-kernels
spylon-kernel
Jupyter kernel for scala and spark
Stars: ✭ 160 (+128.57%)
Mutual labels:  kernel, jupyter-kernels
Lfortran
Official mirror of https://gitlab.com/lfortran/lfortran. Please submit pull requests (PR) there. Any PR sent here will be closed automatically.
Stars: ✭ 220 (+214.29%)
Mutual labels:  jupyter, jupyter-kernels
ipolyglot
A polyglot kernel for Jupyter notebooks based on GraalVM.
Stars: ✭ 59 (-15.71%)
Mutual labels:  kernel, jupyter
Jupyter C Kernel
Minimal Jupyter C kernel
Stars: ✭ 463 (+561.43%)
Mutual labels:  kernel, jupyter
Common Lisp Jupyter
A Common Lisp kernel for Jupyter along with a library for building Jupyter kernels.
Stars: ✭ 101 (+44.29%)
Mutual labels:  jupyter, jupyter-kernels
Almond
A Scala kernel for Jupyter
Stars: ✭ 1,354 (+1834.29%)
Mutual labels:  jupyter, jupyter-kernels
Ocaml Jupyter
An OCaml kernel for Jupyter (IPython) notebook
Stars: ✭ 177 (+152.86%)
Mutual labels:  jupyter, jupyter-kernels
Juniperkernel
R Kernel for Jupyter
Stars: ✭ 67 (-4.29%)
Mutual labels:  jupyter, jupyter-kernels
Spylon Kernel
Jupyter kernel for scala and spark
Stars: ✭ 129 (+84.29%)
Mutual labels:  kernel, jupyter-kernels
Wolframlanguageforjupyter
Wolfram Language kernel for Jupyter notebooks
Stars: ✭ 542 (+674.29%)
Mutual labels:  jupyter, jupyter-kernels
Ijava
A Jupyter kernel for executing Java code.
Stars: ✭ 614 (+777.14%)
Mutual labels:  jupyter, jupyter-kernels
Gophernotes
The Go kernel for Jupyter notebooks and nteract.
Stars: ✭ 3,100 (+4328.57%)
Mutual labels:  kernel, jupyter
Sparkmagic
Jupyter magics and kernels for working with remote Spark clusters
Stars: ✭ 954 (+1262.86%)
Mutual labels:  kernel, jupyter

PyPI version Conda version CI Tests Join the chat at https://gitter.im/coq_jupyter/community badge

A Jupyter kernel for Coq.

You can try it online in Binder.

Installation

Prerequisites

Make sure that CoqIDE (8.6 or newer) is installed and coqidetop or coqidetop.opt (coqtop for Coq versions before 8.9.0) is in your PATH. Also, make sure the python command is recognized on your machine. If not you can set up an alias for it e.g. python-is-python3 on Ubuntu.

Install with MAKE

All commands are run from the top level repo of this folder - where the Makefile lives.

Install from PyPi:

make

Install from locally checked out source code:

make install-local

Uninstall:

make uninstall

Step-by-Step Install

Install with pip:

pip install coq-jupyter
python -m coq_jupyter.install

Uninstall with pip:

jupyter kernelspec uninstall coq
pip uninstall coq-jupyter

Alternatively, use Conda to install both coqidetop and coq_jupyter. For this, install Conda (either Anaconda, Miniconda, Minimamba) and do:

$ conda config --add channels conda-forge 
$ conda create -n coq coq-jupyter
$ conda activate coq

Backtracking

There are number of convenience improvements over standard Jupyter notebook behaviour that are implemented to support Coq-specific use cases.

By default, running cell will rollback any code that was executed in that cell before. If needed, this can be disabled on a per-cell basis (using Auto rollback checkbox).

Manual cell rollback is also available using Rollback cell button (at the bottom of executed cell) or shortcut (Ctrl+Backspace).

coqtop arguments

Use --coqtop-args to supply additional arguments to coqidetop/coqidetop.opt/coqtop when installing kernel. In this case you might also want to set custom kernel name/display name using --kernel-name/--kernel-display-name.

For example, to add kernel that instructs coqidetop to load /workspace/init.v on startup:

python -m coq_jupyter.install --kernel-name=coq_with_init --kernel-display-name="Coq (with init.v)" --coqtop-args="-l /workspace/init.v"

Contributing

Give feedback with issues or gitter, send pull requests. Also check out CONTRIBUTING.md for instructions.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].