What are the worst parts of D?

Martin DraĊĦar via Digitalmars-d digitalmars-d at puremagic.com
Mon Oct 6 01:22:01 PDT 2014


Dne 3.10.2014 v 16:42 ketmar via Digitalmars-d napsal(a):
> alas, only very old and rudimentary module is available. basically,
> it's the core of the full-featured console, but... only the core, and
> not very well written. i'm planning to opensource fully working thingy
> with bells and whistles eventually, but can't do it right now. :-(
> 
> anyway, here it is:
> http://repo.or.cz/w/iv.d.git/blob_plain/HEAD:/cmdcon.d
> 
> please note that this is not very well tested. i'm keeping it just for
> nostalgic reasons.
> 
> ah, and you can ignore the license. consider that code as public
> domain/WTFPL.
> 
> there is no struct/class support there, only variables and free
> functions. yet free functions supports various types of arguments and
> understands default agrument values.

Thanks a lot. I just briefly gone through the code and I have a question
about the console use:

That code is able to register functions and variables with some
annotations and execute them by string commands. How do you generally
use it for debugging purposes? That is, how do you use this console
interactively? In your previous mail you wrote that you use a telnet. Do
you have another mixin that at some specific point inserts a code that
pauses the execution of surrounding code and starts listening for telnet
commands?

Also, how do you make your console work in multithreaded programs?

Thanks,
Martin


-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3279 bytes
Desc: Elektronicky podpis S/MIME
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20141006/1d1a4e77/attachment.bin>


More information about the Digitalmars-d mailing list