adeze / kiama

Automatically exported from code.google.com/p/kiama
GNU Lesser General Public License v3.0
2 stars 0 forks source link

Add support for collection attributes #20

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
For example, see the following for an idea of the kind of feature we want.

Boyland, J. T. Descriptional Composition of Compiler Components. PhD thesis, 
University of Cali- 
fornia, Berkeley, Sept. 1996. Available as technical report UCB//CSD-96-916.

Magnusson, E., Ekman, T., and Hedin, G. Extending attribute grammars with 
collection attributes - 
evaluation and applications. In Proceedings of the Seventh IEEE International 
Working Conference on 
Source Code Analysis and Manipulation (2007), IEEE Press.

Original issue reported on code.google.com by inkytonik on 5 Nov 2009 at 2:55

GoogleCodeExporter commented 9 years ago

Original comment by inkytonik on 5 Nov 2009 at 4:59

GoogleCodeExporter commented 9 years ago

Original comment by inkytonik on 6 Nov 2009 at 1:29

GoogleCodeExporter commented 9 years ago

Original comment by inkytonik on 10 Nov 2009 at 5:11

GoogleCodeExporter commented 9 years ago

Original comment by inkytonik on 18 Jan 2010 at 11:33

GoogleCodeExporter commented 9 years ago

Original comment by inkytonik on 7 Apr 2010 at 10:13

GoogleCodeExporter commented 9 years ago

Original comment by inkytonik on 26 Jul 2010 at 5:10

GoogleCodeExporter commented 9 years ago

Original comment by inkytonik on 18 May 2011 at 9:48

GoogleCodeExporter commented 9 years ago

Original comment by inkytonik on 15 Jun 2012 at 9:29

GoogleCodeExporter commented 9 years ago
Version 1.6 will have more general `collect` and new `collectall` generic 
traversals that allow easy expression of collection of values from a tree. For 
now we use these in conjunction with attr to build an approximation of a 
collection attribute. The main deficiency is that multiple collection 
attributes done this way require multiple traversals over the tree, but it's 
not clear there is an easy way around that in a dynamic attribution setting.

Original comment by inkytonik on 7 Jan 2014 at 9:51

GoogleCodeExporter commented 9 years ago

Original comment by inkytonik on 7 Jan 2014 at 9:52

GoogleCodeExporter commented 9 years ago

Original comment by inkytonik on 3 Feb 2014 at 4:23

GoogleCodeExporter commented 9 years ago

Original comment by inkytonik on 9 May 2014 at 3:50