WurstScript
WurstScript copied to clipboard
Programming language and toolkit to create Warcraft III Maps
In vJass, the following is valid: ``` library Example globals integer array sized[12] endglobals endlibrary ``` And, for sizes less than 8192, this is semantically equivalent to: ``` library Example...
This would appear not to be a problem, but the important thing to remember is that initialization of static members can use a function which can do anything. If you...
It should be possible to - disable checking while typing - disable checking on save - have separate commands to run checks / clear errors and warnings (Suggested by HT)
When the stacktrace is very long it can be displayed out of screen and overlap the minimap and other text messages, therefore being unreadable. I think we can sacrifice anything...
This code gets generated http://peeeq.de/code.php?id=28659 for the EBR project. The type cannot change between the two checks, and the check is therefore useless
Like extension functions one could also have extension properties. Extension properties would allow to add new fields to an existing class (but not to other types). Example (inspired by [HotN/wurst/HeroStuff/CaptureAnimation.wurst](https://github.com/Crigges/HotN/blob/7288a57d1f97d0b521c5b90d261281c225d12044/HotN/wurst/HeroStuff/CaptureAnimation.wurst)):...
For example to hook into `SetUnitX` and catch out of bounds errors.
When adapting compiletime object generation to existing maps, that already have objects inside created with the Object-Editor, Wurst throws an Error if an ID would be a duplicate and stops...
If there is no read before the first write.
For example, when using old stdlib for EBR.