ICrystal
ICrystal is a Crystal kernel for Jupyter project.
It is basically a port from the IRuby kernel.
Installation
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
Usage
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
How it works
The code submitted to the kernel is compiled using parts of the icr shard.
Development
To run the jupyter kernel testing tool (Python 3.4 or greater required):
pip3 install jupyter_kernel_test
python3 test/test_kernel.py
Roadmap
- [ ] Widget support
- [ ] Rich output (images, ...) support
- [ ] Add special commands
- [ ] Support adding/removing shards dependencies
- [ ] Write specs
Contributing
- 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
Contributors
- Romain Franceschini - creator and maintainer
License
Copyright (c) ICrystal contributors.
Licensed under the MIT license.