[Grace-core] Parsing ambiguity

Michael Homer mwh at ecs.vuw.ac.nz
Tue Jul 1 23:47:09 PDT 2014


On Wed, Jul 2, 2014 at 6:37 PM, Kim Bruce <kim at cs.pomona.edu> wrote:
> I've always preferred [ ] (which should now be available as we change lists) or even [[ ]].  "<" and ">" are just too common and will cause confusion even if we make arbitrary rules like requiring whitespace around relations.
[] lists have never been part of the language and so cannot change. []
indexing is in the specification¹ (§8.5, "Accessing Operator
Requests"), which is totally undisambiguable from [] for generics.
-Michael
¹ I was surprised too.



More information about the Grace-core mailing list