Closed JSAbrahams closed 2 years ago
Mentioned in #172
Mamba cannot parse list indices.
Parse it somewhat similar to operation, if expression followed by [ parse as list index. What is within that operator is a range, which has a :
[
With the following structure:
range := [ [ '-' int] [ ( ':' ) | ':' [ '-' ] int ) ] [ [ - ] int ]
Note quite as describes above, but close (we generatlize to expressions ofc since we also want to accepgt e.g. function calls). The most up-to-date grammar can be found inspec/grammar.md
spec/grammar.md
Current Issue
Mentioned in #172
Mamba cannot parse list indices.
High-level description of the feature
Parse it somewhat similar to operation, if expression followed by
[
parse as list index. What is within that operator is a range, which has a :With the following structure: