From: Stefan S. <sse...@ar...> - 2004-10-28 17:13:32
|
David Abrahams wrote: >Vladimir Prus <gh...@cs...> writes: > >>On Tuesday 26 October 2004 08:16, Stefan Seefeld wrote: >> >>>The Abstract Semantic Graph (*ASG*) is a structure that is built from >>>the AST (or PTree), but where identifiers are cross-referenced to their >>>respective declarations (thus it's a graph, not a tree). >> >>I think that "Abstract" and "Semantic" words are all very confusing. >>Basically, you description of ASG says it's just a set of interlinked C++ >>objects. Semantic could mean anything, including operational semantic (how >>i+1 is prorcessed and so on). I'd suggest to name this module just "Objects", >>or "Entities", to avoid further confusion. > > >Also, the term AST has a well-known meaning which, I'm pretty sure, >does not constrain it to denote pure trees, nor pure syntax. >Choosing a different meaning in the name of "clarity" might be a bad >idea. Are you suggesting that my interpretation of 'AST' as I described it is different from the conventional use ? Or that using both terms (AST as well as ASG) together is a bad idea ? Regards, Stefan |