Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 316902 - EOL Interpreter view component
Summary: EOL Interpreter view component
Status: RESOLVED FIXED
Alias: None
Product: Epsilon
Classification: Modeling
Component: Core (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Dimitris Kolovos CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 414575 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-06-15 09:32 EDT by Chris Holmes CLA
Modified: 2020-11-30 13:59 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Holmes CLA 2010-06-15 09:32:51 EDT
Debugging of models and general development may be achieved via the conventional approaches of (e.g.) validating a model against constraints. However, general investigation/prototyping can sometimes be achieved more easily via the running of EOL batch files, e.g. to exercise the model or test out some hypothesis. This can be a little heavyweight for general ad hoc querying. I used a metamodelling tool (XMF) similar in many ways to Epsilon that provided an interactive console window allowing the user to interact directly with models and found this to be very useful. Would it be possible to add a similar feature to Epsilon?

The following is an example of the use of the console in XMF:

If I had a parser written on the package A::B::C which returns an instance of class A::B::C::MyClass I would write something like:
XMF> myInst := A::B::C::myParser();
XMF> myInst.of();
==> <Class MyClass>

I could also navigate the object structure:
XMF> myInst.mySlot;
==> someValue

And use reflection:
XMF> myInst.of().allAttrubutes();
==> Set{<Attribute attName : attType>, ... >

XMF> myInst.of().allOperations();
==> Seq{<blah>}


Regards
Chris
Comment 1 Dimitris Kolovos CLA 2013-09-09 07:09:23 EDT
*** Bug 414575 has been marked as a duplicate of this bug. ***
Comment 2 Dimitris Kolovos CLA 2020-11-30 13:59:06 EST
It took a decade but EOL now has an interpreter view :)

https://www.eclipse.org/epsilon/doc/articles/eol-interpreter-view/