allow subscripts on array literals

and allow parameters as subscript indices