[Issue 8782] D lexer do not understand unicode char … for variadic

2015-06-09 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=8782

Andrei Alexandrescu  changed:

   What|Removed |Added

Version|D1 & D2 |D2

--


[Issue 8782] D lexer do not understand unicode char … for variadic

2012-10-08 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8782


Walter Bright  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 CC||bugzi...@digitalmars.com
 Resolution||WONTFIX
   Severity|normal  |enhancement


--- Comment #3 from Walter Bright  2012-10-08 
08:02:16 PDT ---
I agree with bearophile. While D is a fully unicode language, the rest of the
programming ecosystem is not there yet, and it would just be grief to make such
changes now.

Maybe in 10 years.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 8782] D lexer do not understand unicode char … for variadic

2012-10-08 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8782


bearophile_h...@eml.cc changed:

   What|Removed |Added

 CC||bearophile_h...@eml.cc


--- Comment #2 from bearophile_h...@eml.cc 2012-10-08 04:46:17 PDT ---
The idea of using unicode glyphs in source code is interesting, and I think the
now dead Fortress shows it's useful if done well. But introducing such change
in D, and requiring a smart editor, just for a single symbol is a bit too much
for too much little.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 8782] D lexer do not understand unicode char … for variadic

2012-10-08 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8782



--- Comment #1 from bioinfornatics  2012-10-08 
04:32:24 PDT ---
(In reply to comment #0)
> D lexer do not understand unicode char … for variadic.
> 
> from some keayboard layout is faster to write … than ...
> 
> 
> import std.stdio;
> import std.algorithm;
> import std.array;
> 
> void main( ){
> immutable int[] a = [4, 6, 1, 2,];
> immutable int[] b = cast(immutable) a.dup
> .sort!( (x,y) => x < y )
> .array;
> writeln( b );
> }

oops bad paste sorry


import std.stdio;

void foo( int[] params … ){
foreach( param; params )
writeln( praram );
}

void main(){
foo( 1, 2, 3, 4 );
}

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---