Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
Description
The syntax for array accesses is:
PathExpression ::= PrimaryExpression ( Field | Index )*
Field ::= "." Identifier
Index ::= "[" Expression (":" ( Expression )? )? "]"
It's Python-inspired but misses part of what you can do there, e.g., arr[5:] is supported but arr[:5] is not.