Thanks to visit codestin.com
Credit goes to github.com

Skip to content

opticalsecurity/tango

Repository files navigation

Tango

Build Version License

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++.


Features

  • 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

Hello World

print("Hello, world!");

Example: Function and Variables

function sum(a: int, b: int): int {
  return a + b;
}

let result: int = sum(2, 3);
print("Result: " + result);

Compiling locally

Install dependencies:

bun install

Compile into an executable:

bun run build

Running a Tango file (in Windows, file extension may vary)

./tango-compiler.exe run examples/hello_world.tango

Docs

The documentation can be found in the “docs” directory, where it explains how to create different code structures.


Project Status

Tango is in early development (alpha). Expect breaking changes and missing features.
Check the ROADMAP.md for planned features and progress.


Versioning

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


Contributing

Pull requests, issues and suggestions are welcome!
See CONTRIBUTING.md for guidelines.


Authors


License

This project is licensed under the MIT License - see the LICENSE file for details.


Bun

This project was created using bun init in bun v1.2.5. Bun is a fast all-in-one JavaScript runtime.

About

No description, website, or topics provided.

Resources

License

Contributing

Stars

Watchers

Forks

Packages

No packages published