[Grace-core] Parsing ambiguity
Kim Bruce
kim at cs.pomona.edu
Tue Jul 1 23:37:30 PDT 2014
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.
Kim
On Jul 1, 2014, at 5:47 PM, Andrew P. Black <black at cs.pdx.edu> wrote:
>
> On 1 Jul 2014, at 17:23, Timothy Jones <tim at ecs.vuw.ac.nz> wrote:
>
>> On 02/07, James Noble wrote:
>>> 1. because Java because C++
>>> 2. unlike other arguments, "type" arguments in <>s are optional.
>>> 3. at one point I tried to suggest a general optional keyword scheme, and you'd write foo type(X,Y) or something if you wanted to give types
>>
>> Rust is having this argument at the moment as well.
>>
>> https://github.com/rust-lang/rfcs/pull/148
>
>
> It’s a different argument: [ ] vs < >. Fortress uses Oxford brackets, ⟦ ⟧, which were typed [[ and ]].
>
> Andrew
>
>
>
> _______________________________________________
> Grace-core mailing list
> Grace-core at cecs.pdx.edu
> https://mailhost.cecs.pdx.edu/mailman/listinfo/grace-core
More information about the Grace-core
mailing list