Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [qvto-dev] Which parts are supported by the "partial implementation of the OMG standard specification"?

Hi

I tried the first could of examples from the OMG spec.

I couldn't find any context in which imperative if was parsed. In particular, I wanted to put an if around an assignment in a mapping to ensure it remained unset.

    Regards

        Ed

   
On 04/07/2013 18:46, Sergey Boyko wrote:
Hi Ed,

I checked 'if' syntax and could not find any cases when imperative syntax gives parsing error.
Could you please provide some the examples of unrecognized 'if' syntax which you mentioned.

TIA,
  Sergey.



On Tue, Jul 2, 2013 at 1:16 AM, Sergey Boyko <serg.boyko2011@xxxxxxxxx> wrote:
Hi Ed,

Interesting observation. Thank you for pointing to this. I briefly looked into grammer file and saw that 'ImperativeOCL.gi' drops the rule for 'if' which comes from EssentialOCL.gi and defines new rule.  I'll check what's wrong with 'if' syntax.

About Wiki for deviation from OMG standart - very good idea indeed. I think I have a very brief list of non-implemented features.

Regards,
  Sergey.



On Mon, Jul 1, 2013 at 4:30 PM, Ed Willink <ed@xxxxxxxxxxxxx> wrote:
Hi

I've tried to use the Imperative If syntax a few times without success. This time I tyried harder.

The SimpleUML2RDBMS example has no impertaive If.
A variety of OMG spec examples give parsing errors.
Nothing seems to work that isn't OCL If syntax.

With knowledge of grammar programming, I can see that the alternate If syntax may pose significant grammar formulation challenges.

The QVT documentation starts with "QVT Operational component is a partial implementation of the OMG standard specification", but I have not seen and defibnition of the partial support anywhere.

I'm guessing that Imperative If is one of the unsupported facilities.

Is this so? Is there a definition of what is omitted anywhere? Let's have a Wiki page.

    Regards

        Ed Willink

_______________________________________________
qvto-dev mailing list
qvto-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/qvto-dev




_______________________________________________
qvto-dev mailing list
qvto-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/qvto-dev


No virus found in this message.
Checked by AVG - www.avg.com
Version: 2013.0.3345 / Virus Database: 3204/6464 - Release Date: 07/04/13



Back to the top