Extend parser with '?//' destructuring alternative operator #32
Labels
enhancement
New feature or request
good first issue
Good for newcomers
hacktoberfest
help wanted
Extra attention is needed
Milestone
There was an operator I'd overlooked because I thought that it was a composition of two other operators. But it gets treated like its own operator and has its own precedence, as documented here:
?//
The task is:
Expr
withAlternativeDestructure
constructor.Parser
with this operator.One challenge lies in the character overlap between the
?
postfix operator and?//
. It may be necessary to change the way the?
postfix operator is parsed in the same way as #28 addresses this for existing operators with a similar overlap (e.g./
and//
).The text was updated successfully, but these errors were encountered: