Talk:Ada (programming language): Difference between revisions

Content deleted Content added
Ada 2012: new section
Comments: new section
Line 77:
 
[http://www.ada-auth.org/standards/ada12.html Ada 2012] is now available as [http://www.iso.org/iso/home/store/catalogue_tc/catalogue_detail.htm?csnumber=61507 ISO/IEC 8652:2012]. [[User:Mitch Ames|Mitch Ames]] ([[User talk:Mitch Ames|talk]]) 10:59, 22 December 2012 (UTC)
 
== 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 [[User:SimonTrew|Si Trew]] ([[User talk:SimonTrew|talk]]) 07:59, 19 September 2013 (UTC)