pgagnidze / ena

ქართული პროგრამირების ენა - Georgian Programming Language
https://ena-lang.org
GNU General Public License v3.0
21 stars 1 forks source link

Allow array initialization with specific values #3

Open pgagnidze opened 1 year ago

pgagnidze commented 1 year ago

Currently, we can initialize an array with new [4] 0; where 4 is the size, and 0 is the default value.

Allow initialization of the array with specific values like local a = [1, 2, 3, 4]