Re: dmd 2.065 beta 1 #2

2014-01-22 Thread Jacob Carlborg
On 2014-01-22 01:19, Leandro Lucarella wrote: Why not use semver? http://semver.org/ 2.65.0-b1 2.65.0-rc1 2.65.0 2.65.1 Then you would have versions number looking like this: 3.0.0 4.0.0 5.0.0 If we don't want to add a fourth digit. -- /Jacob Carlborg

Re: dmd 2.065 beta 1 #2

2014-01-22 Thread Jordi Sayol
El 22/01/14 02:06, Andrew Edwards ha escrit: On 1/21/14, 6:02 PM, Jordi Sayol wrote: El 21/01/14 23:29, Brad Anderson ha escrit: #.###.~b# == 2.065.b1 // beta #.###.~rc# == 2.065.rc1 // release candidate #.###.0 == 2.065.0 // initial release #.###.# == 2.065.1

Re: dmd 2.065 beta 1 #2

2014-01-22 Thread deadalnix
On Wednesday, 22 January 2014 at 08:25:05 UTC, Jordi Sayol wrote: I prefer: 2.65~b1 2.65~rc1 because 2.65.0 and 2.65 are bigger than 2.65~rc1, regardless if qualifier number is present or not in final release version. I think that, as much as possible, we should use exactly the same

Re: dmd 2.065 beta 1 #2

2014-01-22 Thread Jacob Carlborg
On 2014-01-21 23:22, Andrew Edwards wrote: ftp://ftp.digitalmars.com/dmd.2.065.b1.zip I manged to open this with the zip moulde in Tango now :) The previous beta failed. ftp://ftp.digitalmars.com/dmd.2.065.b1.dmg The installer is old. The text contains links to D1. The content

Re: dmd 2.065 beta 1 #2

2014-01-22 Thread Jordi Sayol
El 22/01/14 09:31, deadalnix ha escrit: On Wednesday, 22 January 2014 at 08:25:05 UTC, Jordi Sayol wrote: I prefer: 2.65~b1 2.65~rc1 because 2.65.0 and 2.65 are bigger than 2.65~rc1, regardless if qualifier number is present or not in final release version. I think that, as much as

Re: So, You Want To Write Your Own Programming Language?

2014-01-22 Thread Jacob Carlborg
On 2014-01-22 05:29, Walter Bright wrote: http://www.reddit.com/r/programming/comments/1vtm2l/so_you_want_to_write_your_own_language_dr_dobbs/ From the article: Regex is just the wrong tool for lexing and parsing. I'm wonder why is there so many books about implementing compilers that

Re: So, You Want To Write Your Own Programming Language?

2014-01-22 Thread bearophile
Walter Bright: http://www.reddit.com/r/programming/comments/1vtm2l/so_you_want_to_write_your_own_language_dr_dobbs/ Thank you for the simple nice article. The poisoning approach. [...] This is the approach we've been using in the D compiler, and are very pleased with the results. Yet,

Re: So, You Want To Write Your Own Programming Language?

2014-01-22 Thread Uplink_Coder
On Wednesday, 22 January 2014 at 10:36:31 UTC, Jacob Carlborg wrote: I'm wonder why is there so many books about implementing compilers that spends, usually, quite a large chapter about regular expressions? I wonder about that too. For anything halfway useful regex has too much

Re: So, You Want To Write Your Own Programming Language?

2014-01-22 Thread Chris
On Wednesday, 22 January 2014 at 04:29:05 UTC, Walter Bright wrote: http://www.reddit.com/r/programming/comments/1vtm2l/so_you_want_to_write_your_own_language_dr_dobbs/ A good syntax needs redundancy in order to diagnose errors and give good error messages. This is also true of natural

Re: So, You Want To Write Your Own Programming Language?

2014-01-22 Thread Paulo Pinto
On Wednesday, 22 January 2014 at 04:29:05 UTC, Walter Bright wrote: http://www.reddit.com/r/programming/comments/1vtm2l/so_you_want_to_write_your_own_language_dr_dobbs/ Great article!

Re: So, You Want To Write Your Own Programming Language?

2014-01-22 Thread bearophile
Chris: A good syntax needs redundancy in order to diagnose errors and give good error messages. I'd like to measure this statement experimentally: are error messages in Go and Scala any worse because of the optional use of semicolons? My initial supposition is that the answer is negative.

Re: dmd 2.065 beta 1 #2

2014-01-22 Thread Andrew Edwards
On 1/22/14, 3:38 AM, Jacob Carlborg wrote: On 2014-01-21 23:22, Andrew Edwards wrote: ftp://ftp.digitalmars.com/dmd.2.065.b1.dmg The installer is old. The text contains links to D1. The content seem to be correct though. How are you building the installer. That might be the case. I'm

Re: So, You Want To Write Your Own Programming Language?

2014-01-22 Thread Don
On Wednesday, 22 January 2014 at 04:29:05 UTC, Walter Bright wrote: http://www.reddit.com/r/programming/comments/1vtm2l/so_you_want_to_write_your_own_language_dr_dobbs/ Great article. I was surprised that you mentioned lowering positively, though. I think from DMD we have enough experience

Re: dmd 2.065 beta 1 #2

2014-01-22 Thread Leandro Lucarella
Andrew Edwards, el 21 de January a las 20:06 me escribiste: On 1/21/14, 6:02 PM, Jordi Sayol wrote: El 21/01/14 23:29, Brad Anderson ha escrit: #.###.~b# == 2.065.b1 // beta #.###.~rc# == 2.065.rc1 // release candidate #.###.0 == 2.065.0 // initial release #.###.#

Re: So, You Want To Write Your Own Programming Language?

2014-01-22 Thread Casper Færgemand
On Wednesday, 22 January 2014 at 11:59:30 UTC, bearophile wrote: I'd like to measure this statement experimentally: are error messages in Go and Scala any worse because of the optional use of semicolons? My initial supposition is that the answer is negative. Error messages in SML are either

Re: dmd 2.065 beta 1

2014-01-22 Thread Dejan Lekic
On Tuesday, 21 January 2014 at 20:48:27 UTC, Andrew Edwards wrote: On 1/21/14, 2:20 PM, Dejan Lekic wrote: Can we *please* have a well-established, useful, naming scheme for tags and packages? 2.064beta3, 2.064beta4, 2.064.2, 2.065-b1... Are you as frustrated as me? I was just in the

Re: So, You Want To Write Your Own Programming Language?

2014-01-22 Thread Dejan Lekic
On Wednesday, 22 January 2014 at 10:38:40 UTC, bearophile wrote: In Haskell the GHC compiler goes one step further, it translates all the Haskell code into an intermediate code named Core, that is not the language of a virtual machine, it's still a functional language, but it's simpler, lot

Re: dmd 2.065 beta 1 #2

2014-01-22 Thread Jacob Carlborg
On 2014-01-22 13:16, Andrew Edwards wrote: That might be the case. I'm following the instructions here: https://github.com/D-Programming-Language/installer/tree/master/osx Last update was over 9 months ago. https://github.com/D-Programming-Language/installer/pull/44 -- /Jacob Carlborg

Re: dmd 2.065 beta 1 #2

2014-01-22 Thread Jacob Carlborg
On 2014-01-21 23:22, Andrew Edwards wrote: Due to building an packaging requirements and a need to address the concerns of the community, I changed the naming convention for this and all future releases. I'm getting some regressions when compiling Tango. I filed one bug report but having

Re: std.signal : voting results

2014-01-22 Thread Dejan Lekic
The new std.signal is IMHO far better than the old one. Why not simply replace it, and then look forward to future improvements?

Re: So, You Want To Write Your Own Programming Language?

2014-01-22 Thread Don
On Wednesday, 22 January 2014 at 10:38:40 UTC, bearophile wrote: Walter Bright: http://www.reddit.com/r/programming/comments/1vtm2l/so_you_want_to_write_your_own_language_dr_dobbs/ Thank you for the simple nice article. The poisoning approach. [...] This is the approach we've been using

Re: std.signal : voting results

2014-01-22 Thread ilya-stromberg
On Wednesday, 22 January 2014 at 14:18:15 UTC, Dejan Lekic wrote: The new std.signal is IMHO far better than the old one. Why not simply replace it, and then look forward to future improvements? Guys, were are you was a few days ago when voting still was open?! Dicebot, can we continue voting

Re: std.signal : voting results

2014-01-22 Thread Daniel Kozák
ilya-stromberg píše v St 22. 01. 2014 v 14:38 +: On Wednesday, 22 January 2014 at 14:18:15 UTC, Dejan Lekic wrote: The new std.signal is IMHO far better than the old one. Why not simply replace it, and then look forward to future improvements? Guys, were are you was a few days ago when

Re: std.signal : voting results

2014-01-22 Thread Dicebot
On Wednesday, 22 January 2014 at 14:38:48 UTC, ilya-stromberg wrote: On Wednesday, 22 January 2014 at 14:18:15 UTC, Dejan Lekic wrote: The new std.signal is IMHO far better than the old one. Why not simply replace it, and then look forward to future improvements? Guys, were are you was a few

Re: std.signal : voting results

2014-01-22 Thread Johannes Pfau
Am Wed, 22 Jan 2014 14:18:14 + schrieb Dejan Lekic dejan.le...@gmail.com: The new std.signal is IMHO far better than the old one. Why not simply replace it, and then look forward to future improvements? Phobos has a very strict don't break backwards compatibility rule. IMHO too strict, but

Re: So, You Want To Write Your Own Programming Language?

2014-01-22 Thread Walter Bright
On 1/22/2014 4:53 AM, Don wrote: On Wednesday, 22 January 2014 at 04:29:05 UTC, Walter Bright wrote: http://www.reddit.com/r/programming/comments/1vtm2l/so_you_want_to_write_your_own_language_dr_dobbs/ Great article. I was surprised that you mentioned lowering positively, though. I think

Re: So, You Want To Write Your Own Programming Language?

2014-01-22 Thread Walter Bright
On 1/22/2014 3:40 AM, Chris wrote: Syntax is getting simplified due to the fact that the listener knows what we mean, e.g. buy one get one free. I wonder to what extent languages will be simplified one day. But this is a topic for a whole book ... There was this article recently:

Re: So, You Want To Write Your Own Programming Language?

2014-01-22 Thread bearophile
Don: Could you give an example? We've tried very hard to avoid useless error messages, there should only be one error message for each bug in the code. Parser errors still generate a cascade of junk, and the cannot deduce function from argument types message is still painful -- is that what

Re: So, You Want To Write Your Own Programming Language?

2014-01-22 Thread Paulo Pinto
Am 22.01.2014 14:28, schrieb Dejan Lekic: On Wednesday, 22 January 2014 at 10:38:40 UTC, bearophile wrote: In Haskell the GHC compiler goes one step further, it translates all the Haskell code into an intermediate code named Core, that is not the language of a virtual machine, it's still a

Re: std.signal : voting has begun

2014-01-22 Thread Xavier Bigand
Le 22/01/2014 08:43, Jacob Carlborg a écrit : On 2014-01-21 21:10, Xavier Bigand wrote: We use std.signals on DQuick, signals are critical for a GUI system, but there is no advanced GUI library written completely in D for the moment. For the moment DQuick still have a long way to do before

Syncing files without a dynamic DNS service with D, Gmail and cURL

2014-01-22 Thread Ben
I figured I would share this project here since I wrote it in D and this is a D forum! I basically built two small programs to send and get a computer's IP using gmail as the static source. It would've been simpler to implement with some shell scripts, but I wanted to get practice using other

Re: std.signal : voting results

2014-01-22 Thread David Nadlinger
On Wednesday, 22 January 2014 at 15:44:07 UTC, Johannes Pfau wrote: Phobos has a very strict don't break backwards compatibility rule. IMHO too strict, but that's the way it is. This is also the reason why I would have voted no if I made it in time. Documentation and implementation can be

Re: So, You Want To Write Your Own Programming Language?

2014-01-22 Thread Andrei Alexandrescu
On 1/22/14 4:53 AM, Don wrote: On Wednesday, 22 January 2014 at 04:29:05 UTC, Walter Bright wrote: http://www.reddit.com/r/programming/comments/1vtm2l/so_you_want_to_write_your_own_language_dr_dobbs/ Great article. I was surprised that you mentioned lowering positively, though. I think from

Re: std.signal : voting results

2014-01-22 Thread Andrei Alexandrescu
On 1/22/14 6:57 AM, Dicebot wrote: We can schedule another review / voting relatively soon though, assuming Robert is still willing to push for it. That would be great, and thanks Robert for being so gracious about it all. Going forward the best way to improve Phobos is to ratchet quality by

Re: So, You Want To Write Your Own Programming Language?

2014-01-22 Thread Walter Bright
On 1/22/2014 3:21 PM, Andrei Alexandrescu wrote: My understanding is that your concern is related to the stage at which lowering is performed, which I'd agree with. I also think we did a slap-dash job of it, not that the concept is wrong.

Re: Syncing files without a dynamic DNS service with D, Gmail and cURL

2014-01-22 Thread Andrei Alexandrescu
On 1/22/14 12:15 PM, Ben wrote: I figured I would share this project here since I wrote it in D and this is a D forum! I basically built two small programs to send and get a computer's IP using gmail as the static source. It would've been simpler to implement with some shell scripts, but I

Re: Syncing files without a dynamic DNS service with D, Gmail and cURL

2014-01-22 Thread Ben
On Thursday, 23 January 2014 at 02:12:20 UTC, Andrei Alexandrescu wrote: On 1/22/14 12:15 PM, Ben wrote: I figured I would share this project here since I wrote it in D and this is a D forum! I basically built two small programs to send and get a computer's IP using gmail as the static source.

Re: dmd 2.065 beta 1 #2

2014-01-22 Thread Brad Anderson
On Wednesday, 22 January 2014 at 03:34:40 UTC, Andrew Edwards wrote: On 1/21/14, 5:22 PM, Andrew Edwards wrote: Note: An installer is not yet prepared for Windows. It is now added: ftp://ftp.digitalmars.com/dmd-2.065.b1.exe This of course is relying on the zip file getting uploaded to

Re: std.signal : voting results

2014-01-22 Thread robert
We can schedule another review / voting relatively soon though, assuming Robert is still willing to push for it. Well, I am definitely motivated now that there is some reaction. Although my wife is currently giving birth, so can't really estimate how soon I will get to it, but then I will