v1.0 — 44 development phases complete

Write English.
Run Code.

UNEL is a programming language where syntax is English grammar.
If you can say it in English, you can code it in UNEL. No symbols. No jargon. Just sentences.

▶ Try Playground Learn More
hello.unel
Note: This is real code. Every line is valid English. Set price to 100. Set discount to 20. Set total to price minus discount. If total is greater than 50: Display "Good deal at $" plus total. End if. Repeat from 1 to 3 as i: Display "Step " plus i plus " done.". End repeat.
Output
Good deal at $80
Step 1 done.
Step 2 done.
Step 3 done.
21,800+
Lines of Code
77
Built-in Functions
3
Dialects
16
Stdlib Modules
112
Demo Programs
Capabilities

Everything a language needs.

UNEL is not a toy. It's a complete language with OOP, functional programming, error handling, modules, a standard library, and a bytecode VM.

Dual Execution
Tree-walking interpreter for debugging. Bytecode VM for performance. Same output, guaranteed.
OOP System
Structs with methods, inheritance, polymorphism, enums, interfaces. Real object-oriented patterns.
λ
Functional
Lambdas, closures, map/filter/reduce, pipe operator, compose. First-class functions throughout.
Error Handling
Try/Catch/Throw with source-mapped errors pointing to exact lines. Six specialized error types.
📚
Standard Library
16 built-in modules — Math, IO, JSON, HTTP, DateTime, Regex, Functional, Convert, and more.
🔍
Static Analysis
Type inference, unused variable detection, arity checking, unreachable code warnings — before runtime.
Optimizer
Constant folding, dead code elimination, constant propagation. Three AST passes before compilation.
🛠
Dev Tools
Interactive REPL, step-through debugger, Python transpiler, performance benchmarks, AI code gen.
🌐
Web Playground
Browser-based IDE with code editor, token inspector, AST viewer, and 59 loadable example programs.
Three Ways to Write

One language. Three dialects.

Choose the style that matches your thinking. All three compile to the same AST and produce identical output.

Narrative Default
Set name to "Alice".
Set age to 30.

If age is greater than or equal to 18:
  Display name plus " is an adult.".
End if.

Define function greet that takes person:
  Return "Hello, " plus person.
End function.
Executive Formal
CREATE VARIABLE name EQUAL TO "Alice".
CREATE VARIABLE age EQUAL TO 30.

IF age IS GREATER THAN OR EQUAL TO 18:
  DISPLAY name COMBINED WITH " is an adult.".
END IF.

DEFINE FUNCTION greet ACCEPTING person:
  RETURN "Hello, " COMBINED WITH person.
END FUNCTION.
Mathematical Concise
Let name be "Alice".
Let age be 30.

If age >= 18:
  Output name + " is an adult.".
End if.

Function greet(person):
  Return "Hello, " + person.
End function.
Under the Hood

A real compilation pipeline.

Not a scripting hack. UNEL has a full 6-stage compiler architecture from source code to bytecode execution.

01
Lexer
lexer.py
02
Parser
3 dialects
03
AST
116 nodes
04
Analyzer
types + lint
05
Compiler
60+ opcodes
06
VM
stack machine
Package Ecosystem

Install. Import. Build.

UNEL comes with a built-in package manager and a growing registry of standard library packages. Install with one click from the playground.

🔢
math-utils
Factorial, fibonacci, prime checking, GCD/LCM, power, digit sum, and combinatorics.
📝
string-utils
Reverse, palindrome, anagram check, frequency analysis, capitalize, and padding utilities.
📦
data-structures
Stack, Queue, and LinkedList implementations in pure UNEL with full CRUD operations.
algorithms
Bubble/Selection/Insertion sort, Linear/Binary search, array utilities, and recursion patterns.
unel pkg install math-utils

Start writing English code.

Open the playground and run your first UNEL program in seconds. No installation required.

▶ Open Playground