Simple tutorial on deploying Vibe.d to Azure Web App

2015-09-25 Thread Jeremy via Digitalmars-d-announce
http://www.codestrokes.com/2015/09/deploying-d-to-azure-webapp/

Re: Scriptlike v0.9.4 - Perl-like interpolated strings, full examples and more.

2015-09-25 Thread Nick Sabalausky via Digitalmars-d-announce
On 09/23/2015 08:42 PM, Meta wrote: What about even just removing the syntax distinction between string mixins and template mixins? mixin "int i = 0"; mixin declareI!(); I like that idea. It it feasible? I'd always assumed the syntaxes were different because they needed to be for some sort

Re: DUB 0.9.24 release

2015-09-25 Thread Bruno Medeiros via Digitalmars-d-announce
On 20/09/2015 20:36, Sönke Ludwig wrote: Getting close to the 1.0.0 milestone, this release implements all of the major missing features except for a reviewed/cleaned up D API. The most important changes in this release are: - Support for SDLang [1] based package recipes. While JSON is and

Re: Scriptlike v0.9.4 - Perl-like interpolated strings, full examples and more.

2015-09-25 Thread Meta via Digitalmars-d-announce
On Friday, 25 September 2015 at 14:38:33 UTC, Nick Sabalausky wrote: I like that idea. It it feasible? I'd always assumed the syntaxes were different because they needed to be for some sort of technical reason. But now that I look at it...maybe that could work after all? At first glance I

Re: reggae v0.5.0: new features in the D meta-build system

2015-09-25 Thread Atila Neves via Digitalmars-d-announce
On Friday, 25 September 2015 at 12:09:01 UTC, Jacob Carlborg wrote: On 2015-09-24 16:46, Atila Neves wrote: That's not been my experience at all using reggae. I only do incremental builds now and have never run into a problem. Can you give an example? Here's one old post [1] that describes

Re: Scriptlike v0.9.4 - Perl-like interpolated strings, full examples and more.

2015-09-25 Thread H. S. Teoh via Digitalmars-d-announce
On Fri, Sep 25, 2015 at 02:14:30PM +0200, Jacob Carlborg via Digitalmars-d-announce wrote: > On 2015-09-25 02:15, H. S. Teoh via Digitalmars-d-announce wrote: > > >I wanted to work on it, but haven't actually gotten to it yet. > >Basically, the idea is relatively simple: > > > > //

Re: OneDrive Client written in D

2015-09-25 Thread skilion via Digitalmars-d-announce
On Friday, 25 September 2015 at 07:40:18 UTC, Dmitry Olshansky wrote: Removing anonymous groups and using raw-literal: regex(`^\s*(\w+)\s*=\s*"(.*)"\s*$`) Looks simpler I guess. Good advice, thanks. Though if key="value" is expected I'd suggest to use lazy .* - `"(.*?)"` to stop on first "

Re: reggae v0.5.0: new features in the D meta-build system

2015-09-25 Thread Nordlöw via Digitalmars-d-announce
On Thursday, 24 September 2015 at 15:04:49 UTC, Atila Neves wrote: I you want any advice on this matter please contact me. I'd be glad to be of service. Send me an email, I'm more than happy to waffle away about build systems. BTW. I'm planning on visiting Berlin for DConf 2016. We could

Re: reggae v0.5.0: new features in the D meta-build system

2015-09-25 Thread anonymous via Digitalmars-d-announce
On Friday 25 September 2015 23:27, Atila Neves wrote: > How does one compile 3 files "at the same time" and generate 3 > object files? There was a reference to a -multiobj option in that > post but that's not even in the man page. dmd -c foo.d bar.d baz.d rdmd would probably do this by now,

Re: reggae v0.5.0: new features in the D meta-build system

2015-09-25 Thread Atila Neves via Digitalmars-d-announce
On Friday, 25 September 2015 at 22:12:49 UTC, anonymous wrote: On Friday 25 September 2015 23:27, Atila Neves wrote: How does one compile 3 files "at the same time" and generate 3 object files? There was a reference to a -multiobj option in that post but that's not even in the man page. dmd

Re: reggae v0.5.0: new features in the D meta-build system

2015-09-25 Thread anonymous via Digitalmars-d-announce
On Saturday 26 September 2015 01:24, Atila Neves wrote: > There have been threads about this before. It turns out that > compiling per file is usually slower than compiling the whole > package/app at once. It's not intuitive, but it's true (I > measured it myself). reggae has an option to

Re: reggae v0.5.0: new features in the D meta-build system

2015-09-25 Thread Jason White via Digitalmars-d-announce
I rarely visit the D forums and even more rarely make a post, but this thread caught my eye. I've been writing a build system in D too: https://github.com/jasonwhite/brilliant-build (I'm not very fond of the name. Naming is hard!) It is a general build system with an emphasis on

Re: OneDrive Client written in D

2015-09-25 Thread skilion via Digitalmars-d-announce
On Thursday, 24 September 2015 at 13:22:32 UTC, Suliman wrote: What this string in config.d do? auto r = regex("(?:^\\s*)(\\w+)(?:\\s*=\\s*\")(.*)(?:\"\\s*$)"); It matches this pattern: key = "value" skipping any blank characters.

Re: OneDrive Client written in D

2015-09-25 Thread Dmitry Olshansky via Digitalmars-d-announce
On 24-Sep-2015 16:22, Suliman wrote: On Tuesday, 22 September 2015 at 20:43:32 UTC, skilion wrote: I've been waiting for a good sync client for OneDrive (15 GB for free!) on Linux, but Microsoft seems to have other plans... So I've decided to write my own, using D. Take a look:

Re: DUB 0.9.24 release

2015-09-25 Thread Jacob Carlborg via Digitalmars-d-announce
On 2015-09-24 17:03, Nick Sabalausky wrote: Yaml is a very complicated format. For most usages I've seen it's very simple. Mostly only using key-values with some nesting. -- /Jacob Carlborg

Re: reggae v0.5.0: new features in the D meta-build system

2015-09-25 Thread Jacob Carlborg via Digitalmars-d-announce
On 2015-09-24 16:46, Atila Neves wrote: That's not been my experience at all using reggae. I only do incremental builds now and have never run into a problem. Can you give an example? Here's one old post [1] that describes the problem. I'm not sure how much of it still applies today. [1]

Re: Scriptlike v0.9.4 - Perl-like interpolated strings, full examples and more.

2015-09-25 Thread Jacob Carlborg via Digitalmars-d-announce
On 2015-09-25 02:15, H. S. Teoh via Digitalmars-d-announce wrote: I wanted to work on it, but haven't actually gotten to it yet. Basically, the idea is relatively simple: // compile-time variant void writefln(string format="", A...)(A args) if (format.length >

Re: Scriptlike v0.9.4 - Perl-like interpolated strings, full examples and more.

2015-09-25 Thread Sönke Ludwig via Digitalmars-d-announce
Am 23.09.2015 um 16:33 schrieb Nick Sabalausky: (...) void main() { int somevar = 42; mixin interp; iwriteln!("This is ${somevar}."); int another = 17; iwriteln!("This won't work, using ${another}."); } Seems like it would be too awkward and confusing to be