On Mon, Oct 31, 2011 at 2:22 PM, Lukas Renggli <reng...@gmail.com> wrote:
> The problem is that both #/* and #/* are valid binary operators, so > they don't work well for comments. > > I don't really remember what I proposed a few years ago, although I > remember that exactly the same proposal was made. What would work is > to use something like "* and *" (or any other double thing that starts > with a double quote). Like this the comments could contain double > quotes. > Gilad Bracha chose (* & *) for Newspeak. These are not valid binary selectors and * can't follow ( in valid code. A good choice. > > As a short term solution you can also put your comments into single > quotes. Unused string literals are removed by the compiler. > > Lukas > > On 31 October 2011 22:00, Stéphane Ducasse <stephane.duca...@inria.fr> > wrote: > > Me too. > > > > Sean lukas proposed a syntax for that in the mailing-list a year ago. > > If you find it please resent it. > > > > Stef > > > > On Oct 31, 2011, at 9:12 PM, Sean P. DeNigris wrote: > > > >> Would it be difficult/valuable to create an alternate comment syntax? I > often > >> find myself wanting to comment a large block itself containing > comments. It > >> would be nice to have something like C++'s /* */. I feel like this may > have > >> been brought up before, but couldn't find it searching the lists. > >> > >> Sean > >> > >> -- > >> View this message in context: > http://forum.world.st/Comment-Syntax-tp3961451p3961451.html > >> Sent from the Pharo Smalltalk mailing list archive at Nabble.com. > >> > > > > > > > > > > -- > Lukas Renggli > www.lukas-renggli.ch > > -- best, Eliot