|
|
|
Re: Xtext and OCL references [message #1753555 is a reply to message #1753490] |
Tue, 07 February 2017 11:47  |
Eclipse User |
|
|
|
Bonjour Ed,
I think the most honnest answer would be that I've never used Git, and I'm still on an SVN-way to deal with projects. I taught how to use Git though. I'm just not to much into the technologicalist vibe that overwhelms the coding community.
I got the source from the web, or from a colleague. We investigate OCL because it is the de-facto standard to express well-formedness rules, and I try to use as less as possible of the attached engineering complexity of the EMF thing.
Might sound stupid, or crazy, but focusing on the concept of constraints over a modeling space takes a lot of mental space already. I would like not to encumber myself too much with the side effects of the Eclipse machinery.
For now I try to automatically rebuild defective rules and I found it complicated to directly deal with the AST of eclipse.ocl. That's why I thought of using the Xtext to regenerate an easy-to-modify AST. I usually like to recreate a lighter version in order to ensure I understand deeply what's happening. But I'm getting lost on that side... So, well, I have no other option for now but to try dealing directly with the original AST : today, I modify nodes with the help of EcoreFactory.
And I'm gonna see the Git side.
Bref, thanks a lot for your help.
Edouard
|
|
|
Powered by
FUDForum. Page generated in 0.06863 seconds