Author |
Message |
Topic: D 2.0 support? |
csauls
Replies: 2
Views: 16927
|
Forum: MiniD Posted: Wed Apr 13, 2011 2:40 am Subject: D 2.0 support? |
It's been strictly a free time project, and I haven't had free time, so there you have it. I should be starting a new job soon, and that may very well change things. As it is, I really haven't been ... |
Topic: Does not compile in 2.0 |
csauls
Replies: 3
Views: 51224
|
Forum: CDC Posted: Wed Dec 08, 2010 3:20 am Subject: Does not compile in 2.0 |
The first '-run' is for DMD to run CDC, and the second one is to pass a '-run' to the DMD command line to compile foo.exe. Basically, everything after '-run' is expected to be in the format "< ... |
Topic: Faster than java? |
csauls
Replies: 9
Views: 25960
|
Forum: General Posted: Wed Apr 14, 2010 5:37 pm Subject: Faster than java? |
this(int n) {
v.length = n;
for( int i = 0; i < n; i++ )
v[i].length = n;
}
That compiles for me. Will explain it later, ... |
Topic: Kate Highlighting |
csauls
Replies: 1
Views: 14768
|
Forum: MiniD Posted: Sun Dec 20, 2009 3:35 am Subject: Kate Highlighting |
I wrote a Kate syntax highlighting definition for MiniD back in the summer for my own usage, and just realized I might as well share it for anyone else who uses Kate and/or Kate-based editors. I'll a ... |
Topic: Getting an integer input/converting types |
csauls
Replies: 4
Views: 18534
|
Forum: General Posted: Fri Dec 18, 2009 3:31 am Subject: Getting an integer input/converting types |
I should really start making a point of asking that first... and of not assuming D2 when I answer... Oh well, sorry. |
Topic: Getting an integer input/converting types |
csauls
Replies: 4
Views: 18534
|
Forum: General Posted: Tue Dec 15, 2009 12:38 am Subject: Getting an integer input/converting types |
Something like this:
import std .conv ;
// ...
value = to!int( text );
to is your friend. ^_^ Depending on your usage, you might also want to look at parse, also from std.conv. Do ... |
Topic: Sticking with Tango trunk from now on |
csauls
Replies: 9
Views: 29302
|
Forum: MiniD Posted: Sun Dec 06, 2009 10:13 pm Subject: Sticking with Tango trunk from now on |
I hear ya. Thanks |
Topic: Sticking with Tango trunk from now on |
csauls
Replies: 9
Views: 29302
|
Forum: MiniD Posted: Sun Dec 06, 2009 2:30 am Subject: Sticking with Tango trunk from now on |
How true is this now, with the Tango restructuring? Is it still up to trunk, or is there a last known working revision to stick to? |
Topic: The Martian |
csauls
Replies: 2
Views: 16631
|
Forum: Potential Projects Posted: Fri Oct 16, 2009 4:01 pm Subject: The Martian |
I think the idea is that, given a D module "foo" with "#INCLUDE bar" at the top, the command line "martian foo ..." invokes "dmd foo bar ..." for you...
But, ... |
Topic: I am NOT abandoning MiniD |
csauls
Replies: 3
Views: 17681
|
Forum: MiniD Posted: Mon Oct 12, 2009 5:10 pm Subject: I am NOT abandoning MiniD |
Happy to hear that; since MiniD is my favorite language of all time! Okay, that's exaggerating a weebit, but I am rather fond of it. Wouldn't have liked the thought of having to re-implement the dam ... |
Topic: Cracy concept: MiniD module archives? |
csauls
Replies: 3
Views: 17130
|
Forum: MiniD Posted: Thu Oct 01, 2009 9:37 pm Subject: Cracy concept: MiniD module archives? |
I knew about modules-as-functions, from some of my earlier skulking about with it, doing lots of silly writing, re-writing, and over-writing of metatables just to see how much I can abuse MiniD. (For ... |
Topic: Cracy concept: MiniD module archives? |
csauls
Replies: 3
Views: 17130
|
Forum: MiniD Posted: Thu Oct 01, 2009 2:43 pm Subject: Cracy concept: MiniD module archives? |
I know JAR files are evil. Dire evil. The kind of evil that makes one's mother in law seem like a cute puppy. That said, how hard would it be to create loadable MiniD archives? Might be a "Mi ... |
Topic: Projects Page and Opera |
csauls
Replies: 4
Views: 31733
|
Forum: Site Posted: Tue Sep 08, 2009 10:18 pm Subject: Projects Page and Opera |
It does take it quite a while to load... ^_^ |
Topic: assign char* to string type? |
csauls
Replies: 8
Views: 28217
|
Forum: General Posted: Fri Aug 21, 2009 12:29 am Subject: assign char* to string type? |
The !() syntax is explicit template instantiation. In this case it is first instantiating one of the templates named "to" giving it the type "string" as a parameter, then the seco ... |
Topic: assign char* to string type? |
csauls
Replies: 8
Views: 28217
|
Forum: General Posted: Tue Aug 18, 2009 9:51 pm Subject: assign char* to string type? |
You don't need format(). Just import std.conv and use to!(string)(cString), which is what that error message is trying to tell you, except that for some reason the template instance i ... |
|