OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

relax-ng-comment message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Subject: Re: [relax-ng-comment] Re: Attribute grammars


James Clark wrote:

> Couldn't one solve this by augmenting the current notation with type
> information  (e.g. declaraing the type returned by a particular production
> or alternative)?
> 
> I agree that it's helpful for a human reader for the grammar to indicate the
> types of object being passed around.
> 
> > Semantic attribute names
> > of attributes grammars make this away more readable.
> 
> But attribute grammars don't provide type information explicitly either
> (although the names are a useful hint to the human reader).

Or you could keep the current notation and just change the names
to reflect the type

Cheers,
David



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Powered by eList eXpress LLC