WurstScript
WurstScript copied to clipboard
Programming language and toolkit to create Warcraft III Maps
``` class B var i = 0 function get() returns int return i class A private var foo = b.get() //
``` class B int a = 1 construct(int a) if a == 0 destroy this this.a = a //error in here ```
when only change a wurst package. not need compile all package. when only change the map file like object/sound (not change any package) ,no need compile ,just need inject it....
The following code breaks when I run the map at the injecting mapscript phase ``` package Tmp import LinkedList public interface Function function call(S s) returns R public interface Predicate...
**Is your feature request related to a problem? Please describe.** Hive~fags~rs often have a "perf-first" approach to writing jass. Sometimes it's justified since jass is so slow. Other times, it's...
``` class B(int a, int b) extends A(b,a) init blub() ``` is like a shortcut for ``` class B construct(int a, int b) super(b,a) blub() ```
Add a feature that allows public reading of classmembers but only protected/private write access to avoid excessive use of gettermethods which blow up the code. Solution 1: introduce a new...
Given example creates 5 real arrays and 2 unit arrays (using ech separate array for each doAfter closure even though they are members of same abstract class and can't overlap...
``` class aaa int index function setI //when i write this . the `setIndex(int index) ...` on the `Intelligent association`(is that called this?) to `Automatic completion?` will be helpful ```
Sort of a precursor of #303 Allow tuples to be generic. Example usage would be iterators that return a key-value pair tuple. ``` tuple entry(K key, V val) public class...