Human-Native Programming
The Thunder Programming Language
Thunder is a human-native programming language. People work with the meaning of software, and machines handle most of the implementation. You read and change software in pictures and plain words, whatever language it is written in.
The language
Thunder
What software means, as pictures (Thunder) and plain words (Thunder Text). The open-source Thunder compiler reads code into Thunder in your browser, your terminal, and VS Code. Also called ThunderLang.
The IDE
OpenThunder
Where you use Thunder on your whole application: open a repository, read it in Thunder, find your way from the big picture to one rule, change it, and check every change before it ships.
Thunder
Programming, made human.
- Paradigm
- Human-Native Programming
- Visual interface
- Thunder
- Text representation
- Thunder Text
- Underlying method
- Intent-Oriented Programming
- Development platform
- OpenThunder, the IDE for AI-written code ↗
The heart of the language
One program. Five ways to read it.
Every program in Thunder reads at the same five levels, from what it means down to the code that proves it. Start with the big picture and go only as deep as you need. The same five levels work in any language Thunder reads, on this site and in OpenThunder.
1 · Picture
Big Picture
What is it, and what can it do?
2 · Picture
Flow
How does it go?
3 · Picture
Details
Exactly what happens, and how sure is Thunder?
4 · Words
Text
What does it say, in words?
5 · Evidence
Original
Which code says so?
Try it on a school library, read from real Python by the Thunder compiler, with no AI:
Big Picture: What is it, and what can it do? The Things, what each knows and can do, its doors (actions), its rules, and its data. For one action or rule: what you give it, what you get back, and what it uses.
A Thing
Library
Lends books to students and takes them back.
It knows
- books: a list, empty at first
- max books: a number, 3 unless told otherwise
It can
Data: choices
Status
- on shelf
- borrowed
- lost
Data: a record
Book
A book in the school library.
- title: words
- status: a Status, on shelf at first
- times borrowed: a number, 0 at first
Choose anything it can do to see its Flow.
Try the five levels on other examples, or on your own code →
Why a new paradigm
Programming languages were written for computers. Thunder is written for people.
Every step up this ladder let people say more and handle less detail. High-level languages were a huge step, but they are still instructions for a computer that people have to learn to read. Now that AI writes most new code, the bottleneck is no longer writing it. It is understanding it.
- ThunderPictures of what software does: cards, steps, mapsRead by: Anyone who needs to understand the software
- Thunder TextThe same meaning in plain, precise wordsRead by: Anyone who wants the detail
- The meaningThe one reading both views are made fromRead by: The Thunder compiler and OpenThunder
- High-level languagesJava, Python, TypeScript, C#, SQLRead by: Developers
- Machine codeInstructions for one kind of processorRead by: Compilers and specialists
- Bits0 and 1Read by: Hardware
The two highlighted rows are human-native, and both are views of the same meaning. Everything below still exists and still runs; AI writes much of it, and Thunder lets people see what it does.
Why “human-native”
Each paradigm answers a different question.
A paradigm is a way of thinking about programs. Human-native programming starts from the person who has to understand the software, not from the machine that runs it.
| Paradigm | The question it answers |
|---|---|
| Object-oriented programming | How are objects and their behavior organized? |
| Functional programming | How is a computation built from functions? |
| Intent-oriented programming | What should the software do, and how do we check that it does? |
| Human-native programming | How can a person understand, direct, and change software, whatever language it is written in? |
Not prompting in English
Natural-language programming turns English into code, and English is ambiguous. Thunder goes the other way: it reads real code exactly, with no AI, and shows what it does. The same code always gives the same Thunder.
Not no-code
Your software stays real code in a real language, and that code stays the source of truth. Thunder is how people read it, question it, and change it safely.
Intent-oriented programming, ThunderLang's earlier focus, is the method underneath: state what software should do and check that it does. How it fits.
One meaning, two views
The same refund feature: the code, the picture, and Thunder Text.
Read by the Thunder compiler from the Python below when this page was built. Nothing is drawn by hand. The picture is what most people read; Thunder Text says exactly the same thing in words.
The original code (Python)
@router.post("/refunds")
def request_refund(order, amount):
"""A customer asks for their money back."""
if order.refunded:
raise AlreadyRefunded("This order was already refunded")
decision = refund_decision(amount, order.days_since_purchase <= 30)
if decision == "Approve":
payments.refund(order, amount)
return decision
def refund_decision(amount: float, within_window: bool) -> str:
"""Small refunds inside the 30-day window are approved; the rest go to a person."""
if within_window and amount <= 100:
return "Approve"
return "Review"
POST /refunds
When someone calls POST /refunds
Author's note: “A customer asks for their money back.”
- If: If order is refunded
- Fail: Fails with AlreadyRefunded: "This order was already refunded"
- Set: Works out decision from refund decision
- If: If decision is "Approve"
- Call: Calls refund
- Return: Returns decision
Refunds › refund_decision
Refund decision
Why: small refunds inside the 30-day window are approved; the rest go to a person.
1 · Ask the rule
What happens to this refund?
100, within window gets Approve
Because all of these are true:
- True: it is within window
- True: the amount is at most 100 (it is 100)
2 · Change the rule
Click a highlighted word to change it. Nothing applies until you confirm.
How is refund decision decided?
Approve when
- it is
- the amount is
Otherwise, Review
Rules are checked from the top. The first one that fits decides; “otherwise” catches everything else.
Examples · 4 of 4 pass
| Example | Request | Expected | Rule gives | Result |
|---|---|---|---|---|
| inside the limit | 99, within window | Approve | Approve | Passes |
| exactly at the limit | 100, within window | Approve | Approve | Passes |
| over the limit | 101, within window | Review | Review | Passes |
| too late | 50, not within window | Review | Review | Passes |
Examples check this rule only, on these inputs. They do not show what your application does. Outcomes: Approve, Review.
The examples were added by a person to check the rule. Code has no examples; the rule itself was read from the code.
Thunder Text: the endpoint
When someone calls POST /refunds
Author's note: "A customer asks for their money back."
Takes order, amount
- If order is refunded
- Fails with AlreadyRefunded: "This order was already refunded"
- Works out decision from refund decision
- If decision is "Approve"
- Calls refund
- Returns decision
Thunder Text: the rule
Refund decision
Why: Small refunds inside the 30-day window are approved; the rest go to a person.
We need
the amount, a number
whether it is within window or not within window
How is refund decision decided?
Approve when all of these are true:
it is within window
the amount is at most 100
Otherwise, Review.
Examples
99, within window gives Approve (inside the limit)
100, within window gives Approve (exactly at the limit)
101, within window gives Review (over the limit)
50, not within window gives Review (too late)
Principles
Five rules every Thunder view follows.
1
Meaning before syntax
You see what the software does (who can get a refund, what happens next), not brackets, types, and keywords.
2
Read before write
Thunder works on the code you already have, in seventeen languages, C, C++, Swift, R, shell, PowerShell, and SQL included. You do not rewrite anything to start understanding it.
3
One meaning, two views
The picture and Thunder Text are two views of the same reading, made from the same data. Switch between them and nothing is lost.
4
Truth before simplicity
What Thunder cannot read is shown as Not read yet, with the original code. It never draws a guess to make a picture look complete.
5
People stay in charge
AI can write most of the code. People read what it does, decide what it should do, and every change is checked before it ships.
The bar we hold ourselves to
A 12-year-old can explain what a simple program does. An architect can check whether it is right.
Both, in the same language, without hiding complexity or presenting a guess as a fact. This is our design goal. We have not yet measured it with a study; when we do, the results will be published here.
What works today
Thunder V1 reads seventeen languages, C, C++, Swift, R, shell, PowerShell, and SQL included, and six infrastructure and delivery formats.
Thunder is written down in the Thunder V1 specification. The status below comes from the same data the compiler and OpenThunder use, so it cannot drift from what actually works.
- PythonWorks today
- TypeScriptWorks today
- JavaScriptWorks today
- GoWorks today
- RustWorks today
- C#Works today
- JavaWorks today
- KotlinWorks today
- PHPWorks today
- RubyWorks today
- CWorks today
- C++Works today
- SwiftWorks today
- SQLWorks today
- RWorks today
- ShellWorks today
- PowerShellWorks today
- DockerfileWorks today
- GitHub ActionsWorks today
- TerraformWorks today
- BicepWorks today
- KubernetesWorks today
- Docker ComposeWorks today