Comment #5 on issue 3523 by renggli: Nested comments
http://code.google.com/p/pharo/issues/detail?id=3523

Fist of all, C/C++/Java/C#/JavaScript comments go like this:

    /* some comment */

In any case, introducing that into Smalltalk doesn't work because both #/* and #/* are valid binary selectors and it would be highly ambiguous to parse something like this:

   12 /* some comment */ a

A combination with the double-quotes $" could work and would avoid the ambiguity:

   "* some comment "* some nesting *" *"

Otherwise, I am afraid there is no other character to introduce nested comments.


Reply via email to