Comments (4)
I do not like the syntax. Curly braces are used for sets, not arrays.
I would suggest the following syntax:
constant myArray = [1, 2, 3, 4]
from wurstscript.
Good, with working type inference or did you forget it?
from wurstscript.
Should work with type inference
from wurstscript.
Not really sure, if this feature is needed. Would maybe be better to have a nice syntax for creating Lists?
from wurstscript.
Related Issues (20)
- [Lua] Modules are not initialized in derived classes when the module is used in the base class HOT 1
- [Lua] The reserved functions "objectToIndex" and "objectFromIndex" collide with user functions
- how to really create a string autohash?? HOT 7
- how to run debug mode, save some codes HOT 1
- wurst cannot good at low version war3. (about array limit)
- low version cj cannot change the limit size of the class HOT 2
- Why are there so many lines of code after compilation HOT 1
- Use w3x2lni to speed up compilation HOT 1
- support utf8 Character to Name the compile time variable
- how to use ExecuteFunc in wurst HOT 1
- [Lua] Parser Local Limit HOT 1
- why *.wurst filename must as same as package name?? HOT 1
- Connection to server got closed. Server will not be restarted. HOT 1
- Sometimes wurst built an unrunnable map. HOT 6
- Map crashes due to generated jass function with too many arguments HOT 7
- Internal error. HOT 1
- VersionExtractionException: Failed to extract executable version data HOT 2
- Can Wurst be upgraded to jdk17? HOT 3
- Option to disable game path configuration HOT 4
- [Lua]: Compiling map and not using "-opt" creates wrong "config" function
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wurstscript.