On 7/11/2011 9:53 AM, Kazimir Majorinc wrote:
On 11.7.2011. 15:04, Ken Tilton wrote:

On 7/10/2011 4:40 AM, Kazimir Majorinc wrote:
Is gensym used for anything except alpha-conversion in macros?
I like to link them using properties 'parent and 'kids to form a
lightweight tree, then hang other properties of each gensym/node to form
a dag/database to support interesting algorithms.

That's exactly kind of use I'm interested in. What's advantage over using lists for trees?

With a property list each value gets a name.

What advantage do gensyms/property-lists have over structs? Metaprogramming: the data can define new "slots" when the object is a property list.


Do you have some code to share?


Sorry, proprietary stuff over here. But I think I have already described how the whole thing works.

kt

_______________________________________________
pro mailing list
pro@common-lisp.net
http://lists.common-lisp.net/cgi-bin/mailman/listinfo/pro

Reply via email to