Skip to content

Fileforma/AntiPython-AI-Compiler-Colab

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

✨ AntiPython Colab Compiler for AI

Visitor Count GitHub stars

Free Coupon: Making VS Code Extensions for Engineering Managers and CTOs

Google Colab GPU access in your favorite programming language

Receive project updates

Banner

What's this?

AntiPython Colab is a source to source compiler that let's you build AI in Java, Rust, JavaScript, Flutter, C#, Go, Ocaml(and etc...) utilizing free Google Colab GPUs!

It's blazingly fast and very robust as it uses websockets and the Treesitter C library under the hood.

✔ Web GUI for ease of access

✔ No language lock-in! Free and opensource language servers available!

✔ Super secure language servers running on your personal device.

Motivation

AI is super interesting but Python is a bore. We built a compiler that translates programming languages to Python!

AntiPython Colab is built for:

  • Programmers interested in free GPU access and AI - just without the Python.
  • Developers keen on accessing Python's vast AI tooling without touching Python.
  • Companies that seek to add AI to their products without needing to hire Python devs.
  • Hobbyists who realize they spend more time setting up Python environments than actual coding.

Development Status!

This is a work in progress. Send direct feeback here - murage@fileforma.com

25th Jan - Built Chrome extension interface.

29th Jan - Java imports working.

Sponsor your favorite language here🙏

Join the mailing list

✨ Getting started ✨

Java demo showing Java to Python imports available

Node JS and GCC needed to compile Javascript and C

Watch the video tutorial

  1. Clone the repo to your personal computer

    git clone https://github.com/Fileforma/AntiPython-AI-Compiler-Colab.git
    
  2. Open the folder AntiPython-AI-Compiler-Colab

    cd AntiPython-AI-Compiler-Colab
    
  3. Open the folder ChromeExtension-Frontend

    cd ChromeExtension-Frontend
    
  4. Install node modules using npm

    npm install
    
  5. Build the Chrome Extension. A new folder dist is created inside ChromeExtension-Frontend

    npm run build
    
  6. Open Google Chrome and visit chrome://extensions in a new tab. Enable Developer Mode.

  7. Click the Load unpacked button and select the folder dist created in Step 5.

  8. Visit the Google Colab webpage https://colab.research.google.com/ and create a new notebook.

  9. Go back to the folder AntiPython-AI-Compiler-Colab. Open a new terminal window.

  10. Open the folder Compiler-Backend and open the folder Translator

cd Compiler-Backend && cd Translator
  1. Start the Language Server
    clear && gcc main.c mongoose.c cJSON.c ../SupportedLanguages/tree-sitter-java/src/parser.c ../TreeSitterLibrary/libtree-sitter.a -o main.o && ./main.o
    
  2. Go back to the folder ChromeExtension-Frontend from Step 3. Open another new terminal window. Start the extension server.
    npm start
    
  3. Go to the Google Colab page and have fun with the Java Demo! Only imports working at the moment. This is a demo showing the Chrome interface Try these Java examples
    import math;
    import com.fileforma.tensorflow;
    import com.fileforma.numpy as numpy;
    

Our other products

Making VS Code Extensions for Engineering Managers and CTOs

FFmpeg Data Structures in the C language

Financial Supporters

🙏 Get Lifetime Support for Early Backers

🏢 Corporate Sponsor support

Join the mailing list

Follow for updates

About

AI for people who don't like Python

Resources

License

Security policy

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

Packages

No packages published