All Projects → abingham → jupyter-elm-kernel

abingham / jupyter-elm-kernel

Licence: MIT license
A Jupyter kernel for running Elm code.

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to jupyter-elm-kernel

Juniperkernel
R Kernel for Jupyter
Stars: ✭ 67 (+1.52%)
Mutual labels:  jupyter-kernels
Ocaml Jupyter
An OCaml kernel for Jupyter (IPython) notebook
Stars: ✭ 177 (+168.18%)
Mutual labels:  jupyter-kernels
icsharp.kernel
Roslyn based C# kernel for Jupyter Notebook
Stars: ✭ 26 (-60.61%)
Mutual labels:  jupyter-kernels
Common Lisp Jupyter
A Common Lisp kernel for Jupyter along with a library for building Jupyter kernels.
Stars: ✭ 101 (+53.03%)
Mutual labels:  jupyter-kernels
Xeus Cling
Jupyter kernel for the C++ programming language
Stars: ✭ 2,038 (+2987.88%)
Mutual labels:  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 (+233.33%)
Mutual labels:  jupyter-kernels
Xeus
Implementation of the Jupyter kernel protocol in C++
Stars: ✭ 693 (+950%)
Mutual labels:  jupyter-kernels
notebook-environments
Manage python virtual environments on the working notebook server
Stars: ✭ 43 (-34.85%)
Mutual labels:  jupyter-kernels
Stata kernel
A Jupyter kernel for Stata. Works with Windows, macOS, and Linux.
Stars: ✭ 172 (+160.61%)
Mutual labels:  jupyter-kernels
xeus-fift
🍬 Jupyter kernels for Fift and FunC languages
Stars: ✭ 20 (-69.7%)
Mutual labels:  jupyter-kernels
Irkernel
R kernel for Jupyter
Stars: ✭ 1,379 (+1989.39%)
Mutual labels:  jupyter-kernels
Spylon Kernel
Jupyter kernel for scala and spark
Stars: ✭ 129 (+95.45%)
Mutual labels:  jupyter-kernels
math-server-docker
The ideal multi-user Data Science server with Jupyterhub and RStudio, ready for Python, R and Julia languages.
Stars: ✭ 70 (+6.06%)
Mutual labels:  jupyter-kernels
Almond
A Scala kernel for Jupyter
Stars: ✭ 1,354 (+1951.52%)
Mutual labels:  jupyter-kernels
ilua
Portable Lua kernel for Jupyter
Stars: ✭ 99 (+50%)
Mutual labels:  jupyter-kernels
Dyalog Jupyter Kernel
A Jupyter kernel for Dyalog APL
Stars: ✭ 26 (-60.61%)
Mutual labels:  jupyter-kernels
Best Of Jupyter
🏆 A ranked list of awesome Jupyter Notebook, Hub and Lab projects (extensions, kernels, tools). Updated weekly.
Stars: ✭ 200 (+203.03%)
Mutual labels:  jupyter-kernels
huginn
Programming language with no quirks, so simple every child can master it.
Stars: ✭ 41 (-37.88%)
Mutual labels:  jupyter-kernels
jupyterq
Jupyter kernel for kdb+
Stars: ✭ 87 (+31.82%)
Mutual labels:  jupyter-kernels
rk
The remote Jupyter kernel/kernels administration utility
Stars: ✭ 53 (-19.7%)
Mutual labels:  jupyter-kernels

This kernel adds support for Elm to Jupyter notebooks.

While basic functionality is in place, this is still very much a work in progress. I'm still figuring it all out. Any help, ideas, etc. would be great.

Requirements

  • Python 3.6+

Installation

Either install from a repository using pip:

pip install elm_kernel

or install the package from source:

pip install -e .

Then install the kernel spec:

python -m elm_kernel.install

Usage

Run jupyter notebook and select the Elm kernel for a new notebook.

Multi-cell code examples

By default, when you execute a code cell with the Elm kernel the code will not be compiled. Instead, the kernel simply queues up code cells. This way you can break longer examples over multiple cells, interleaving the code cells with supporting Markdown cells.

In order to ask the kernel to actually compile your code, you need to terminate a code cell with the line:

-- compile-code

When the kernel sees a cell like this it contatenates, in cell-execution order, all of the executed but uncompiled code cells (i.e. everything since the start of the kernel or the last -- compile-code cell). It then compiles the concatenated code, returning the result to the notebook.

For a concrete example of this, see examples/the-elm-architecture.ipynb.

This is a bit hacky, and we're actively searching for a better alternative. Ideas are welcome!

Examples

The examples directory contains a few examples of how to use this kernel. Just go to that directory and run jupyter notebook to see them.

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].