Hi Andy,
On Thu, 2012-05-03 at 11:54 +0200, Andy Gotz wrote:
> We will accept Xtend code as long as it does not slow down the starting
> up of DAWN. But why should it?
>
> For anyone who does not know Xtend take a look at this video:
>
> http://vimeo.com/31248257
>
> Does it remind you any language who know. I will give you a type - think
> of a language starting with P ;-)
Syntactic coincidence I think/hope :-) "[ ... ]" is not an array or list
in xtend, but a closure (a "lambda function" in lisp or python-speak).
The sayHello method in this example also shows that the Xpand template
syntax has been incorporated in the new Xtend as a string-like literal
type. Fantastic, and better IMHO than the alternatives like Acceleo.
Amongst the potential uses of this is flexible template-based generation
of text such as specialised keyword input to third-party programs, where
the logic is within the template itself.
Regards,
Peter.
>
> Andy
>
> On 05/03/2012 11:32 AM, Peter Keller wrote:
> > Hi Matt,
> >
> > On Thu, 2012-05-03 at 07:27 +0000, [log in to unmask] wrote:
> >> But from your replies, it seems there is no objection in the event of some being used on an experimental basis in dawn.
> > Not really my call I think, but from my point of view no objection at
> > all. I don't have the time to look into it now (much as I would like
> > to), but if some xtend appears in Dawn it would probably encourage me to
> > explore it myself a bit later.
> >
> > Cheers,
> > Peter.
> >
> >> M
> >>
> >> -----Original Message-----
> >> From: Main mail list for the dawn collaboration [mailto:[log in to unmask]] On Behalf Of Peter Keller
> >> Sent: 02 May 2012 17:47
> >> To: [log in to unmask]
> >> Subject: Re: [DAWN] xtend !scala
> >>
> >> Hi Andy, Matt,
> >>
> >> Interesting: I have been using Xtend for some time, but these newer developments have passed me by.... It seems that there are two "flavours" of it now. The one that I have been using is the model transformation language variant that is maintained by Itemis, and is part of Xpand (<http://www.eclipse.org/modeling/m2t/?project=xpand>). I would never have thought of it as a general-purpose programming language, but that seems to be the thrust of the newer version.
> >>
> >> According to the history section at
> >> <http://www.eclipse.org/xtend/#history> the model transformation variant is now in maintenance mode. Seems like I have some catching up to do :-)
> >>
> >> I am always potentially interested in statically-typed languages that address some of the shortcomings of Java. So many languages though, so little time....
> >>
> >> Regards,
> >> Peter.
> >>
> >> On Wed, 2012-05-02 at 18:16 +0200, Andy Gotz wrote:
> >>> Matt,
> >>>
> >>> from the title do I understand you prefer Xtend to Scala? We are using
> >>> it in another project and yes it has a very nice feel to it. Some of
> >>>
> >>> Andy
> >>>
> >>> On 2012/04/26 12:14 PM, [log in to unmask] wrote:
> >>>> Hello,
> >>>>
> >>>>
> >>>>
> >>>> xtend is worth a play: http://www.eclipse.org/xtend/ if you are
> >>>> interested in languages, I played around it at eclipse con.
> >>>>
> >>>>
> >>>>
> >>>> (It compiles first to Java source which then compiles normally - so
> >>>> one has the Java.)
> >>>>
> >>>>
> >>>>
> >>>> Matt
> >>>>
> >>>>
--
Peter Keller Tel.: +44 (0)1223 353033
Global Phasing Ltd., Fax.: +44 (0)1223 366889
Sheraton House,
Castle Park,
Cambridge CB3 0AX
United Kingdom
|