Re: Boost.ScopeExit based on D's scope(exit)

2009-03-04 Thread Anders F Björklund
Andrei Alexandrescu wrote: Georg Wrede wrote: I had no idea. Good you told me, I've put an ack in the source file. Thanks. I tried to locate the source in the dmd tree, but in vain. So probably it should appear when rdmd is run with no arguments for there to be any effect... :-) It's on

Re: Boost.ScopeExit based on D's scope(exit)

2009-03-04 Thread Georg Wrede
Andrei Alexandrescu wrote: Georg Wrede wrote: I had no idea. Good you told me, I've put an ack in the source file. Thanks. I tried to locate the source in the dmd tree, but in vain. So probably it should appear when rdmd is run with no arguments for there to be any effect... :-) It's on

Re: Boost.ScopeExit based on D's scope(exit)

2009-03-04 Thread Walter Bright
Georg Wrede wrote: And now a major gripe: I have just spent *half a day* trying to figure out what's wrong when I try to use shebang with rdmd. I was basically using hello.d with a shebang. And with rdmd I got this peculiar error message: .d'nnot read file '

Re: Boost.ScopeExit based on D's scope(exit)

2009-03-04 Thread Georg Wrede
Walter Bright wrote: Georg Wrede wrote: And now a major gripe: I have just spent *half a day* trying to figure out what's wrong when I try to use shebang with rdmd. I was basically using hello.d with a shebang. And with rdmd I got this peculiar error message: .d'nnot read file '

rdmd

2009-03-04 Thread Georg Wrede
A suggestion: make the --eval temporary source file nicer looking: 46c46,47 std.zlib;; --- std.zlib; ; 121,122c122,123 return .eval(importWorld ~ void main(string[] args) { ~ foreach (line; stdin.byLine()) { ~ eval ~ ; } }); --- return

Re: Boost.ScopeExit based on D's scope(exit)

2009-03-04 Thread Jarrett Billingsley
On Wed, Mar 4, 2009 at 6:11 PM, Walter Bright newshou...@digitalmars.com wrote: Linux has actually gotten a lot better. As late as 2000, even gnu make couldn't read makefiles with CR's in them. OT - it's weird to think that that was almost a decade ago. Ten years! 2000 used to sound so

Re: Boost.ScopeExit based on D's scope(exit)

2009-03-04 Thread Daniel Keep
Georg Wrede wrote: Walter Bright wrote: Georg Wrede wrote: And now a major gripe: I have just spent *half a day* trying to figure out what's wrong when I try to use shebang with rdmd. I was basically using hello.d with a shebang. And with rdmd I got this peculiar error message: .d'nnot

Re: rdmd

2009-03-04 Thread Georg Wrede
Should I be able to $ rdmd --eval='printf(Yay, rdmd!)'

Re: rdmd

2009-03-04 Thread Andrei Alexandrescu
Georg Wrede wrote: Should I be able to $ rdmd --eval='printf(Yay, rdmd!)' Yah. For my money, I can't fathom working in D without rdmd. Now with --eval and passable regexes it's even better because I can easily do tasks (from shell files) that would take longer in Perl. Since the current