|
Re: run haetae [message #1740304 is a reply to message #1740285] |
Thu, 11 August 2016 11:34 |
|
Hi, Yes, Haetae is compatible with ETL, it is able to detect errors for both declarative and imperative parts of ETL. However, I would recommend to be cautious about the use of Any type - for best results, it is recommended to assign a variable (of any type) with the values that conform to the same type throughout the entire program.
If any problems please let me know.
Cheers,
Will
Research Associate
Department of Computer Science
University of York
|
|
|
|
Re: run haetae [message #1744216 is a reply to message #1740456] |
Fri, 23 September 2016 12:13 |
|
To use Haetae, you need to go to the Preference settings in Eclipse, under Epsilon, tick "enable static analysis (experimental)". At the same time, under Epsilon Haetae, tick "Enable Epsilon Haetae (experimental)".
Haetae will take effect when these settings are applied.
You should register your metamodel before you declare it in your program. To do so, right click on Tree.ecore and select "register EPackages" from the menu.
You should declare your metamodel using the NSURI of Tree.ecore, if you are not sure what it is, In Eclipse, click Window -> Show View -> Other and search for "EPackage Registry", the registered Tree.ecore should be in the registry. What you need to enter is the nsuri. For example:
model Tree driver EMF {nsuri="http://www.eclipse.org/emf/2002/Tree"};
I hope this helps.
Research Associate
Department of Computer Science
University of York
|
|
|
|
Re: run haetae [message #1746085 is a reply to message #1746035] |
Fri, 21 October 2016 12:36 |
|
Hi, I have recently picked up with migrating Haetae to the new repository. And I noticed that the previous build had som problems for ETL and EVL supports. This problem has now been fixed, so please checkout the latest version and try again.
Cheers,
Will
Research Associate
Department of Computer Science
University of York
[Updated on: Fri, 21 October 2016 12:40] Report message to a moderator
|
|
|
|
|
|
|
|
|
Re: run haetae [message #1798087 is a reply to message #1797663] |
Mon, 12 November 2018 09:35 |
|
Hello,
In Haetae, there are a number of creators which are responsible for generating models based on the AST. Please refer to [1].
So for a given segment of code what you need to do is to:
1) get the ast of it
2) feed the ast to one of the creators, not that wrong type of AST will yeild an error for you
3) get the in memory EOLelement and do things with it.
Hope this helps.
Cheers!
Ran
Research Associate
Department of Computer Science
University of York
|
|
|
|
Powered by
FUDForum. Page generated in 0.02655 seconds