Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Epsilon » [HUTN] Object names/identities
[HUTN] Object names/identities [message #555519] Thu, 26 August 2010 21:58 Go to next message
Hallvard Traetteberg is currently offline Hallvard Traetteberg
Messages: 601
Registered: July 2009
Location: Trondheim, Norway
Senior Member
Hi,

I've been trying out the HUTN format, and it's fairly easy to work with.
One thing that's useful us the way you specify object identities, e.g.
Person "Hallvard" { ... }. However, since the identity is mandatory, you
have to invent identities even for objects that you don't need to link
to. Would it make sense to make the object identity optional? E.g.
Person { ... }

Hallvard
Re: [HUTN] Object names/identities [message #555609 is a reply to message #555519] Fri, 27 August 2010 10:37 Go to previous messageGo to next message
Louis Rose is currently offline Louis Rose
Messages: 440
Registered: July 2009
Location: York, United Kingdom
Senior Member
Hi Hallvard,

Thanks for the feedback. I think this is a good idea. In fact, it's a part of the HUTN specification, and I've discovered that it's not possible in Epsilon HUTN due to a typo in the parser!

I've opened the following bug to cover the problem, and I'm about to commit a fix to SVN:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=323804


This fix allows the following forms:

Person "John" {}  // Identifiable
Person {}               // Anonymous
Person "John";    // Identifiable, no body
Person;                 // Anonymous, no body


The last two forms are used in examples in the HUTN specification (but oddly are not possible with the grammar in the HUTN specification!)

Cheers,
Louis.
Re: [HUTN] Object names/identities [message #555631 is a reply to message #555609] Fri, 27 August 2010 12:53 Go to previous messageGo to next message
Hallvard Traetteberg is currently offline Hallvard Traetteberg
Messages: 601
Registered: July 2009
Location: Trondheim, Norway
Senior Member
On 27.08.10 12.37, Louis Rose wrote:
>
> Thanks for the feedback. I think this is a good idea. In fact, it's a
> part of the HUTN specification, and I've discovered that it's not
> possible in Epsilon HUTN due to a typo in the parser!

Aha! You see I tried, and when it didn't work I assumed I had
misunderstood the specification.

When will this be released and available through the install manager
(together with other recent fixes)?

Hallvard
Re: [HUTN] Object names/identities [message #555658 is a reply to message #555631] Fri, 27 August 2010 14:07 Go to previous messageGo to next message
Louis Rose is currently offline Louis Rose
Messages: 440
Registered: July 2009
Location: York, United Kingdom
Senior Member
And I'm glad you mentioned this problem. I've been meaning to see whether Epsilon HUTN had this bug for a while.

We're thinking of putting out an interim update very soon (in the next week), which will include all of these fixes. Before we release the update, we just need to fix a bug with HUTN on Windows, which I'm investigating this afternoon.

If you use Twitter, you can follow us (@epsilonews), and we'll tweet when the new interim release is out.

Cheers,
Louis.
Re: [HUTN] Object names/identities [message #555922 is a reply to message #555658] Mon, 30 August 2010 08:15 Go to previous messageGo to next message
Hallvard Traetteberg is currently offline Hallvard Traetteberg
Messages: 601
Registered: July 2009
Location: Trondheim, Norway
Senior Member
On 27.08.10 16.07, Louis Rose wrote:
>
> We're thinking of putting out an interim update very soon (in the next
> week), which will include all of these fixes.

Great!

> If you use Twitter, you can follow us (@epsilonews), and we'll tweet
> when the new interim release is out.

Please announce it here, too!

Hallvard
Re: [HUTN] Object names/identities [message #557300 is a reply to message #555922] Mon, 06 September 2010 14:22 Go to previous messageGo to next message
Dimitrios Kolovos is currently offline Dimitrios Kolovos
Messages: 1776
Registered: July 2009
Senior Member
The interim version that fixes this is now available.

Cheers,
Dimitris

Hallvard Trætteberg wrote:
> On 27.08.10 16.07, Louis Rose wrote:
>>
>> We're thinking of putting out an interim update very soon (in the next
>> week), which will include all of these fixes.
>
> Great!
>
>> If you use Twitter, you can follow us (@epsilonews), and we'll tweet
>> when the new interim release is out.
>
> Please announce it here, too!
>
> Hallvard
Re: [HUTN] Object names/identities [message #557370 is a reply to message #557300] Tue, 07 September 2010 07:27 Go to previous message
Hallvard Traetteberg is currently offline Hallvard Traetteberg
Messages: 601
Registered: July 2009
Location: Trondheim, Norway
Senior Member
On 06.09.10 16.22, Dimitris Kolovos wrote:
> The interim version that fixes this is now available.

Thanks a lot! After updating I can use EDouble constants and the
shorthand notation for object creation in HUTN.

Hallvard
Re: [HUTN] Object names/identities [message #593277 is a reply to message #555519] Fri, 27 August 2010 10:37 Go to previous message
Louis Rose is currently offline Louis Rose
Messages: 440
Registered: July 2009
Location: York, United Kingdom
Senior Member
Hi Hallvard,

Thanks for the feedback. I think this is a good idea. In fact, it's a part of the HUTN specification, and I've discovered that it's not possible in Epsilon HUTN due to a typo in the parser!

I've opened the following bug to cover the problem, and I'm about to commit a fix to SVN:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=323804


This fix allows the following forms:

Person "John" {} // Identifiable
Person {} // Anonymous
Person "John"; // Identifiable, no body
Person; // Anonymous, no body

The last two forms are used in examples in the HUTN specification (but oddly are not possible with the grammar in the HUTN specification!)

Cheers,
Louis.
Re: [HUTN] Object names/identities [message #593305 is a reply to message #593277] Fri, 27 August 2010 12:53 Go to previous message
Hallvard Traetteberg is currently offline Hallvard Traetteberg
Messages: 601
Registered: July 2009
Location: Trondheim, Norway
Senior Member
On 27.08.10 12.37, Louis Rose wrote:
>
> Thanks for the feedback. I think this is a good idea. In fact, it's a
> part of the HUTN specification, and I've discovered that it's not
> possible in Epsilon HUTN due to a typo in the parser!

Aha! You see I tried, and when it didn't work I assumed I had
misunderstood the specification.

When will this be released and available through the install manager
(together with other recent fixes)?

Hallvard
Re: [HUTN] Object names/identities [message #593311 is a reply to message #555631] Fri, 27 August 2010 14:07 Go to previous message
Louis Rose is currently offline Louis Rose
Messages: 440
Registered: July 2009
Location: York, United Kingdom
Senior Member
And I'm glad you mentioned this problem. I've been meaning to see whether Epsilon HUTN had this bug for a while.

We're thinking of putting out an interim update very soon (in the next week), which will include all of these fixes. Before we release the update, we just need to fix a bug with HUTN on Windows, which I'm investigating this afternoon.

If you use Twitter, you can follow us (@epsilonews), and we'll tweet when the new interim release is out.

Cheers,
Louis.
Re: [HUTN] Object names/identities [message #593350 is a reply to message #593311] Mon, 30 August 2010 08:15 Go to previous message
Hallvard Traetteberg is currently offline Hallvard Traetteberg
Messages: 601
Registered: July 2009
Location: Trondheim, Norway
Senior Member
On 27.08.10 16.07, Louis Rose wrote:
>
> We're thinking of putting out an interim update very soon (in the next
> week), which will include all of these fixes.

Great!

> If you use Twitter, you can follow us (@epsilonews), and we'll tweet
> when the new interim release is out.

Please announce it here, too!

Hallvard
Re: [HUTN] Object names/identities [message #593471 is a reply to message #555922] Mon, 06 September 2010 14:22 Go to previous message
Dimitrios Kolovos is currently offline Dimitrios Kolovos
Messages: 1776
Registered: July 2009
Senior Member
The interim version that fixes this is now available.

Cheers,
Dimitris

Hallvard Trætteberg wrote:
> On 27.08.10 16.07, Louis Rose wrote:
>>
>> We're thinking of putting out an interim update very soon (in the next
>> week), which will include all of these fixes.
>
> Great!
>
>> If you use Twitter, you can follow us (@epsilonews), and we'll tweet
>> when the new interim release is out.
>
> Please announce it here, too!
>
> Hallvard
Re: [HUTN] Object names/identities [message #593487 is a reply to message #557300] Tue, 07 September 2010 07:27 Go to previous message
Hallvard Traetteberg is currently offline Hallvard Traetteberg
Messages: 601
Registered: July 2009
Location: Trondheim, Norway
Senior Member
On 06.09.10 16.22, Dimitris Kolovos wrote:
> The interim version that fixes this is now available.

Thanks a lot! After updating I can use EDouble constants and the
shorthand notation for object creation in HUTN.

Hallvard
Previous Topic:[EWL/ETL] Model matching
Next Topic:Running the EGL example
Goto Forum:
  


Current Time: Thu Oct 23 13:17:21 GMT 2014

Powered by FUDForum. Page generated in 0.02960 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software