[jira] [Commented] (GROOVY-8312) [Parrot]Deprecate useless features on unicode sequences

2018-06-23 Thread Paul King (JIRA)


[ 
https://issues.apache.org/jira/browse/GROOVY-8312?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16521318#comment-16521318
 ] 

Paul King commented on GROOVY-8312:
---

I  went looking for GROOVY-8333 but couldn't find it. I created GROOVY-8662 
instead with more info, so I'll close the other as a duplicate.

> [Parrot]Deprecate useless features on unicode sequences
> ---
>
> Key: GROOVY-8312
> URL: https://issues.apache.org/jira/browse/GROOVY-8312
> Project: Groovy
>  Issue Type: Improvement
>Affects Versions: 2.6.0-alpha-1
>Reporter: Daniel Sun
>Assignee: Daniel Sun
>Priority: Major
> Fix For: 2.6.0-alpha-2
>
>
> 1) Declaring identifier with unicode sequences , e.g.  `def \u4e00\u9fa5 =
> 123`
> 2) All source code is written in unicode sequence, e.g. `\u0064\u0065\u0066
> \u0061 \u003d \u0031\u0032\u0033`, the corresponding readable code is `def a
> = 123` 
> 3) Unicode sequences like `\uu9fa5` is allowed in Groovy



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (GROOVY-8312) [Parrot]Deprecate useless features on unicode sequences

2017-09-28 Thread Paul King (JIRA)

[ 
https://issues.apache.org/jira/browse/GROOVY-8312?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16185304#comment-16185304
 ] 

Paul King commented on GROOVY-8312:
---

Thanks!

> [Parrot]Deprecate useless features on unicode sequences
> ---
>
> Key: GROOVY-8312
> URL: https://issues.apache.org/jira/browse/GROOVY-8312
> Project: Groovy
>  Issue Type: Improvement
>Affects Versions: 2.6.0-alpha-1
>Reporter: Daniel Sun
>Assignee: Daniel Sun
> Fix For: 2.6.0-alpha-2
>
>
> 1) Declaring identifier with unicode sequences , e.g.  `def \u4e00\u9fa5 =
> 123`
> 2) All source code is written in unicode sequence, e.g. `\u0064\u0065\u0066
> \u0061 \u003d \u0031\u0032\u0033`, the corresponding readable code is `def a
> = 123` 
> 3) Unicode sequences like `\uu9fa5` is allowed in Groovy



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (GROOVY-8312) [Parrot]Deprecate useless features on unicode sequences

2017-09-28 Thread Daniel Sun (JIRA)

[ 
https://issues.apache.org/jira/browse/GROOVY-8312?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16185293#comment-16185293
 ] 

Daniel Sun commented on GROOVY-8312:


 GROOVY-8333 was created just now

> [Parrot]Deprecate useless features on unicode sequences
> ---
>
> Key: GROOVY-8312
> URL: https://issues.apache.org/jira/browse/GROOVY-8312
> Project: Groovy
>  Issue Type: Improvement
>Affects Versions: 2.6.0-alpha-1
>Reporter: Daniel Sun
>Assignee: Daniel Sun
> Fix For: 2.6.0-alpha-2
>
>
> 1) Declaring identifier with unicode sequences , e.g.  `def \u4e00\u9fa5 =
> 123`
> 2) All source code is written in unicode sequence, e.g. `\u0064\u0065\u0066
> \u0061 \u003d \u0031\u0032\u0033`, the corresponding readable code is `def a
> = 123` 
> 3) Unicode sequences like `\uu9fa5` is allowed in Groovy



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (GROOVY-8312) [Parrot]Deprecate useless features on unicode sequences

2017-09-28 Thread Daniel Sun (JIRA)

[ 
https://issues.apache.org/jira/browse/GROOVY-8312?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16185283#comment-16185283
 ] 

Daniel Sun commented on GROOVY-8312:


Not yet...

> [Parrot]Deprecate useless features on unicode sequences
> ---
>
> Key: GROOVY-8312
> URL: https://issues.apache.org/jira/browse/GROOVY-8312
> Project: Groovy
>  Issue Type: Improvement
>Affects Versions: 2.6.0-alpha-1
>Reporter: Daniel Sun
>Assignee: Daniel Sun
> Fix For: 2.6.0-alpha-2
>
>
> 1) Declaring identifier with unicode sequences , e.g.  `def \u4e00\u9fa5 =
> 123`
> 2) All source code is written in unicode sequence, e.g. `\u0064\u0065\u0066
> \u0061 \u003d \u0031\u0032\u0033`, the corresponding readable code is `def a
> = 123` 
> 3) Unicode sequences like `\uu9fa5` is allowed in Groovy



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (GROOVY-8312) [Parrot]Deprecate useless features on unicode sequences

2017-09-28 Thread Paul King (JIRA)

[ 
https://issues.apache.org/jira/browse/GROOVY-8312?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16183916#comment-16183916
 ] 

Paul King commented on GROOVY-8312:
---

[~daniel_sun] Has an issue been created for the optional unicode reader idea?

> [Parrot]Deprecate useless features on unicode sequences
> ---
>
> Key: GROOVY-8312
> URL: https://issues.apache.org/jira/browse/GROOVY-8312
> Project: Groovy
>  Issue Type: Improvement
>Affects Versions: 2.6.0-alpha-1
>Reporter: Daniel Sun
>Assignee: Daniel Sun
> Fix For: 2.6.0-alpha-2
>
>
> 1) Declaring identifier with unicode sequences , e.g.  `def \u4e00\u9fa5 =
> 123`
> 2) All source code is written in unicode sequence, e.g. `\u0064\u0065\u0066
> \u0061 \u003d \u0031\u0032\u0033`, the corresponding readable code is `def a
> = 123` 
> 3) Unicode sequences like `\uu9fa5` is allowed in Groovy



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (GROOVY-8312) [Parrot]Deprecate useless features on unicode sequences

2017-09-09 Thread Paul King (JIRA)

[ 
https://issues.apache.org/jira/browse/GROOVY-8312?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16159894#comment-16159894
 ] 

Paul King commented on GROOVY-8312:
---

That's probably a workable solution. Do you want to reply to the dev email and 
see if anyone else has thoughts? Or would you like me to?

> [Parrot]Deprecate useless features on unicode sequences
> ---
>
> Key: GROOVY-8312
> URL: https://issues.apache.org/jira/browse/GROOVY-8312
> Project: Groovy
>  Issue Type: Improvement
>Affects Versions: 2.6.0-alpha-1
>Reporter: Daniel Sun
>Assignee: Daniel Sun
> Fix For: 2.6.0-alpha-2
>
>
> 1) Declaring identifier with unicode sequences , e.g.  `def \u4e00\u9fa5 =
> 123`
> 2) All source code is written in unicode sequence, e.g. `\u0064\u0065\u0066
> \u0061 \u003d \u0031\u0032\u0033`, the corresponding readable code is `def a
> = 123` 
> 3) Unicode sequences like `\uu9fa5` is allowed in Groovy



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (GROOVY-8312) [Parrot]Deprecate useless features on unicode sequences

2017-09-09 Thread Daniel Sun (JIRA)

[ 
https://issues.apache.org/jira/browse/GROOVY-8312?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16159830#comment-16159830
 ] 

Daniel Sun commented on GROOVY-8312:


Paul, as to (1), we can provide unicode reader to translate all unicode 
sequences to unicode characters as the old parser does. But it will not be 
enabled by default, we can provide an option(e.g. 
groovy.unicode.identifier=true) to enable the translation.

> [Parrot]Deprecate useless features on unicode sequences
> ---
>
> Key: GROOVY-8312
> URL: https://issues.apache.org/jira/browse/GROOVY-8312
> Project: Groovy
>  Issue Type: Improvement
>Affects Versions: 2.6.0-alpha-1
>Reporter: Daniel Sun
>Assignee: Daniel Sun
> Fix For: 2.6.0-alpha-2
>
>
> 1) Declaring identifier with unicode sequences , e.g.  `def \u4e00\u9fa5 =
> 123`
> 2) All source code is written in unicode sequence, e.g. `\u0064\u0065\u0066
> \u0061 \u003d \u0031\u0032\u0033`, the corresponding readable code is `def a
> = 123` 
> 3) Unicode sequences like `\uu9fa5` is allowed in Groovy



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)