Talk:Ada (programming language)

This is an old revision of this page, as edited by ClueBot III (talk | contribs) at 19:51, 10 July 2016 (Archiving 6 discussions to Talk:Ada (programming language)/Archives/2013. (BOT)). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Latest comment: 11 years ago by SimonTrew in topic Comments
WikiProject iconComputing C‑class High‑importance
WikiProject iconThis article is within the scope of WikiProject Computing, a collaborative effort to improve the coverage of computers, computing, and information technology on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.
CThis article has been rated as C-class on Wikipedia's content assessment scale.
HighThis article has been rated as High-importance on the project's importance scale.
WikiProject iconUnited States: Government C‑class Low‑importance
WikiProject iconThis article is within the scope of WikiProject United States, a collaborative effort to improve the coverage of topics relating to the United States of America on Wikipedia. If you would like to participate, please visit the project page, where you can join the ongoing discussions.
CThis article has been rated as C-class on Wikipedia's content assessment scale.
LowThis article has been rated as Low-importance on the project's importance scale.
Taskforce icon
This article is supported by WikiProject U.S. Government (assessed as Mid-importance).

Comments

The statement:

"To the compiler, the double-dash is treated as end-of-line, allowing continued parsing of the language as a context-free grammar."

is not really correct; if it were, the text of the comment would be parsed as language text. It would be more accurate to say that the double-dash causes the input parser to discard all characters until the end-of-line.

It's also not strictly true that comments can be nested, because the end-of-comment character is the EOL, and enclosing a comment in another does not require two EOLs (as it would if it were truly nested). But the intent is clear and I can't think of a wording that would be clearer.

Best wishes Si Trew (talk) 07:59, 19 September 2013 (UTC)Reply