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.
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:
http://skilion
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 worthwhile.
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 wil
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] ht
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 > 0)
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
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
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 can
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 "
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 t
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:
> >
> > // compile-ti
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
ha
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, if
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
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 compi
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 correctness.
http://www.codestrokes.com/2015/09/deploying-d-to-azure-webapp/
18 matches
Mail list logo