Guy <guytsalmave...@yahoo.com> writes:

> Out of interest, is there any other language where the comment
> delimiter is invalid if immediately followed by a symbol? 

Perl has a rather infamous example where the comment syntax may depend
on run-time properties - would that count?

  whatever  / 25 ; # / ; die "this dies!";

Depending on the definition of 'whatever', the # might introduce a
comment - or it might not.

Anyway, I think very few languages allow definition of new symbolic
operators, so it's hard to make a useful comparison.

-k
-- 
If I haven't seen further, it is by standing in the footprints of giants

_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to