The programming language with a strict teacher for a compiler.

Shaun is a real programming language with its own compiler and its own IDE. It writes genuine machine code, builds .exe files you can share, and tells you off when your code is wrong.

Free. Windows 10 and 11, 64-bit. No account, no sign-up.
Register

Student marks = [72, 58, 91, 64, 85]
Shaun.Sort(marks)

Homework(m in marks) {
    Shaun.Checks(m >= 70) {
        Shaun.ShaunOutput(m + " passed!")
    } Detention {
        Shaun.ShaunOutput(m + ": see me after class")
    }
}

Dismissed
Output58: see me after class
64: see me after class
72 passed!
85 passed!
91 passed!

A proper language, with a classroom twist

Everything you'd expect from a language like Python, with keywords that read like a school day.

🔢

Numbers and decimals

Whole numbers, decimals, and maths like Shaun.Root, Power, Round and Fixed for tidy output.

📋

Lists

Make them, sort them, search them, split text into them and join them back. Loop with Homework(item in list).

🧩

Lessons that adapt

One lesson works with numbers, decimals, words or lists. Shaun works out the kinds for you, and recursion works too.

🎲

Random numbers

Shaun.Pick(1, 6) for dice, Choose and Shuffle for cards and quizzes.

⌨️

Input and output

Ask questions with Shaun.Listen, ListenNumber and ListenDecimal. Words, numbers and lists join with +.

😠

Shaun has feelings

Make a mistake and he's disappointed. Make four in a row and he's furious. Fix it and he calms down.

Shaun Studio: your own IDE

A desktop editor built for the language. Syntax colours, live error checking, autocomplete, and a console you can type into while your program runs.

Shaun Studio running a list program
Run with F5. Lists, sorting and loops, with the output right underneath.
Shaun Studio asking for input
Programs can ask questions. Type into the box while the program is waiting.
One lesson used with several kinds of value
Lessons adapt. One lesson, used with numbers, decimals, words and lists.
Shaun getting angry about repeated mistakes
Shaun remembers. Four mistakes in a row and he is furious. The red squiggle shows where.
The light Whiteboard theme
Blackboard or Whiteboard. Pick the theme you like.
The built-in language reference
Docs built in. Every function, every error message, with examples that really run.

Build it. Send it. It just runs.

Press 📦 Build and Shaun Studio makes a standalone program. Send it to a friend by email, USB stick or a download link. Nothing needs installing on their computer.

The first time on another computer, Windows may say "Windows protected your PC" because the file isn't signed. Click More info, then Run anyway. Some school computers block programs from USB sticks, and then you can share the .shaun file instead.
Register

Lesson Double(x) {
    HandIn x + x
}

Shaun.ShaunOutput(Double(21))
Shaun.ShaunOutput(Double(1.25))
Shaun.ShaunOutput(Double("ha"))

Dismissed
Output42
2.5
haha

A compiler written from scratch

No gcc. No LLVM. No assembler. Shaun's compiler turns your code into x86-64 machine instructions itself, and writes the .exe file byte by byte.

~4,000lines of C# in the compiler
8 KBa Hello World .exe
0other tools needed
2targets: Windows and Linux
Your code
→
Lexer
→
Parser
→
Type checker
→
Machine code
→
.exe

Download Shaun Studio

Version 0.4. The compiler, the IDE and the docs, in one installer.

⬇ Download for Windows (.exe)

Windows 10 or 11, 64-bit. Installs just for you, with no admin rights needed.

After installing, double-clicking any .shaun file opens it in Shaun Studio.

  1. Download the installer and open it.
  2. If Windows says "protected your PC", click More info, then Run anyway.
  3. Open Shaun Studio from the Start Menu and press F5 on the example that opens.

Questions

Is it really a programming language?

Yes. It has variables, decimals, lists, loops, functions (called lessons), recursion and input and output. The compiler checks your types, then produces machine code that runs directly on the processor.

Why does Windows warn me about the installer?

Windows shows that warning for any program that isn't signed by a paid certificate. Shaun Studio is a free hobby project, so it isn't signed. Click More info, then Run anyway.

Can I use it on a Mac?

Not yet. The compiler can build for Windows and Linux. A Mac version is a possible future project.

Where do my programs get saved?

In your Documents folder, inside a folder called ShaunProjects. They are plain text files ending in .shaun.

Is there a guide to the language?

Yes, the language reference lists every keyword and function, every error message, and working examples. It is also built into the app.