From: "Yannick Duchêne (Hibou57)" <yannick_duchene@yahoo.fr>
Subject: Tiny error in ARM 2012 ? (about characters)
Date: Mon, 24 Jan 2011 00:43:27 +0100
Date: 2011-01-24T00:43:27+01:00 [thread overview]
Message-ID: <op.vpsb6piaule2fv@garhos> (raw)
Hillo,
I do not know if I've missed something. I am currently adding an Ada
colorizer to an editor, and I decided to use the ARM 2012 instead of ARM
2005 (for fun). It appears the wording in 2.1 are not exactly the same any
more as in ARM 2005 (didn't suspected this section could be updated).
Unless I've missed something, is appears to exclude the space in source
text.
2.1 is here:
http://www.ada-auth.org/standards/12rm/html/RM-2-1.html
2.1(4/3) says
> The only characters allowed outside of comments are those in
> categories other_format, format_effector, and graphic_character.
Other,Format:
http://www.fileformat.info/info/unicode/category/Cf/list.htm
No space
Format_Effector, defined by 2.1(13/2) to be
U+09..U+0D,U+85, and Separator,Line and Separator,Paragraph.
Separator,Line
http://www.fileformat.info/info/unicode/category/Zl/list.htm
is U+2028
Separator,Paragraph
http://www.fileformat.info/info/unicode/category/Zp/list.htm
is U+2029
From a strict interpretation (in my possibly erroneous interpretation) of
the ARM 2012, the character U+20 is not allowed outside of comments.
Seem the category Separator,Space
http://www.fileformat.info/info/unicode/category/Zs/list.htm
is missing from Format_Effector. It is safe, as luckily this does not
include the zero-width space (U=200B) nor the zero-width no-break space
(U+FEFF), which would be both unsafe. Separator,Space is defined in
2.1(11/2), but not referred to.
Guess if I missed something, I am really foolish here :D (oops)
--
Si les chats miaulent et font autant de vocalises bizarres, c’est pas pour
les chiens.
“I am fluent in ASCII” [Warren 2010]
next reply other threads:[~2011-01-23 23:43 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-01-23 23:43 Yannick Duchêne (Hibou57) [this message]
2011-01-24 2:16 ` Tiny error in ARM 2012 ? (about characters) Jeffrey Carter
2011-01-24 2:32 ` Yannick Duchêne (Hibou57)
2011-01-24 8:17 ` Yannick Duchêne (Hibou57)
2011-01-24 8:36 ` Yannick Duchêne (Hibou57)
2011-01-24 9:00 ` AdaMagica
2011-01-24 9:37 ` Yannick Duchêne (Hibou57)
2011-01-25 1:48 ` Randy Brukardt
2011-01-25 1:52 ` Randy Brukardt
-- strict thread matches above, loose matches on Subject: below --
2011-01-23 23:43 Yannick Duchêne (Hibou57)
2011-01-24 0:08 ` Yannick Duchêne (Hibou57)
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox