[Grace-core] Parsing ambiguity

James Noble kjx at ecs.vuw.ac.nz
Mon Jun 30 23:53:11 PDT 2014


On 1/07/2014, at 18:03 pm, Timothy Jones <tim at ecs.vuw.ac.nz> wrote:

> How should the following expression be parsed?
> 
>  o
> 
> Is this a request for 'run' with two arguments, each the result of a comparison
> operator, or is it a request for 'run' with a single argument, which is a
> request to 'a' with generic parameters 'B' and 'C' and an argument of 1?

I'm pretty sure this is 

run(a<B, C>1) 

not 

run( a<B, C>(1) ) 

but yes, it's a problem

J


More information about the Grace-core mailing list