Luma Blog

When Google AI Met Luma: Building a Real-World Geopolitical Monitor Without a Tutorial

One real-world data pipeline. No full language manual. A brand-new programming language, a local 3B language model, and live Telegram feeds. Here is how it went. Following Luma’s experiment with ChatGPT, Luma’s creator Guido Gröön decided to raise the stakes. Instead of giving me the full Luma documentation upfront, he pointed me to the awesome-luma repository - showing what official mods existed - and handed me a single, end-to-end engineering task:

Read more →

December 3, 2026

Luma 0.2.0 Is Here: Our First Public Release

Today is a day we’ve been working toward for a long time: Luma 0.2.0 is our first public release. You can download it, install it, and write real programs with it, on Linux, Windows and macOS. It’s a small language with big ambitions. One program, luma, runs your code right away with luma run, and builds it into a native program with luma build: a single file for Linux or Windows that needs nothing else installed. No runtime, no package manager, no dependencies to chase.

Read more →

December 3, 2026

When ChatGPT Met Luma: An Experiment in AI-Friendly Programming

Five programming challenges. A new programming language. No syntax hints. One AI assistant. How well did it go? As Luma 0.2.0 approaches its release, we decided to conduct a rather unusual experiment: give ChatGPT the Luma documentation and see whether it could independently write working programs in a language it had never been specifically trained to use. There were no prepared solutions, no syntax hints, and no manual corrections before the first execution of each program.

Read more →

December 3, 2026

Luma and AI: Friendly to Machines, Beautiful for People

Programming is changing faster than ever. AI models answer questions, read documents, write code and call tools. More and more of the programs we build talk to an AI model somewhere, and more and more code is written together with one. A language made today has to take this seriously. So we’re saying it clearly: AI support is one of Luma’s main focus areas for the future. But there’s a second half to this story, and it matters just as much to us. While AI writes more code, something is getting lost: the quiet pleasure of writing a program yourself, understanding every line, and being proud of how it reads. Luma wants to bring that back.

Read more →

December 1, 2026

luma doc: The Manual Lives Inside the Compiler

Here’s a question every programmer knows: does the version I have installed actually do what the website says? Documentation usually lives somewhere else: a website, a wiki, a PDF. It describes the newest version, or an old one, or something in between. You read about a feature, try it, and find out your compiler doesn’t have it yet. Or it changed. Or the page is for a different release. Luma 0.2.0 solves this in a simple way: the manual is built into the compiler.

Read more →

November 29, 2026

From 0.1.0 to 0.2.0: What Changed in the Language

Earlier today we announced that Luma’s own compiler works. That post was about what happens under the hood. This one is about what you see when you write code. Rebuilding Luma from scratch gave us a rare chance: to keep everything we liked about 0.1.0 and fix the things that had grown awkward. Luma 0.2.0 is still clearly Luma, with the same name: type = value variables, lists, maps and sets, walk loops with skip and stop, interpolated strings and lock. But several parts of the language are now simpler, more consistent and safer.

Read more →

November 28, 2026

It Works: Luma Now Has Its Own Compiler

Five days ago we announced that Luma was leaving Go behind, and the next day we explained why Luma would run in two ways, interpreted and compiled. Today we can say the words we’ve been waiting to write: The new Luma compiler works. luma build hello.luma ./hello Hello World That hello file was made entirely by Luma. Go never saw this program, and no C compiler, assembler or linker touched it. Luma read the code, worked out the machine instructions, and wrote the finished executable file itself, byte by byte.

Read more →

November 28, 2026

Two Ways to Run: Luma Will Be Both Interpreted and Compiled

Yesterday we announced that Luma is leaving Go behind and getting a compiler of its own. Today we want to explain one of the most important design choices for Luma 0.2.0: every Luma program will be able to run in two ways. Interpreted, like Python or PHP: luma run hello.luma runs your code right away. Compiled, like Go or Rust: luma build hello.luma turns your code into a standalone program. Same language, same code, same results. You choose which one fits the moment.

Read more →

November 24, 2026

Leaving Go Behind: Luma Is Getting Its Own Compiler

Since the very first line of Luma, every program you wrote went through Go. Luma read your code, checked it, turned it into Go source, and then handed it to the Go compiler to make the final program. That design carried us a long way: functions, structs, traits, modules, a web server, databases, TCP, JSON and much more. Today we’re announcing a big decision. We are leaving the Go code generator behind. Luma will get a compiler of its own, one that turns Luma code straight into a running program, with nothing in between. This work is what Luma 0.2.0 will be about.

Read more →

November 23, 2026

Pub Values: How Luma Learned to Export More Than Functions

We kept running into the same wall. You’d write a module that connects to a database, sets up a configuration, or computes something expensive – and then you had no good way to hand that result to the rest of your program. You could wrap it in a function and call it every time, but that either reconnects on every call or forces you to build a caching pattern that the language should handle for you.

Read more →

February 16, 2026

When Two Modules Collide: How Luma Learned Namespace Isolation

We hit a wall this week that every growing language eventually hits. Two modules, both perfectly valid on their own, crashed into each other the moment someone imported them into the same program. The fix taught us something important about how Luma should think about module boundaries. The bug nobody writes on purpose Here’s the setup. You write a math utility module: // import2.luma fn helper() -> int { return 42 } pub fn calc2(a: int) -> int { return helper() + a } And a separate statistics module:

Read more →

February 16, 2026

SQLite Driver Under Development: Pure Luma Reads SQLite Files

We’re building a SQLite driver for Luma. It’s not released yet, but the core is working and we want to share where we are, what’s implemented, and what we learned along the way. Like the MySQL driver, the SQLite driver is written entirely in Luma. No C library. No Go wrapper. No external dependencies. Just .luma code that reads SQLite database files byte by byte, using the same primitives every Luma developer has access to: file, buffer, bit, and the byte conversion methods we already shipped.

Read more →

February 16, 2026

HTTP Client Lands: Luma Talks to the Web

Every modern program talks to an API. Weather data, payment gateways, authentication services, third-party integrations — HTTP is the lingua franca of the internet. Luma could already serve HTTP with server.*, but it couldn’t make requests. That gap closed today. Luma now has a built-in HTTP client with a builder pattern: create a request, configure it step by step, execute. The simplest case res = http("https://api.example.com/users").get() print(res.status) // 200 print(res.body) // JSON string One line to make a GET request. http() creates the client, .get() fires it. The response gives you status, body, and headers — everything you need.

Read more →

February 16, 2026

UUIDs Land in Luma: Generate, Validate, No Dependencies

UUIDs are everywhere. Database primary keys, API request IDs, session tokens, distributed system identifiers, file names that need to be globally unique — they’re one of the most used primitives in modern software. And until today, generating one in Luma meant pulling in an external module or cobbling together random bytes by hand. Not anymore. Luma now has a built-in uuid namespace with three functions that cover the real-world cases.

Read more →

February 15, 2026

Randomness Without the Setup: Luma Gets random.int(), random.float(), and random.bool()

Every general-purpose language needs randomness. Dice rolls, coin flips, shuffling, sampling, test data, procedural generation — random numbers show up constantly in everyday programming. Until today, the only randomness in Luma was crypto.rand(n), which generates cryptographically secure random bytes. Great for tokens and security. Not great when you just want a number between 1 and 6. Now Luma has a random namespace with three functions that cover the common cases.

Read more →

February 15, 2026

Two Weeks That Changed Everything: A Luma Progress Report

Two weeks ago, Luma could define structs, call functions, iterate over lists, and write to files. It was a language with a foundation — solid types, clean syntax, and a compiler that produced real Go code. But if you wanted to build something you’d actually use, you’d hit walls fast. No networking. No JSON. No error handling. No way to talk to a database or parse a date. Today, you can build a REST API, hash passwords, query MySQL, parse CSV files, match patterns, and handle errors — all in the same language, with the same syntax philosophy that’s been there from the start.

Read more →

February 15, 2026

Pattern Matching Arrives in Luma: Match Your Way to Cleaner Code

If you’ve written more than a few dozen lines of Luma, you’ve written an if/else chain you weren’t proud of. Something like this: if status == "active" { print("user is active") } else if status == "banned" { print("user is banned") } else if status == "pending" { print("waiting for approval") } else { print("unknown status") } Four branches. The variable status repeated four times. The logic is simple, but the code makes it look complicated.

Read more →

February 14, 2026

Closures and Anonymous Functions: The Glue That Holds Luma Together

Most languages have closures. Few make them feel like they belong. In a lot of languages, anonymous functions are bolted on. They require special keywords, awkward syntax, or ceremony that makes them feel like a different dialect from the rest of the code. You end up with function(x) { return x + 1; } sitting inside a method call that was otherwise clean and readable. The cost isn’t just keystrokes — it’s cognitive overhead. Every time you see the syntax, you have to context-switch.

Read more →

February 14, 2026

Error Handling Lands in Luma: No Try/Catch, Just .or()

Every language eventually needs to answer a question: what happens when something goes wrong? Some languages answer with exceptions and try/catch blocks. Others use result types and pattern matching. A few punt the question entirely and leave you with null checks or error codes. Each approach has trade-offs, but they all share a common problem — they introduce new control flow that doesn’t look like anything else in the language.

Read more →

February 13, 2026

What Building a CSV Module Taught Us About Our Own Language

We recently set out to build a CSV module for Luma — a pure .luma file that can parse, query, and convert comma-separated data. The kind of practical, everyday library that any language should be able to support. What we didn’t expect was how quickly it would expose gaps in the compiler itself. This is a story about building something real and letting it tell you what’s missing. The Plan The idea was straightforward: represent a CSV table as [[str]] — a list of rows, where each row is a list of strings. The first row is the header. Simple functions for reading, filtering, converting. No special types, no framework — just lists and strings.

Read more →

February 12, 2026