A small, fast, and simple Java-like language.
GatoLang is a simple, fast, compiled language with a clean and compact syntax. It compiles to C code, which is then compiled to native binaries using GCC or Clang. GatoLang is designed for ease of use, performance, and safety, making it a great choice for beginners and experienced developers alike.
Readable, familiar, and compact syntax.
int add(int a, int b) {
return a + b;
}
Compile .gw programs to native binaries with gatoc.
gatoc main.gw -o main
./main
Explicit, predictable types.
int n = 10;
float x = 3.14;
Dynamic arrays and string manipulation.
int[] numbers = [10, 20, 30];
string message = "GatoLang";
Easy to use native tools for http, files, time, and randomness.
string data = readFile("a.txt");
print(data);
Simple while, loop, and if/else control structures.
loop(3) {
print("Hello");
}
loop(int i : 10) {
print(i);
}
Follow these steps to grab the latest compiler build:
gatoc --version or compile a hello world file.