What I don't like about the AOS way is that the syntax of the code
changes and I need to use a different compiler.
You will need a dedicated tool at least which can transform expressions from an
additional (pointcut or patch) language into usable instructions.
Would you like to suggest any other approach for the encapsulation of
cross-cutting concerns as advices?
I need to try out some sort of AOP 'hello world' example, but I had the feeling
that it is not designed to bolt onto existing C projects and that the idea is
that to use it one must forever use the AOP compiler because of the different
AOP syntax.
Would you like to look at information sources like the following?
- The AspeCt-oriented C compiler
http://research.msrg.utoronto.ca/ACC/Examples#e1
http://research.msrg.utoronto.ca/ACC/Tutorial#A_Reusable_Aspect_for_Memory_All
- Paper "A Classification of Pointcut Language Constructs" by Maximilian Störzer
and Stefan Hanenberg
http://www.infosun.fim.uni-passau.de/st/papers/splat05/
- Paper "Expressiveness and Complexity of Crosscut Languages" by Karl J.
Lieberherr, Jeffrey Palm and Ravi Sundaram
http://www.ccs.neu.edu/research/demeter/biblio/unified.html
- Paper "Expressive Pointcuts for Increased Modularity" by Klaus Ostermann, Mira
Mezini and Christoph Bockisch
http://academic.research.microsoft.com/Publication/1824154/expressive-pointcuts-for-increased-modularity
Regards,
Markus
_______________________________________________
Cocci mailing list
[email protected]
http://lists.diku.dk/mailman/listinfo/cocci
(Web access from inside DIKUs LAN only)