Questions about windows support
H. S. Teoh
hsteoh at quickfur.ath.cx
Fri Feb 24 09:47:34 PST 2012
On Fri, Feb 24, 2012 at 05:19:44PM +0100, Adam D. Ruppe wrote:
> On Thursday, 23 February 2012 at 19:10:03 UTC, H. S. Teoh wrote:
[...]
> >The echo command has a bug, it's not supposed to output 'echo' as
> >part of its output. :)
>
> Yeah, I messed up argv.
>
> Here's an updated version:
> http://arsdnet.net/dcode/dshell.d
>
> added basic formatting to the data interface, lazy printing
> (try "cat" and type in stdin) and bug fixes.
OK I'll take a look at it.
[...]
> >It's extremely cool. Definitely orders of magnitude better than
> >writing the equivalent thing in C.
>
> Hell, this kind of thing is easier in D than in a lot
> of dynamic languages! imo anyway. eval is sometimes nice
> but having the type information available to do a smart
> wrapper is very nice.
[...]
Well, eval is just runtime mixin. From the program's POV, it's an opaque
string that might do just about *anything*. Which is not very helpful
since you can't really do too much with it except to run it or not. Type
introspection OTOH allows you do more intelligent things based on what
types are there.
T
--
WINDOWS = Will Install Needless Data On Whole System -- CompuMan
More information about the Digitalmars-d
mailing list