From: David A. <da...@bo...> - 2004-10-28 15:32:26
|
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. -- Dave Abrahams Boost Consulting http://www.boost-consulting.com |