[Grace-core] Parsing ambiguity

James Noble kjx at ecs.vuw.ac.nz
Tue Jul 1 23:51:39 PDT 2014


> I've always preferred [ ]

À la Scala...

> (which should now be available as we change lists)

We won't have [1,2 3] literals
But still a[4] subscripts 

> or even [[ ]].  

I'm worried that will look to heavyweight but I can see its advantages. Hmm...

List[[String]]

List<String>

Map[[String, Number]]

> "<" and ">" are just too common and will cause confusion even if we make arbitrary rules like requiring whitespace around relations.

Hmmm

J


More information about the Grace-core mailing list