Re: [Datadraw-user] 42 makes me improve datadraw
Brought to you by:
smilindog2000
From: Richard P. <rdp...@gm...> - 2009-01-20 17:44:21
|
I've commited my changes. A diff of my .dd files using the previous and the actual version of datadraw shows no changes. So I assume that I am backward compatible at least. Best Regards. Richard On Sat, Jan 17, 2009 at 5:26 PM, Richard Prescott <rdp...@gm...>wrote: > Hello guys, > > I have implemented two features for datadraw. One of it is "view". I.e. > calculated properties where the code is provided by the user and later > usable as key for hashes, ordered_lists, and heaps. It can also be used for > documentation purpose as the first thing I tend to read in a datadraw > projects is the .dd and then (sometimes) the .h. > > The second feature is chained key for the same types of relationships > (hashes, ordered_lists, and heaps). I face that for the first time when > confronting a many to many relationship where searching for the other were > using a derived key. Yes, this could have been implemented with "view" but > this solution is sexier I think. > > I am ready to commit. Although, I haven't done extensive tests. So i > don't want to break installations using latest subversion version and also I > didn't discuss those two features with anybody. So maybe they are > inappropriate? Let discuss.... > > Code is like picture, it worth a thousand words. So in attchmnt, an > example of it that compiles and run. > > Best Regards > > Richard > > > |