Lingua Tungga
One source for pure logic and data models that behave identically in TypeScript, Python, and Go.
package money {
export struct Price {
amount: Int
currency: Str
}
export fn format(p: Price) -> Str {
`${p.amount / 100}.${p.amount % 100} ${p.currency}`
}
}
The same file compiles to three ordinary libraries. There is no runtime to install, no interop layer, and no generated code to edit:
lt build -t ts src/money.lt # -> out/ts
lt build -t py src/money.lt # -> out/py
lt build -t go src/money.lt # -> out/go
What it is for
Lingua Tungga owns the part of a program that must agree everywhere: business rules, validation, money arithmetic, data models, and algorithms. It deliberately has no entry point, no UI, no IO, and no concurrency. The host language keeps those.
- One behavior. Integer division truncates toward zero in every target. Comparison, display, and JSON follow one specification.
- Ordinary output. TypeScript gets typed modules, Python gets typed modules with a
.pyi-free runtime, Go gets packages. You import them like code you wrote. - No drift. The conformance suite runs the same
.lttests against all three targets.
Status
Experimental. There is no compatibility promise before 1.0; the language specification is versioned, and the compiler tracks it.
| Phase | M9 — distribution |
| Language | .lt |
| Compiler | Rust, binary lt |
| Targets | TypeScript, Python, Go |
| Conformance | 100% in all three targets |
| License | MIT |
Where to go next
- Install the compiler.
- Build your first project.
- Read the language guide or the normative specification.
- Try the playground without installing anything.