I built a universal semantic layer for code.
GraphLang maps Python, Java, JavaScript, TypeScript, C#, Rust, Go, C, and C++ into 12 canonical IR kinds. Not 200. Not 50. Twelve.
The numbers: • 27.9x compression (33K nodes → 1.2K unique patterns) • 97% cross-language equivalence • 100% roundtrip (IR → code is identical) • 22.5x compression at 10 MILLION functions — mathematically stable
What this means:
Same intent = same structure. Across 9 languages. An if statement is an if statement is an if statement — regardless of syntax. GraphLang sees through the noise.
And here's the part that surprised me: There are only 16 structurally unique ways to write an if statement. Not 1,300. Sixteen.
The code is public under BSL. The engine, the normalizer, the SPEC — all on GitHub. The benchmark dataset (10M aligned pairs) is available under NDA for qualified enterprises.
DMs open for partnerships, enterprise licensing, and code equivalence audits.
github.com/cripto-bot/graphlang