You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The value
#:G2102
is not of type
LIST
[Condition of type TYPE-ERROR]
The limitation in Dyalog is discussed here but I was wondering if April needs to have this limitation?
It sounds like the Dyalog limitation is expressed in terms of tokens as B Wilson says "the name to be assigned must be the rightmost token in the overall left expression." But if the validation was done later in the interpretation process (perhaps once you have a parse tree) then it it could noticed that, when a commute occurs, the textual rightmost token might not be the same as the logical rightmost token.
The text was updated successfully, but these errors were encountered:
@phantomics cool! I'll be interested to hear if the April approach can handle arbitrarily nested commutes. Seems like if you are using the parse tree then it would be possible.
Selective assignment (with replicate on the left) works as expected (in April and Dyalog):
But the same thing (though expressed with a commute) does not in Dyalog:
and in April:
The limitation in Dyalog is discussed here but I was wondering if April needs to have this limitation?
It sounds like the Dyalog limitation is expressed in terms of tokens as B Wilson says "the name to be assigned must be the rightmost token in the overall left expression." But if the validation was done later in the interpretation process (perhaps once you have a parse tree) then it it could noticed that, when a commute occurs, the textual rightmost token might not be the same as the logical rightmost token.
The text was updated successfully, but these errors were encountered: