GSET v3.5.0 Released

Write in any syntax,
compile to any language

GSET (Generic Syntax Extension Tool) is a Rust transpiler that parses real languages with tree-sitter into a shared typed IR, then emits complete runnable source. Python to Go works today; all five backends are in development.

Why GSET?

Real-Language Input

tree-sitter grammars parse actual source — Python today, with JavaScript/TypeScript and more on the roadmap.

Shared Typed IR

Spans, types, and diagnostics flow through one intermediate representation — imports are first-class items every backend must consume.

Correct-Output Gate

Emitted code must pass the target language's own syntax checker — a failure breaks CI, not your program at runtime.

Fast by Design

A gset invocation never loads a grammar it doesn't need. Median startup is ~1.86 ms — faster than the old Go binary.

Easy Installation

Homebrew, AUR, Chocolatey, a Debian package, and a one-liner install for Linux, macOS, and Windows.

Honest Capability Matrix

Backends declare what they support before emitting — no silently dropped constructs, no plausible-but-wrong output.

How It Works

Write once in real Python:

def fib(n: int) -> int:
    if n < 2:
        return n
    return fib(n - 1) + fib(n - 2)

Compile to any language:

$ gset run fib.py -t go
55
// generated Go
func fib(n int) int {
    return fib(n - 1) + fib(n - 2)
}

Ready to Get Started?

Install GSET in seconds and try the Python-to-Go pipeline today.