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
-
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
-
Compile .cpp to executable
Make sure to use c++17 or higher
Executable Installation
There are currently two ways to install Delta compiler executable
- Direct Compiler Download (x64 for Windows & Mac only)
- 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
-
Install Pyinstaller by running
pip install pyinstaller
Make sure you are installing for Python 3.12+
-
Generate compiler executable by running
pyinstaller --onefile compile.py
Your executable will be in
./dist