JupyterでCrystalを動かすICrystalの紹介


はじめに

JupyterでCrystalを使えるカーネルがようやく登場しました。
ICrystalは2020年に登場した新しいJupyter kernelです。内部ではicrを使用しているようです。

Githubのリポジトリ

作者はイタリアのコルシカ島在住のようです。

インストール

公式のREADMEと同じです。2020年7月時点での情報を日本語でも記載しておきます。

依存

  • Jupyter
  • ZeroMQ

ZeroMQがきちんと導入できていることが大事です。詳しくは zeomq-crystal を参照ください。

順番にコマンドを打ち込んでいきます。

git clone https://github.com/RomainFranceschini/icrystal.git
cd icrystal
shards install
shards build
bin/icrystal register

最終的に下のように表示されたら完了です。

Registered ICrystal at /home/kojix2/.local/share/jupyter/kernels/crystal

実行

jupyter lab

この記事は以上です。