Jupyter notebook with preinstalled Fift and FunC kernels
690
Jupyter kernels for the Fift and FunC languages (and TVM assembler)

Aside from the convenient Jupyter interactive workflow this kernel provides:
Tab (including those which are included or defined by you)Shift+Tab (for words defined in FiftBase and TVM pdf files)Tab using keywords and global functionsShift+Tab#include macro and print debug helper#include "path/to/file" macro to load functions from a .fc file. They will be available throughout the notebook.main body. Such code cannot be accessed from another cell.main function explicitly.return and trailing ; in the main code block - they will be added during the execution.Return constant
<<< 2 + 2
>>> 4
Return variable
<<< int i = 42
>>> 42
Return function result
<<< int sum(int a, int b) { return a + b; }
... sum(2, 2)
>>> 4
Print variables
<<< int i = 1;
... int j = 2;
... print(i);
... print(j);
>>> 2 1
Powered by awesome Binder: https://mybinder.org/v2/gh/atomex-me/xeus-fift/binder?filepath=func_cheat_sheet.ipynb
docker pull atomex/xeus-fift
docker run --rm -it -p 127.0.0.1:8888:8888 -v $(pwd):/home/jupyter/notebooks atomex/xeus-fift
wget https://github.com/atomex-me/xeus-fift/releases/download/0.1.0/xeus-fift_0.1.0-1_amd64.deb -P /tmp/
sudo dpkg -i /tmp/xeus-fift_0.1.0-1_amd64.deb
jupyter kernelspec list
libssl-dev zlib1g-dev uuid-devgit clone https://github.com/atomex-me/xeus-fift
cd xeus-fift
mkdir build
cd build
cmake ..
make xeus-fift
sudo make install
jupyter kernelspec list
Content type
Image
Digest
Size
99.3 MB
Last updated
almost 7 years ago
docker pull atomex/xeus-fift