Nue Logo

Nue

A fast and coherent programming language without compromise 🌸

Learn More GitHub Feature Request Discord

What is Nue?

Lightweight, but Powerful

Nue is written in C and compiles to highly optimised LLVM IR, combining low-level control with modern backend performance. It is built to feel snappy at every stage, without sacrificing expressiveness.

Typed, yet Flexible.

Nue requires strong typing without rigidity. Using any and explicit type whitelisting, developers can define flexible yet safe data structs and function signatures.

Intuitive Syntax

Nue feels natural. With readable constructs like match, table typing, for i in 1 .. 10, and Lua-style variadics, its syntax is made to express intent, not ceremony. You will rarely need semicolons, and you will never miss the noise.

Fast to Learn, Fun to Master

Nue is designed for fun and flow. Its minimal syntax, clear rules and focus on expressiveness makes it easy to pick up, yet also powerful enough to reward more complex things.

What does Nue look like?

// this one is quite obvious! :)
print("Hello from Nue!")
[string, number] myVar = "hello"
myVar = 123
print(myVar) //123
myVar = {} // error: myVar only allows strings and numbers
string input = {"yes", "no", "maybe"}[math.random(1, 3)]
        
match input {
  case "yes" {
    print("Confirmed!")
  }
  
  case "no" {
    print("Cancelled!")
  }
  
  case { // this is the default case
    print("Unknown response.")
  }
}
boolean enabled = true
alias mirror = enabled

mirror = false

print(mirror) // output: false, this is to be expected
print(enabled) // output: false
// this is because when we made an alias of 'enabled' (mirror),
// we effectively made them share the same memory
function customIterator(...) -> function {
  table items = {...}
  number i = 1
  
  return function() -> boolean, any? {
    if i > #items { return false }
    return true, items[i++]
  }
}

for value in customIterator("a", 2, true) {
  print(value)
}

VSCode Extension

Even in its early days, Nue already has an experimental VSCode extension with syntax highlighting and more coming soon.

VSCode Extension Preview
VSCode Marketplace Open VSX GitHub

Feature Requests

See something missing from Nue or wish for a feature that no other language has? Let Nue be your dream - let's rewrite history together!

Request a Feature

Timeline & Development Pace

Nue is developed by a single A-Level student - me - juggling 12-hour school days, coursework, and a genuine love for both computer science and this language alike. Development continues whenever possible, typically surging during school holidays (think October half-term, winterbreak, etc. in the UK).

While an August to September 2025 milestone was once the goal, it is clear now that the timeline will be more fluid. Realistically, late October 2025 is the next window for major progress, with further milestones aligned to future breaks.

If you are excited about Nue, please consider joining the Discord server - it is the best place to suggest features, follow updates, or just enjoy a small but growing community that is passionate about Nue.