Tango is an open-source programming language designed to be as simple and easy to use as JavaScript/TypeScript, but with a focus on performance and low-level control like C/C++.
- Familiar JavaScript/TypeScript-like syntax
- Static typing with low-level types (int, float, bool, pointers, arrays)
- Manual memory management (coming soon)
- Functions, control flow, and basic I/O
- Designed for performance and simplicity
print("Hello, world!");
function sum(a: int, b: int): int {
return a + b;
}
let result: int = sum(2, 3);
print("Result: " + result);
Install dependencies:
bun installCompile into an executable:
bun run build./tango-compiler.exe run examples/hello_world.tangoThe documentation can be found in the “docs” directory, where it explains how to create different code structures.
Tango is in early development (alpha). Expect breaking changes and missing features.
Check the ROADMAP.md for planned features and progress.
Tango uses its own way of handling versions. As a base, Semver (MAJOR.MINOR.PATCH) is used, but a build number is added at the end. For more information, visit VERSIONING.md
Pull requests, issues and suggestions are welcome!
See CONTRIBUTING.md for guidelines.
This project is licensed under the MIT License - see the LICENSE file for details.
This project was created using bun init in bun v1.2.5. Bun is a fast all-in-one JavaScript runtime.