OPEN SOURCE • MIT LICENSE

Ion+ Programming Language

A hyper-powerful, low-level OOP language aiming to combine the memory-aware architecture of C++ with a clean, modern syntax built in Python.

⚠️ Ion+ is in Active Development

We are currently building the frontend compiler architecture from the ground up. The Lexer is fully functional, but we need your help to conquer the Abstract Syntax Tree (AST), Parser, and eventually, the LLVM Backend.

If you are passionate about compiler design, language engineering, Python tooling, or LLVM, join our community of respectful developers.

View Repo & Contribute on GitHub

Architecture & Core Features

1. Python Frontend

The compiler toolchain is entirely Python-based. The robust regex scanner successfully tokenizes keywords, operators, and data types, utilizing explicit Enum token categories while expertly handling Python-style indentation mapping (INDENT/DEDENT scopes).

2. Low-Level Power

Ion+ is built for systems programming. The syntax explicitly supports strict typing (int, float, byte), pointer manipulation (ptr), bitwise operations, custom struct and enum definitions, and memory allocation handling.

3. Future LLVM Backend

The intended compiler pipeline is strictly defined: Python Frontend → Parser/AST → Semantic Validation → LLVM IR Code Generation. The ultimate goal is blistering machine-code execution.

# Sample Ion+ syntax demonstrating structures, pointers, and control flow
struct Buffer:
    int size
    ptr byte data

?int Buffer.validate(int max_size):
    if size <= 0 or size >= max_size:
        return none

    int index = 0
    while index < size:
        index += 1

    return index

Project Roadmap & Status