Get Started with Delta

Delta is currently in pre-release phase.

Usage

Requirements:

  • Python 3.12+ (no dependencies required)
  • compile.py from here

The file extension of delta file is .dt
Delta file can be written in Python with type annotations

  1. Compile .dt to .cpp

    You can compile .dt to .cpp by running

    python compile.py [filename].dt.
    Make sure that Python version is 3.12+

    This will generate [filename].cpp

  2. Compile .cpp to executable

    Make sure to use c++17 or higher

Executable Installation

There are currently two ways to install Delta compiler executable

  1. Direct Compiler Download (x64 for Windows & Mac only)
  2. Compile from source using PyInstaller

Direct Executable Download

Delta compiler executable is currently compiled only for x64 platforms on Windows & Mac.
If you are using another platform, you can compile from source using PyInstaller.


You can download the executable from here
(x64 for Windows & Mac only)

Compile from Source

Requirements:

  • Python 3.12+
  • compile.py from here
  1. Install Pyinstaller by running

    pip install pyinstaller

    Make sure you are installing for Python 3.12+


  2. Generate compiler executable by running

    pyinstaller --onefile compile.py

    Your executable will be in ./dist