Build delightful desktop and network apps in pure NekoLang.

Designed for creators who want Python-powered productivity with a charming syntax and playful standard library. From UIs to network automation, NekoLang keeps it elegant.

Getting started is a single command

python nekolang_interpreter.py hello.neko

The interpreter ships with batteries included—just install Python 3 and requests.

Why developers purr for NekoLang

Playful, expressive syntax

Blend functional and scripting paradigms with let, tidy control flow, and first-class functions.

First-class UI toolkit

Craft windows, buttons, and inputs using the ui namespace without leaving your script.

Network-native

Call REST APIs in one line and handle responses with expressive destructuring.

Secret easter eggs

Delight users with built-in fun like neko.magic_8ball() and hidden arcade games.

Quickstart Documentation

Running NekoLang

python nekolang_interpreter.py <file.neko>

Ensure Python 3 and the requests library are installed before running your first script.

Language Syntax

Variables

let x = 10;
let name = "Neko";

Printing

print x;
print "Hello, " + name;

Functions

fn greet(person) {
    print "Hello, " + person;
}
greet("Alice");

Control Flow

Conditionals

if x > 5 {
    print "x is big";
} else {
    print "x is small";
}

Loops

while x > 0 {
    print x;
    x = x - 1;
}

UI Toolkit

All UI functions live inside the ui namespace.

ui.window("My Window", 600, 400, "#222222");
ui.label("Hello", color="white", bg="#333333", clicked=callback);
ui.button("Click Me", color="white", bg="#444444", clicked=callback);
let inputField = ui.input("Type here...", color="black", bg="white");
ui.show();

Network Requests

GET

let response = net.get("https://example.com");
print response.status;
print response.text;

POST

let response = net.post("https://example.com", "data=hello");
print response.status;
print response.text;

File Operations

let content = file.read("test.txt");
file.write("output.txt", "Hello, world!");

Built-in Modules

  • math → standard math functions
  • neko.secret() → launches Snake game
  • neko.magic_8ball() → Magic 8-Ball easter egg

Examples

UI + Network

ui.window("Example", 400, 300)
let btn = ui.button("Fetch Data", clicked=function() {
    let res = net.get("https://example.com");
    print res.status;
})
ui.show();

Magic 8-Ball

neko.magic_8ball();

Join the community

Share scripts, request features, and show off your creations in the community Discord. Got feedback? We’re all ears—and whiskers.

Join the Discord! Email our Support

More community channels will come soon, were just focusing on fixing the meows in our code