EML/ECL example problem [message #531648] |
Wed, 05 May 2010 12:48  |
Eclipse User |
|
|
|
Hi,
I've just started using Epsilon and I'm particularly interested in ECL for comparing models. I run the Heterogeneous Model Merging with ECL/EML example (from the examples on the epsilon site) in eclipse, and I get an error on the line:
t."alias".exists(a|a.name = s.name);
in the Comparison.ecl file. Eclipse says:
multiple markers at this line:
-mismatched input:'alias'
-no viable alternative at input 'alias'
-Line Breakpoint:Comparison.ecl [line:16]
Can someone tell me what's wrong or what can be done?
Bogie
|
|
|
|
Re: EML/ECL example problem [message #531673 is a reply to message #531659] |
Wed, 05 May 2010 13:46  |
Eclipse User |
|
|
|
In case you run into similar problems with any of the other examples,
the updates in the syntax of Epsilon languages are documented in
http://eclipse.org/gmt/epsilon/doc/articles/eol-syntax-updat es/
Cheers,
Dimitris
Dimitris Kolovos wrote:
> Hi Bogie,
>
> Since 0.8.8 we've changed the escape character for reserved words (i.e.
> alias) from " to `. Therefore, t."alias" needs to become t.`alias`
> instead. I'll update the example in the SVN shortly.
>
> Cheers,
> Dimitris
>
> Bogie wrote:
>> Hi,
>>
>> I've just started using Epsilon and I'm particularly interested in ECL
>> for comparing models. I run the Heterogeneous Model Merging with
>> ECL/EML example (from the examples on the epsilon site) in eclipse,
>> and I get an error on the line:
>> t."alias".exists(a|a.name = s.name);
>> in the Comparison.ecl file. Eclipse says: multiple markers at this line:
>> -mismatched input:'alias'
>> -no viable alternative at input 'alias'
>> -Line Breakpoint:Comparison.ecl [line:16]
>>
>> Can someone tell me what's wrong or what can be done?
>>
>> Bogie
>
>
--
Spread the word: http://www.eclipse.org/gmt/epsilon/spreadtheword
Follow Epsilon on Twitter: http://twitter.com/epsilonews
|
|
|
Re: EML/ECL example problem [message #588836 is a reply to message #531659] |
Wed, 05 May 2010 13:46  |
Eclipse User |
|
|
|
In case you run into similar problems with any of the other examples,
the updates in the syntax of Epsilon languages are documented in
http://eclipse.org/gmt/epsilon/doc/articles/eol-syntax-updat es/
Cheers,
Dimitris
Dimitris Kolovos wrote:
> Hi Bogie,
>
> Since 0.8.8 we've changed the escape character for reserved words (i.e.
> alias) from " to `. Therefore, t."alias" needs to become t.`alias`
> instead. I'll update the example in the SVN shortly.
>
> Cheers,
> Dimitris
>
> Bogie wrote:
>> Hi,
>>
>> I've just started using Epsilon and I'm particularly interested in ECL
>> for comparing models. I run the Heterogeneous Model Merging with
>> ECL/EML example (from the examples on the epsilon site) in eclipse,
>> and I get an error on the line:
>> t."alias".exists(a|a.name = s.name);
>> in the Comparison.ecl file. Eclipse says: multiple markers at this line:
>> -mismatched input:'alias'
>> -no viable alternative at input 'alias'
>> -Line Breakpoint:Comparison.ecl [line:16]
>>
>> Can someone tell me what's wrong or what can be done?
>>
>> Bogie
>
>
--
Spread the word: http://www.eclipse.org/gmt/epsilon/spreadtheword
Follow Epsilon on Twitter: http://twitter.com/epsilonews
|
|
|
Powered by
FUDForum. Page generated in 0.05190 seconds