[Nim4Colab repository](https://github.com/demotomohiro/nim4colab)

[My blog 
post](https://internet-of-tomohiro.netlify.com/google_colab/nim4colab.en.html)

You can use [Nim](https://forum.nim-lang.org/postActivity.xml#nim) language on 
[Google Colaboratory](https://colab.research.google.com/) by using 
[Nim4Colab](https://github.com/demotomohiro/nim4colab) extension.

Copy and paste following code to a cell on [Google 
Colaboratory](https://colab.research.google.com/) and run. This code download, 
install and load [Nim4Colab](https://github.com/demotomohiro/nim4colab) 
extension.
    
    
    !pip install git+https://github.com/demotomohiro/nim4colab.git
    %load_ext nim4colab
    
    Run

Then, you can run Nim code by writing your code under `%%nimc`.
    
    
    %%nimc
    echo NimVersion
    
    Run

Sample codes:

  * 
[Basic](https://colab.research.google.com/drive/1aNmsJmgnxz-4yr1hT0ZdHh9-XQ_8dcRk)
  * [Make PNG 
image](https://colab.research.google.com/drive/15w2dtk9QE8QDTsqMeRnWCzR7f2kSseoq)
  * [Make animation PNG using EGL & 
OpenGL](https://colab.research.google.com/drive/1J0B0qVvovrJZJI1OU75jIMUjWnymi_6G)


Reply via email to