[Grace-core] minor language issues

Michael Homer mwh at ecs.vuw.ac.nz
Mon May 25 23:31:42 PDT 2015


On Tue, May 26, 2015 at 5:28 PM, James Noble <kjx at ecs.vuw.ac.nz> wrote:
> talking briefly after the telecon, basically the issues are (as we known)
>  - ambiguity between [ ] (or other brackets) as “indexing” vs as “collection constructors” (matchfix / circumfix operators)
>        IF those brackets can count as delimited then there is a real ambiguity
>        we could resolve with spaces (as I think minigrace did)   a[x] -> indexing, a [x] -> pass collection of [x] to a
Minigrace does not do this.
>        we could give up on indexing (which many of you have reached already) which resolves this...
Or you can use parentheses to pass arbitrary expressions as arguments,
which seems to be the missing case nobody is talking about...
-Michael



More information about the Grace-core mailing list