Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 0DB20200BD2 for ; Sat, 3 Dec 2016 17:19:38 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 0C693160B16; Sat, 3 Dec 2016 16:19:38 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 2E3AB160B0F for ; Sat, 3 Dec 2016 17:19:37 +0100 (CET) Received: (qmail 77221 invoked by uid 500); 3 Dec 2016 16:19:36 -0000 Mailing-List: contact dev-help@groovy.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@groovy.apache.org Delivered-To: mailing list dev@groovy.apache.org Received: (qmail 77208 invoked by uid 99); 3 Dec 2016 16:19:36 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 03 Dec 2016 16:19:36 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 900071817A2 for ; Sat, 3 Dec 2016 16:19:35 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 5.573 X-Spam-Level: ***** X-Spam-Status: No, score=5.573 tagged_above=-999 required=6.31 tests=[FORGED_HOTMAIL_RCVD2=1.187, HTML_MESSAGE=2, KAM_UNSUB1=0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_SOFTFAIL=0.972, URIBL_BLOCKED=0.001, URI_HEX=1.313] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id J0VUgY9Bko0U for ; Sat, 3 Dec 2016 16:19:33 +0000 (UTC) Received: from mwork.nabble.com (mwork.nabble.com [162.253.133.43]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id C4FF45FAC8 for ; Sat, 3 Dec 2016 16:19:32 +0000 (UTC) Received: from static.162.255.23.22.macminivault.com (unknown [162.255.23.22]) by mwork.nabble.com (Postfix) with ESMTP id 580B87461516C for ; Sat, 3 Dec 2016 09:19:30 -0700 (MST) Date: Sat, 3 Dec 2016 09:19:30 -0700 (MST) From: Daniel Sun To: dev@groovy.incubator.apache.org Message-ID: In-Reply-To: References: <1480751977984-5737108.post@n5.nabble.com> Subject: Re: Elvis Assignment for Groovy 3 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_128895_205831811.1480781970354" archived-at: Sat, 03 Dec 2016 16:19:38 -0000 ------=_Part_128895_205831811.1480781970354 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable My pleasure ;) Cheers, Daniel.Sun =E5=9C=A8 "Marcin Erdmann [via Groovy]" =EF=BC=8C2016=E5=B9=B412=E6=9C=883=E6=97=A5 =E4=B8=8B=E5=8D=885:01= =E5=86=99=E9=81=93=EF=BC=9A Awesome, thanks for implementing it Daniel. On Sat, Dec 3, 2016 at 7:59 AM, Daniel Sun <[hidden email]> wrote: Hi all, The new parser "Parrot" supports Elvis Assignment(i.e. ?=3D) now. H= ere are some examples: def a =3D 2 a ?=3D 1 assert a =3D=3D 2 a =3D null a ?=3D 1 assert a =3D=3D 1 a =3D null a ?=3D a ?=3D 1 assert a =3D=3D 1 P.S. supports static compilation as well. Cheers, Daniel.Sun -- View this message in context: http://groovy.329449.n5.nabble.com/Elvis-Assi= gnment-for-Groovy-3-tp5737108.html Sent from the Groovy Dev mailing list archive at Nabble.com. ________________________________ If you reply to this email, your message will be added to the discussion be= low: http://groovy.329449.n5.nabble.com/Elvis-Assignment-for-Groovy-3-tp5737108p= 5737109.html To unsubscribe from Elvis Assignment for Groovy 3, click here. NAML -- View this message in context: http://groovy.329449.n5.nabble.com/Elvis-Assi= gnment-for-Groovy-3-tp5737108p5737114.html Sent from the Groovy Dev mailing list archive at Nabble.com. ------=_Part_128895_205831811.1480781970354 Content-Type: text/html; charset=UTF8 Content-Transfer-Encoding: quoted-printable
My pleasure ;)

Cheers,
Daniel.Sun




=E5=9C=A8 "Marcin Erdmann [via Groovy]"= ; <ml-node+[hidden email]>=EF=BC=8C2016=E5=B9=B412=E6=9C=883=E6=97=A5 =E4=B8=8B=E5=8D=885:01=E5= =86=99=E9=81=93=EF=BC=9A

Awesome, thanks for implementing it Daniel.

On Sat, Dec 3, 2016 at 7:59 AM, Daniel Sun <[hidd= en email]> wrote:
Hi all,

       The new parser "Parrot" supports Elvis= Assignment(i.e.  ?=3D) now. Here
are some examples:

    def a =3D 2
    a ?=3D 1
    assert a =3D=3D 2

    a =3D null
    a ?=3D 1
    assert a =3D=3D 1

    a =3D null
    a ?=3D a ?=3D 1
    assert a =3D=3D 1

P.S. supports static compilation as well.

Cheers,
Daniel.Sun




--
View this message in context: http://groovy.329449.n5.nabble.com/Elvis-Assignment-for-Groovy-3-tp5737108.= html
Sent from the Groovy Dev mailing list archive at Nabble.com.




If you reply to this email, your message wi= ll be added to the discussion below:
http://groovy.329449.n5.nabble.com/Elvis-Assignment-for-Groovy-3-tp57371= 08p5737109.html
To unsubscribe from Elvis Assignment for Groovy 3, click here.
NAML
=09 =09 =09

View this message in context: Re: Elvis Assignment= for Groovy 3
Sent from the Groovy Dev mailing list archive at Nabble.com.
------=_Part_128895_205831811.1480781970354--