Repository navigation
v2.0.3
Highlights
- Updated Warcraft III 3.0.1 scripting APIs, including the latest HUD-scale controls.
- Faster compiler analysis and smaller optimized Lua output.
- More reliable optimization, numeric behavior, and generic method dispatch across Jass and Lua.
Details
- Bundles common.j and blizzard.j verified against the live Warcraft III 3.0.1.24370 installation.
- Adds the latest HUD-scale natives and covers the bundled 3.0.1 API on both compiler backends.
- Improves compiler analysis through reused function facts, more efficient dataflow storage, and fewer repeated member lookups.
- Reduces generated Lua metadata, allocator and initialization overhead; optimized builds also compress descriptor and dispatch names.
- Fixes numeric conversions and expression grouping, generated-name collisions, indirect-call loop handling, and optimization around client-local values.
- Preserves generic root dispatch aliases, virtual override effects, and observable object allocations.
- Fixes Lua stacktrace placeholders and compiler diagnostics.
What's Changed
- Remove obsolete compiler scaffolding and stale comments by @Frotty in #1466
- Fix Lua stacktrace placeholder when tracing is disabled by @Frotty in #1467
- Avoid repeated member lookup during dispatch translation by @Frotty in #1468
- Fix Lua module overrides through generic dispatch roots by @Frotty in #1469
- Record Lua runtime improvement findings and reproducible probes by @Frotty in #1470
- Preserve virtual override effects and unused Lua allocations by @Frotty in #1471
- Remove dead code, duplicate helpers and orphaned test assets by @Frotty in #1473
- Fix untraced IM element traces, doubled exception header, UnionFind rank by @Frotty in #1474
- Reuse unchanged function facts across garbage removals by @Frotty in #1472
- Fix master build: FunctionFactsTests reads variables, not used variables by @Frotty in #1477
- Doc upkeep: reconcile agent guidance with the work since #1370 by @Frotty in #1476
- Resolve ignored tests and test map unit selection through MapRequest by @Frotty in #1478
- Keep dataflow anomaly states in arrays instead of copied maps by @Frotty in #1479
- Check a Lua build's native calls on one scan of its script by @Frotty in #1480
- Propagate copies into statements which overwrite them by @Frotty in #1481
- Propagate copies of values which depend on the local player by @Frotty in #1482
- Keep a loop through ExecuteFunc apart by @Frotty in #1488
- Fuzz client-local code; merge locals across locality by @Frotty in #1483
- Find the globals initialiser by identity, not by name by @Frotty in #1485
- Fix repeated names from the name compressor by @Frotty in #1489
- Only collapse dispatch guards which call the error function by @Frotty in #1486
- Keep the grouping of a right operand of + and * in Jass by @Frotty in #1487
- Stop merging a long run of assignments into one deep expression by @Frotty in #1490
- Keep an integer stored into a real a real by @Frotty in #1484
- Convert an integer stored into a real on Lua by @Frotty in #1492
- Reject an integer returned from a real Jass function by @Frotty in #1491
- Lua: shared allocator and init error handler, class metadata only when read by @Frotty in #1493
- Lua: declare no global as nil at the top of the script by @Frotty in #1495
- Backlog: drop RawHashMap, record a tree-shake dead end by @Frotty in #1494
- Compress Lua descriptor and dispatch names with -opt by @Frotty in #1496
- Release compiler 2.0.3 with latest Warcraft III 3.0.1 APIs by @Frotty in #1497
Full Changelog: v2.0.2...v2.0.3