A Linux-native programming language built with C and LLVM.
Project description
🌟 Tamizhi (தமிழி)
A Native Compiled Programming Language with Tamil Syntax
Write code in Tamil. Compile to native machine code. Run at C speed.
📖 About
Tamizhi is a compiled programming language that combines the elegance of the Tamil language with the raw performance of native machine code. Unlike interpreted languages, Tamizhi compiles directly to binary via an LLVM backend — delivering performance comparable to C, while letting developers write logic in Tamil syntax.
தமிழிலேயே கோட் எழுதி, மெஷின் ஸ்பீட்-ல இயக்கு.
✨ Features
| Feature | Description |
|---|---|
| 🔥 LLVM Backend | Optimized native code generation for modern CPUs |
| ⚡ C-Level Performance | Significantly faster than Python and other interpreted languages |
| 🛠️ Native CLI | Dedicated tamizhi command-line tool written in C |
| 🌐 Tamil Syntax | Write logic using Tamil keywords (அச்சிடு, Num, etc.) |
| 🐧 Linux Native | Optimized for Linux (Arch/Manjaro) and Android (Termux) |
🚀 Getting Started
Prerequisites
Ensure the following compiler tools are installed on your system:
- Arch Linux / Manjaro:
sudo pacman -S clang llvm make - Ubuntu / Debian:
sudo apt install clang llvm make -y - Android Termux:
pkg install clang llvm make
Installation (The Global Automated Way)
You can install the Tamizhi Compiler globally on your system with a single command. It will automatically download, compile, and configure the global environment.
curl -fsSL https://raw.githubusercontent.com/Prabakaran202/Tamizhi/main/install.sh | bash
Alternatively, for local development:
git clone https://github.com/Prabakaran202/Tamizhi.git
cd Tamizhi
chmod +x install.sh
./install.sh
👨💻 Your First Tamizhi Program
Create a new file with .tz extension (e.g., vanakkam.tz):
fun main {
Num அ = 100 ;
Num ஆ = 200 ;
Num இ = அ + ஆ ;
print "கூட்டல் விடை:" ;
print இ ;
}
Run it anywhere on your system:
tamizhi run vanakkam.tz
Output:
கூட்டல் விடை:
300
📁 Project Structure
Tamizhi/
├── src/ # Lexer, Parser, and LLVM Code Generator (C source files)
├── include/ # Compiler Core Header files
├── examples/ # Sample Tamizhi advanced programs (.tz)
├── .vscode/ # Pre-configured global tasks for VS Code execution
├── install.sh # Global one-click automated installer script
└── Makefile # Automated Clang compilation pipelines
🗺️ Roadmap
- LLVM Integration (Core Compiler Engine)
- Native C CLI (
tamizhi run) - Global Universal Installer Script (
install.sh) - Precedence Engine Matrix (AST Tree Walker)
- Conditions —
if/elseBlock Parsing - Loops —
forIteration Engines - Conditionals —
எனின்தான்/இல்லையெனில்(Tamil Syntax Mapping) - Return Infrastructure (return values from functions)
- Floating Point Support (Float / Decimal operations)
- Tamizhi Package Manager (TPM)
🤝 Contributing
Tamizhi is an open-source project under the Backend Developer Hub (BDH) community. Contributions are highly welcome!
- 🐛 Found a bug or syntax error? Open an Issue
- 💡 Have a cool core feature idea? Submit a Pull Request
- ⭐ Like the concept? Give this repository a star!
📊 Benchmarks
| Metric | Result |
|---|---|
| 🔁 Loop Iterations | 1,000,000 |
| ⏱️ Execution Time | 0.24s (AOT Native Compilation) |
| ⚙️ CPU Usage | 64% |
| 📱 Device | Android (Termux) — aarch64 / Linux x86_64 |
| 🔧 Backend | LLVM Native Toolchain |
📜 License
This project is licensed under the MIT License.
Developed with ❤️ by Prabakaran · Backend Developer Hub
தமிழுக்கும் அமுதென்று பேர் — அந்தத் தமிழ் இன்பத் தமிழ் எங்கள் உயிருக்கு நேர்!
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file tamizhi-2.0.2.tar.gz.
File metadata
- Download URL: tamizhi-2.0.2.tar.gz
- Upload date:
- Size: 4.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a5a18941895fff69bcbd8d52f274a58fb0768fad4c969c4540cf14b2042038c4
|
|
| MD5 |
bd2edf6cc079a6cdf2bdb198be8c5773
|
|
| BLAKE2b-256 |
91e687e657e2cba72d6b2376fb4f973de5524867b415a9459102a42f460adeea
|
Provenance
The following attestation bundles were made for tamizhi-2.0.2.tar.gz:
Publisher:
publish.yml on BackendDeveloperHub/Tamizhi
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
tamizhi-2.0.2.tar.gz -
Subject digest:
a5a18941895fff69bcbd8d52f274a58fb0768fad4c969c4540cf14b2042038c4 - Sigstore transparency entry: 2070253273
- Sigstore integration time:
-
Permalink:
BackendDeveloperHub/Tamizhi@3576d7a80e82b00966441d43e11306b43d4af667 -
Branch / Tag:
refs/tags/v2.0.2 - Owner: https://github.com/BackendDeveloperHub
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@3576d7a80e82b00966441d43e11306b43d4af667 -
Trigger Event:
release
-
Statement type:
File details
Details for the file tamizhi-2.0.2-py3-none-any.whl.
File metadata
- Download URL: tamizhi-2.0.2-py3-none-any.whl
- Upload date:
- Size: 4.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fec93673e79d0e8e4da7999f89d245cb53c919f828ff2ea24df95e979c70756d
|
|
| MD5 |
42b774ca0f84b2978d217af4c83e2aae
|
|
| BLAKE2b-256 |
eb3cfd98752508dd5290d63a9ee81fd6ee0354fab01c74dd213e1c4fcc46abec
|
Provenance
The following attestation bundles were made for tamizhi-2.0.2-py3-none-any.whl:
Publisher:
publish.yml on BackendDeveloperHub/Tamizhi
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
tamizhi-2.0.2-py3-none-any.whl -
Subject digest:
fec93673e79d0e8e4da7999f89d245cb53c919f828ff2ea24df95e979c70756d - Sigstore transparency entry: 2070253485
- Sigstore integration time:
-
Permalink:
BackendDeveloperHub/Tamizhi@3576d7a80e82b00966441d43e11306b43d4af667 -
Branch / Tag:
refs/tags/v2.0.2 - Owner: https://github.com/BackendDeveloperHub
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@3576d7a80e82b00966441d43e11306b43d4af667 -
Trigger Event:
release
-
Statement type: