WurstScript
WurstScript copied to clipboard
Programming language and toolkit to create Warcraft III Maps
When the map script is translated to Lua, I am hitting some sort local variable limit, which causes the map not to run in Warcraft. In one particular package, I...
**Describe the bug** When I'm compiling a map using Lua target, when I use "-opt" as well all works fine. However when I disable "-opt", the "config" native function get's...
> why *.wurst filename must as same as package name?? I don't think wurst should check file names. This is a restriction that should not exist
``` // consider this function: function add(x = 0, y = 0, z = 0) return x + y + z // can be called like this: add(1, 2, 3)...
which means that objects of the class or a subclass can not be destroyed from the outside. Might be necessary for designing some APIs.
``` class A function bar() class B extends A override function bar() function foo(A a) a.bar() B b = new B foo(b) // there should be no dynamic dispatch involved...
(optional) So that the same module can be used several times in a class.