WurstScript
WurstScript copied to clipboard
Programming language and toolkit to create Warcraft III Maps
sometimes i want to know how much eles in the enum and want to make a iterator if the enum can get size (Gets the number of fields in the...
What the title says. Right now, checked dispatch is inserted at every class method call, heavily bloating up the code, and dragging down the excellent inlining system that has been...
as the wurst manual says that "vararg" is unlimited in amount of values inside, see: https://wurstlang.org/manual.html#extension-functions "We can pass any amount of integers to the function" it should be noted...
.. and then cause "import C could not be found in Y" errors. Even though the package clearly exists:  The problem is that `MapBounds` contains an error, which doesn't...
Currently the compiler will crash when access to a file is permitted. Instead it should give a nice error message. Case 1: ``` java.io.FileNotFoundException: C:\Users\....\challenge\.....w3x (Access is denied) java.io.FileOutputStream.open(Native Method)...
After the inline phase there are many functions like this ```` function C1 takes nothing returns boolean return true endfunction ```` Left behind which are from packages which init's have...
It should be possible to write `Blub.foo()` to reference the function `foo` in package `Blub`.
- [x] Teach compiler to find dependencies in `_build/dependencies` automatically (folder created by setup tool) - [x] Make editor track changes to files in `_build/dependencies` (basically handle them like files...
Steps to reproduce: 1. Make a 24-player map like this:  2. Make 2 forces like this:  Saving this map in WorldEdit produces this monstrosity of a function: https://pastebin.com/JED2J7V3...
warnings from stdlib show in user projects. Don't think that's useful.