WurstScript
Home

WurstScript

Efficient. Innovative. Delicious.
Get Started

Why Wurst?

WurstScript is a programming language and modding toolkit used to create Warcraft III maps with ease. It supports Warcraft III reforged and older versions by producing either Jass or Lua code.

Built for serious Warcraft III projects: expressive language design, compiletime generation, and performance-first compilation.

Type System

Write map logic that stays maintainable.

Strong typing + clean syntax + extension methods.

u..addMana(100)
 ..addHP(100)

Compiletime

Generate map objects before runtime.

Create units, abilities, and items from code with consistent IDs and less manual editor work.

@compiletime
new ZombieDefinition(UNIT_ID, UnitIds.dalaranmutant)

Optimization Pipeline

Ship lean Jass or Lua output.

Built-in propagation, inlining, and merge passes reduce overhead without hand-tuning every script.

// fewer calls after inlining
fastDamage(target, amount)