Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [mat-dev] Scripting support for MAT queries

Hi Iulian,
I would be interested in helping with this project.
Also I don't have a deep understanding of the complete source code I was involved early one with the project at SAP. 
I think I could also count on a bit of onsite support here from Krum or the other MAT colleagues ;-)
Just drop me an e-mail and let me know how we could proceed. 

Regards,
Markus

On Tue, Mar 22, 2011 at 4:28 PM, iulian dragos <jaguarul@xxxxxxxxx> wrote:
Hello,

I started a thread on the MAT forum related to adding scripting
support for queries in MAT (also an enhancement request:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=335943).

To summarize my proposal, I suggested adding the necessary extension
points in MAT to allow a different engine for querying. OQL is good
for quick and dirty queries, but it lacks abstraction and reuse: if
one needs to drill down using the previous results, or write some more
complicated conditions, it quickly becomes cumbersome or even
impossible.

I proposed using _javascript_ and Scala, as two possible
implementations. I see advantages for both: the dynamic typing
strategy in _javascript_ makes it easy to code against unknown objects,
while Scala runs on the JVM and has better performance (while the
syntax is still very lightweight).

The Scala project has been selected as a mentoring organization for
Google Summer of Code (http://code.google.com/soc/), and I wrote a
project proposal in this regard. If we get a motivated student, he can
work independently but it would be very good to have someone working
on the MAT team for supervision. We can work out the details, but I'd
need to know if anyone is interested in spending some time in the
beginning for laying out the project plan. From past experience, such
students are quite motivated and work well on their own, but it is
important to help them implement the right thing.

Regarding licensing, I believe we can have the MAT work well
delimited, and written in Java. Given the right extension points, the
rest can be written in Scala as independent plugins (at any rate, the
Scala license is a BSD-like license so it should be no barrier).

cheers,
iulian
_______________________________________________
mat-dev mailing list
mat-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/mat-dev


Back to the top