Valid characters in a module name
Nicolai Parlog
nipa at codefx.org
Sat Jan 7 15:51:31 UTC 2017
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Hi Ess!
> At the level of the JVM, the entire string #"@\"What a wonderful
> world!\"" is a valid 31 character package, class, method and field
> name including the #, the \ and the quotes.
Yes but in your scripts it's not, right? I thought your problem was
that users needed a way to express "crazy identifiers" in _your_ (or
other Java-like) script languages. Why wouldn't Peter's syntax
proposal suffice to allow that?
so long ... Nicolai
On 07.01.2017 09:34, Ess Kay wrote:
>> using the syntax for exotic identifiers
> At the level of the JVM, the entire string #"@\"What a wonderful
> world!\"" is a valid 31 character package, class, method and field
> name including the #, the \ and the quotes. So that syntax doesn't
> help.
>
>> appears that NUL, CR, and LF can't be part...
> Prime facie, CR and LF characters are valid in Java package and
> class names. To fully support the JVM Spec, the JVM Manifest
> processing classes should provide an escaping scheme to allow such
> characters. However, it cannot use the obvious '\' character
> because it too is allowed in Java package and class names.
>
- --
PGP Key:
http://keys.gnupg.net/pks/lookup?op=vindex&search=0xCA3BAD2E9CCCD509
Web:
http://codefx.org
a blog about software development
https://www.sitepoint.com/java
high-quality Java/JVM content
http://do-foss.de
Free and Open Source Software for the City of Dortmund
Twitter:
https://twitter.com/nipafx
-----BEGIN PGP SIGNATURE-----
iQIcBAEBCAAGBQJYcQ59AAoJEMo7rS6czNUJBFAP/AiEarNt0HukCeOy1z9J7mZj
7xjsYc5emymCBwuO10JQYIJ2q+pxfkt+WIv6psTHNtpxYQ+4TAIRgyJ9/nK8K6yp
reSAA2qutQkHaPKCaUfSpDjCwDPpaoIuKnKlddvC7hZId2FhTId/aPx4gcjyVFn8
6Wnzk21DHL+Kw9VSGoE764A/VXy0+cAFmrGoM18Xwp7G5nUo6dRD2QENsq22xgBB
QQNwM0Yc8FAISiXxOMBb+Rj3lUted3K7/wzz3P1yC2H0OG2YegZpJ+N/UKgKGDpX
fk3IWFEHo7wjlRvSOXVfG7alLJwF62nLQpSRRoL5eLaVuzVz8I2xwRn1DQdcrAN6
TgCIQEktM2IYIZAPFl2qVZbkbtqR+k9CkKf/4bHOzpYVHmFJuF77jGmkp7NYGD1d
Yfkqa+3Q7Ljs2DkqCJ1Zbuw23FRIsLKdhB2Ahi3olbCOYR4K3pRbUNBcQrvEuoZb
0oEuhV6lzcOEy6RuoMO9w6hpO9m2U58K+Xf8YzdSM4EkG82r3qMlHzRCPimF7awZ
IFt7913UxKvdpO6q2Qlk8196Dj4LzWaH0xD8jRFtjBb7L3uYmOok9348kMEo/ycA
x9pI5t45QDzNi7nCo5e02/wOWoeCVeDKbA2K7ITA4Fu0bzk+/Bjj3TM81i7AdA+b
vrIh7Bu1hq0uZ1f/Z9d/
=SXvD
-----END PGP SIGNATURE-----
More information about the jigsaw-dev
mailing list