ICrystal is a crystal kernel for Jupyter project.
Current status: early development stages (the kernel is very minimal). Expect more features in the future.
It is ported from the IRuby kernel.
Prerequisites
Clone the repository and switch current directory:
git clone https://github.com/RomainFranceschini/icrystal.git
cd icrystal
Install dependencies
shards install
Build icrystal
shards build
To register the kernel (ensure jupyter is installed):
icrystal register
Now run jupyter and choose the ICrystal kernel as a backend for your notebook:
jupyter notebook
or
jupyter lab
The code submitted to the kernel is compiled using parts of the icr shard.
To run the jupyter kernel testing tool (Python 3.4 or greater required):
pip3 install jupyter_kernel_test
python3 test/test_kernel.py
- Widget support
- Rich output (images, ...) support
- Add special commands
- Support adding/removing shards dependencies
- Write specs
- Fork it (https://github.com/RomainFranceschini/icrystal/fork)
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request
- Romain Franceschini - creator and maintainer
Copyright (c) ICrystal contributors.
Licensed under the MIT license.