Georg Wrede wrote:
Andrei Alexandrescu wrote:
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.
You can't imagine the initial resistance... :-)
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.
That, and one could concentrate on one language. And Pride!! "We do it
with D!"
Since the current source uses the not-yet-released phobos, I wanted
to attach a binary so you can try it, but it's too big for the news
server.
Yup, I've been fighting and tweaking and compiling...
And the thought crossed my mind, too.
FYI, I just implemented caching of the executables generated by --eval.
They'll be kept around for 24 hours. It's pretty neat. On my laptop, the
first --eval='printf("Yay, rdmd!\n")' takes 0.34 seconds to compile and
run. Subsequent calls are under 0.1 (practically instant).
Andrei