Discover GatoLang

~10x faster than Python

A small, fast, and simple Java-like language.

Gatolang Logo

About GatoLang

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.

Quick Start

Java-like syntax

Readable, familiar, and compact syntax.

int add(int a, int b) {
  return a + b;
}

Fast native output

Compile .gw programs to native binaries with gatoc.

gatoc main.gw -o main
./main

Strict types

Explicit, predictable types.

int n = 10;
float x = 3.14;

Arrays + Strings

Dynamic arrays and string manipulation.

int[] numbers = [10, 20, 30];
string message = "GatoLang";

Builtins

Easy to use native tools for http, files, time, and randomness.

string data = readFile("a.txt");
print(data);

Loops and control flow

Simple while, loop, and if/else control structures.

loop(3) {
      print("Hello");
    }

    loop(int i : 10) {
      print(i);
    }

Download GatoLang

Follow these steps to grab the latest compiler build:

  1. Open the GatoLang Releases repo.
  2. Click the Releases tab.
  3. Download the latest release asset for your OS (Windows/Linux).
  4. Extract the zip file and run the installation script.
  5. Run gatoc --version or compile a hello world file.
View Releases

Read the Docs

Go deeper with the full GatoLang language specification and reference.


Open Docs