Re: The D Scripting Language

2010-11-11 Thread Alexander Malakhov
Perhaps a module std.scripting could help quite a lot, too. module std.script; public import std.stdio, std.file, std.process, std.algorithm, ... etc I use at least some of these for most of my programs/scripts. And std.all is probably a bit too heavy. std.script could basically fetc

Re: The D Scripting Language

2010-11-12 Thread Alexander Malakhov
Gary Whatmore писал(а) в своём письме Thu, 11 Nov 2010 20:07:35 +0600: Alexander Malakhov Wrote: ... Maybe it would be better to just make rdmd to surround source code with: //- rdmd generated text BEGIN public import std.stdio, ... void main( string[] args ){ //- rdmd generated

Re: The D Scripting Language

2010-11-12 Thread Alexander Malakhov
Andrei Alexandrescu писал(а) в своём письме Thu, 11 Nov 2010 21:12:33 +0600: On 11/11/10 5:50 AM, Alexander Malakhov wrote: Maybe it would be better to just make rdmd to surround source code with: //- rdmd generated text BEGIN public import std.stdio, ... void main( string[] args

Re: The D Scripting Language

2010-11-12 Thread Alexander Malakhov
Adam D. Ruppe писал(а) в своём письме Fri, 12 Nov 2010 23:13:13 +0600: Alexander Malakhov wrote: import std.stdio; // 1. will not compile I wrote a little rund helper program, and a PHP style D interpreter in another thread a couple days ago, that solves this by a simple string scan

Re: The D Scripting Language

2010-11-12 Thread Alexander Malakhov
Andrei Alexandrescu писал(а) в своём письме Fri, 12 Nov 2010 23:44:18 +0600: On 11/12/10 9:21 AM, Alexander Malakhov wrote: I was unable to pass file to --eval, is this possible ? It is: rdmd --eval $(cat filename) I know... it's cheating :o). But if you want to pass a file, wh

Re: The D Scripting Language

2010-11-14 Thread Alexander Malakhov
Leandro Lucarella писал(а) в своём письме Sat, 13 Nov 2010 21:13:42 +0600: retard, el 13 de noviembre a las 08:24 me escribiste: > void main(string[] args){ > > import std.stdio; // 1. will not compile> void main(string[] args){ >writeln("hello"); >} <...> the 1) p

Re: The D Scripting Language

2010-11-14 Thread Alexander Malakhov
spir писал(а) в своём письме Sat, 13 Nov 2010 16:15:39 +0600: On Fri, 12 Nov 2010 14:42:38 -0500 sybrandy wrote: > 2. Make Windows to open .d files with rdmd by default, so I could run them with simple double-click Yes. Maybe Alexander meant this for users rather than for developpers.

Re: [dpl.org] License of the content (need for Wikipedia)

2011-12-29 Thread Alexander Malakhov
Hmm... If that's of no interest, could someone state it explicitly. So that I'll be sure my message wasn't just overlooked or lost

Re: Discussion about D at a C++ forum

2012-01-09 Thread Alexander Malakhov
On Tuesday, 10 January 2012 at 00:04:31 UTC, Sean Kelly wrote: On Jan 9, 2012, at 3:45 PM, Iain Buclaw wrote: On 9 January 2012 21:29, Walter Bright wrote: On 1/9/2012 11:45 AM, Jonathan M Davis wrote: Please fix the wikipedia entry! With what? Make it say 2003 for D1 and 2007 for D2?

Re: Discussion about D at a C++ forum

2012-01-10 Thread Alexander Malakhov
On Monday, 9 January 2012 at 19:46:03 UTC, Jonathan M Davis wrote: On Monday, January 09, 2012 11:37:50 Walter Bright wrote: On 1/9/2012 10:59 AM, Jonathan M Davis wrote: > I suspect that part of the problem is that Wikipedia lists D > as > appearing in 1999. And, of course, since D2 didn't sta

Re: [dpl.org] License of the content (need for Wikipedia)

2012-01-10 Thread Alexander Malakhov
On Friday, 30 December 2011 at 18:02:57 UTC, Walter Bright wrote: On 12/29/2011 9:13 PM, Alexander Malakhov wrote: Hmm... If that's of no interest, could someone state it explicitly. So that I'll be sure my message wasn't just overlooked or lost I certainly don't mind usi

Re: [dpl.org] License of the content (need for Wikipedia)

2012-01-10 Thread Alexander Malakhov
On Tuesday, 10 January 2012 at 09:05:48 UTC, Alexander Malakhov wrote: On Friday, 30 December 2011 at 18:02:57 UTC, Walter Bright wrote: On 12/29/2011 9:13 PM, Alexander Malakhov wrote: Hmm... If that's of no interest, could someone state it explicitly. So that I'll be sure my mess

Re: [dpl.org] License of the content (need for Wikipedia)

2012-01-11 Thread Alexander Malakhov
On Tuesday, 10 January 2012 at 18:56:07 UTC, Walter Bright wrote: Just pick one and do a pull request for it. Should it be for * all content (I think, it will be useful - e.g. for citations), * or the logo only for now ? And b.t.w., there is no license on the code of the site.

Re: Discussion about D at a C++ forum

2012-01-11 Thread Alexander Malakhov
On Tuesday, 10 January 2012 at 18:58:41 UTC, Mike Wey wrote: On 01/10/2012 08:47 AM, Alexander Malakhov wrote: D1 changelog starts with 1.001, 2007-01-23 D 0.00 was released on 9 December 2001. http://www.digitalmars.com/d/1.0/changelog1.html#new000 Oh, missed that links. Thanks!

Re: Discussion about D at a C++ forum

2012-01-11 Thread Alexander Malakhov
On Tuesday, 10 January 2012 at 12:08:41 UTC, bearophile wrote: Alexander Malakhov: Other languages have just 1 date. I think wikipedia's editors would resist if D will be different. A solution is to have two Wikipedia pages, una for D1 and one for D. Bye, bearophile I believe that

Re: [dpl.org] License of the content (need for Wikipedia)

2012-01-12 Thread Alexander Malakhov
On Thursday, 12 January 2012 at 04:18:19 UTC, Walter Bright wrote: On 1/11/2012 5:22 PM, Alexander Malakhov wrote: Should it be for * all content (I think, it will be useful - e.g. for citations), * or the logo only for now ? And b.t.w., there is no license on the code of the site. Just

Re: Discussion about D at a C++ forum

2012-01-12 Thread Alexander Malakhov
On Thursday, 12 January 2012 at 06:17:43 UTC, a wrote: Alexander Malakhov Wrote: And even if that will happen, D1 page most likely will be deleted later due to little visits count They are actually deleting pages due to low visit counts? This is just wrong. Turns out I was wrong. I was

Re: Integer conversions too pedantic in 64-bit

2011-02-18 Thread Alexander Malakhov
Don писал(а) в своём письме Wed, 16 Feb 2011 17:21:06 +0600: Exactly. It is NOT the same as the 8 & 16 bit case. The thing is, the fraction of cases where the MSB is important has been decreasing *exponentially* from the 8-bit days. [...] Some facts to back your opinion: * today's most

[TDPL] Russian translation of the book

2011-03-16 Thread Alexander Malakhov
Russian publisher "Символ-Плюс" (Symobl-Plus) now is translating TDPL and they are asking for volunteers to * help translating guy with technical details * read final version If you wish to help, add your contacts on forum: http://www.symbol.ru/forum/viewtopic.php?f=4&t=363 --

Re: [TDPL] Russian translation of the book

2011-03-18 Thread Alexander Malakhov
Vladimir Panteleev писал(а) в своём письме Wed, 16 Mar 2011 23:54:14 +0600: On Wed, 16 Mar 2011 19:10:29 +0200, Alexander Malakhov wrote: Russian publisher "Символ-Плюс" (Symobl-Plus) now is translating TDPL and they are asking for volunteers to * help translatin

Re: [TDPL] Russian translation of the book

2011-03-19 Thread Alexander Malakhov
Simen kjaeraas писал(а) в своём письме Sat, 19 Mar 2011 04:17:13 +0600: On Fri, 18 Mar 2011 18:02:03 +0100, Vladimir Panteleev wrote: On Fri, 18 Mar 2011 13:08:24 +0200, Alexander Malakhov wrote: Vladimir Panteleev писал(а) в своём письме Wed, 16 Mar 2011 23:54:14 +0600: On Wed

Re: [Submission] D Slices

2011-06-06 Thread Alexander Malakhov
Andrei Alexandrescu писал(а) в своём письме Wed, 01 Jun 2011 00:57:14 +0700: As I mentioned, the issues involved are of increasing subtlety. As you wrote, C programmers iterate upward like this: ... Maybe add this to http://www.digitalmars.com/d/2.0/rationale.html (and btw, I don't see "r

Re: Andrei's Google Talk

2010-08-06 Thread Alexander Malakhov
Steven Schveighoffer писал(а) в своём письме Fri, 06 Aug 2010 18:28:41 +0700: 2. It seems like the documentation is HTML written as ddoc. I see $(P) tags, $(LI) tags, etc. Can't we just write it as HTML? I have had exactly same thought when I've first seen DDoc a week ago I think man

Re: Please comment on http://d-programming-language.org/

2010-09-02 Thread Alexander Malakhov
Andrei Alexandrescu писал(а) в своём письме Thu, 02 Sep 2010 14:03:33 +0700: Time to zero in on the overall design and start working on the content. Please give the design one more round of comments. Thanks, Andrei 1. There should be "Contibute" section on the site with subsections {C