groovy-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Sun <realblue...@hotmail.com>
Subject About unicode sequence support in groovy source code
Date Fri, 08 Sep 2017 12:34:27 GMT
Hi all,

       Groovy supports some strange features on unicode:

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`

       They seems useless and impacts the performance of parsing, so I am
going to stop supporting it in 2.6.0+.

       Any thoughts?

Cheers,
Daniel.Sun



--
Sent from: http://groovy.329449.n5.nabble.com/Groovy-Dev-f372993.html

Mime
View raw message