JiscMail Logo
Email discussion lists for the UK Education and Research communities

Help for DAWN Archives


DAWN Archives

DAWN Archives


DAWN@JISCMAIL.AC.UK


View:

Message:

[

First

|

Previous

|

Next

|

Last

]

By Topic:

[

First

|

Previous

|

Next

|

Last

]

By Author:

[

First

|

Previous

|

Next

|

Last

]

Font:

Proportional Font

LISTSERV Archives

LISTSERV Archives

DAWN Home

DAWN Home

DAWN  May 2012

DAWN May 2012

Options

Subscribe or Unsubscribe

Subscribe or Unsubscribe

Log In

Log In

Get Password

Get Password

Subject:

Re: xtend !scala

From:

Peter Keller <[log in to unmask]>

Reply-To:

Main mail list for the dawn collaboration <[log in to unmask]>

Date:

Thu, 3 May 2012 11:37:52 +0100

Content-Type:

text/plain

Parts/Attachments:

Parts/Attachments

text/plain (96 lines)

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

Top of Message | Previous Page | Permalink

JISCMail Tools


RSS Feeds and Sharing


Advanced Options


Archives

April 2014
February 2014
December 2013
November 2013
October 2013
September 2013
August 2013
July 2013
June 2013
May 2013
April 2013
March 2013
February 2013
January 2013
December 2012
November 2012
October 2012
September 2012
August 2012
July 2012
June 2012
May 2012
April 2012
March 2012
January 2012
March 2011
February 2011


WWW.JISCMAIL.AC.UK

Secured by F-Secure Anti-Virus CataList Email List Search Powered by the LISTSERV Email List Manager