# onelang/OneLang

Repository: https://github.com/onelang/OneLang
Canonical: https://ross.abutalabs.com/products/onelang
Language: TypeScript
License: MIT
License Family: permissive
Topics: source-to-source, transpiler, cpp, csharp, golang, typescript, javascript, java, php, perl, python, swift, ruby, programming-language, language
Last push: 2023-01-01T16:23:08+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 3310, "days_push": 1340, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1143, forks 86 (observed 2026-08-28T04:03:44.910959+00:00)

## What it is
OneLang is a source-to-source transpiler framework that lets developers write code once and generate it in multiple target languages such as TypeScript, Python, Java, C#, Go, and C++. It has its own type system and AST but no fixed syntax of its own, acting as a tool for multi-language code generation.

## Use cases
- transpile code from one programming language to another
- write a library once and publish it in multiple languages
- generate python, java, csharp and go versions of the same source
- convert typescript code to other languages
- build a multi-language codebase from a single source

## When to avoid
- you expect a drop-in translator that faithfully preserves any input language's syntax and semantics
- you need a stable, production-ready tool - the project is experimental and V2 is in progress
- you only target a single language

## Facets
- artifact type: library
- maturity: experimental
- function: compiler, parser, programming-language
- domain: programming-languages, compilers, developer-tools
- platform: cross-platform
- tags: transpiler, source-to-source, multi-language-codegen, nodejs, typescript

## Member repositories
- onelang/OneLang (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:44.910959+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:34:56.726908+00:00, confidence not recorded.
  - readme: https://github.com/onelang/OneLang (fetched 2026-08-28T04:03:44.910959+00:00, sha c32ff4d11dfc)
  - registry_npm: https://registry.npmjs.org/onelang (fetched 2026-08-29T12:40:14.546738+00:00, sha 1423982d743c)
- Data as of 2026-08-30T08:39:29.467469+00:00.
