[Grace-core] Indentation (After Teleconference)

James Noble kjx at ecs.vuw.ac.nz
Mon Feb 16 16:18:07 PST 2015


On 17/02/2015, at 13:06 pm, Andrew P Black <black at cs.pdx.edu> wrote:

>  I feel that we need non-teminals in the syntax that mean "statement or declaration" and "braced construct".

yes we do - one way or another (potentially not reachable from the start symbol :-)

we almost have "braced construct" more or less - I think it's "codeSequence | innerCodeSequence"
but I would like a better name than "statementOrDeclaration" 

we also need these for comment attachment, in that the proposed rules are that
comments are anchored into the closest surrounding statementOrDeclaration or bracedConstruct :-)

James


More information about the Grace-core mailing list