bobjervis / parasol

The Parasol Language and related core development tools
Apache License 2.0
2 stars 2 forks source link

Implement numeric array dimensions. #5

Open bobjervis opened 9 years ago

bobjervis commented 9 years ago

Allow declarations of the form:

int[10] a;

or

int[20, int] b;

Dimensions declared as constant default to the 'normal' type of that constant (int or long as needed). But that dimension is pre-allocated to that size.