[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.modeling.mdt.uml2.ocl] draft article available for comments (How to process OCL Abstract Syntax Trees)

Hola,

I've drafted a contribution on a topic we all like, "How to process OCL 
Abstract Syntax Trees"

Summary

The EMFT OCL project provides the building blocks for Model-Driven tools to
weave OCL declarative specifications into software artifacts. We showcase 
some
of these possibilities, taking as starting point a plugin to visualize OCL 
ASTs
in the form of annotated trees. This example motivates some practical tips
about patterns for OCL visitors, including using Java 5 generics, and 
achieving
conciseness by encapsulating the visit order in a "walker" class. To really
reap the benefits of OCL-enriched specifications, tools in our modeling 
chain
have to be able to transform such expressions into the target software 
platform
(e.g. compile into Java, translate into SQL). Links to work in this area are
discussed, to ease jumpstarting your own OCL processing project.


Reviews and suggestions are welcome at:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=167543


I hope you find it useful.

Regards,


Miguel
http://www.sts.tu-harburg.de/~mi.garcia