From: Shigeru C. <ch...@is...> - 2003-04-26 18:17:08
|
I forward this message because the majordomo rejects it as a non-member submission. - Chiba > Date: Sat, 26 Apr 2003 12:58:42 -0600 > From: Larry Evans <> > To: op...@cs... > Subject: Re: [opencxx] Let's break OpenC++ up > > On 2003-04-23 06:12 Grzegorz Jakacki wrote: > > On Mon, 14 Apr 2003, James Michael DuPont wrote: > [snip] > > > > I do not think that there is the universal set of types of nodes, perhaps > > cons/nil is the only common denominator. It is very much domain dependent > > and the framewok should not fix it. Take a look at SLT, which defines just > > requirements on types (concepts) of containers. STL algorithms can be used > > with any types, not only the ones defined in STL (standard containers' > > iterators). For an example: imagine somebody prepared universal set of nodes > > for C++ before Chiba invented OpenC++. Now comes Chiba and wants to have > > some nodes which represent arbitrary chunks of text inserted into C++ parse > > tree. It is very unlikely, that the person who focused on inventing > > "universal" C++ parse tree predicted Chiba's requirement. We are in similar > > situation. > My cursory view of this thread suggests that maybe this: > > http://www.eptacom.net/pubblicazioni/pub_eng/mdisp.html > > would be useful since, quoting from the above, this method: > > allows new classes to be added without any need to change existing ones > > Another version, hopefully easier to understand, is at: > > http://groups.google.com/groups?selm=387CE74C.B161F6D6%40earthlink.net&output=gplain > > |