RE: OCL tool

RE: OCL tool

From: Jorn Guy Suess <>
Date: Thu, 21 May 2009 08:08:00 +1000
Message-ID: <>
Hello Jakub,

Your analysis is correct. As far as I am aware, there is no parser that does def: correctly. I have made one based on OCL1, because I needed it (as defined in UML 1.4.2), but it is a hack. Are you aware that there are some def's in the UML WFR's that simply crash OCL because they are bottomless recursions? That is a further common trap. If you want to patch things up for yourself, I would recommend Dresden OCL or OSLO as the basis. Both are recent architectures. I like DOCL better, it is has a longer history and seems a bit richer.

Jörn Guy Süß

-----Original Message-----
From: [] On Behalf Of Jakub Moskal
Sent: Thursday, 21 May 2009 05:57
To: pUML Group
Subject: OCL tool


I've been looking for a working OCL 2.0 parser for a while now. I have
tried the following with no success:


Dresden OCL Toolkit,




Each one of them either doesn't seem to work properly, or doesn't
accept "def" statements in OCL. I also tried the Eclipse MDT OCL, but
I can't find a suitable tutorial with instructions on how to use it.

Can you recommend any good OCL 2.0 tool that would accept "def"
statements and parse an OCL code? Most of the tools mentioned above
seem abandoned, which tool is the most up-to-date?


To remove yourself from this list please mail
with a message containing the word "unsubscribe".

Received on Wed 20 May 2009 - 23:08:08 BST