Running NekoLang
python nekolang_interpreter.py <file.neko>
Ensure Python 3 and the requests
library are installed before running your first script.
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.
python nekolang_interpreter.py hello.neko
The interpreter ships with batteries included—just install Python 3 and requests
.
Blend functional and scripting paradigms with let
, tidy control flow, and first-class functions.
Craft windows, buttons, and inputs using the ui
namespace without leaving your script.
Call REST APIs in one line and handle responses with expressive destructuring.
Delight users with built-in fun like neko.magic_8ball()
and hidden arcade games.
python nekolang_interpreter.py <file.neko>
Ensure Python 3 and the requests
library are installed before running your first script.
let x = 10;
let name = "Neko";
print x;
print "Hello, " + name;
fn greet(person) {
print "Hello, " + person;
}
greet("Alice");
if x > 5 {
print "x is big";
} else {
print "x is small";
}
while x > 0 {
print x;
x = x - 1;
}
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();
let response = net.get("https://example.com");
print response.status;
print response.text;
let response = net.post("https://example.com", "data=hello");
print response.status;
print response.text;
let content = file.read("test.txt");
file.write("output.txt", "Hello, world!");
math
→ standard math functionsneko.secret()
→ launches Snake gameneko.magic_8ball()
→ Magic 8-Ball easter eggui.window("Example", 400, 300)
let btn = ui.button("Fetch Data", clicked=function() {
let res = net.get("https://example.com");
print res.status;
})
ui.show();
neko.magic_8ball();
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 SupportMore community channels will come soon, were just focusing on fixing the meows in our code