On Tue, Jul 09, 2013 at 05:07:59PM -0700, H. S. Teoh wrote:
[...]
> I forked GDMD on github and took a first stab at D-ifying it:
>
> https://github.com/quickfur/GDMD/tree/dport
[...]
Update:
- Fixed the path issues raised earlier (thanks for all the feedback!)
- I've added a whole bunch m
Also this getexecname function is a good candidate for
std.process.
On Wednesday, 10 July 2013 at 15:25:02 UTC, Johannes Pfau wrote:
Getting the real application path is not simple and not
portable, but
if you really want to do that:
http://stackoverflow.com/questions/933850/how-to-find-the-location-of-the-executable-in-c
http://stackoverflow.com/questions/1023
http://bugzilla.gdcproject.org/show_bug.cgi?id=64
--- Comment #8 from Iain Buclaw 2013-07-10 18:45:53
UTC ---
Thanks Johannes, though I seem to have been given the credit in the debian
changelog. :-P
http://ftp-master.metadata.debian.org/changelogs/main/g/gcc-4.8/unstable_changelog
--
Configu
Am Wed, 10 Jul 2013 18:23:54 +0200
schrieb Joseph Rushton Wakeling :
> On 07/10/2013 05:25 PM, Johannes Pfau wrote:
> > Getting the real application path is not simple and not portable,
> > but if you really want to do that:
>
> I found the same links and was wondering about that, but to be hones
On Wed, Jul 10, 2013 at 06:23:54PM +0200, Joseph Rushton Wakeling wrote:
> On 07/10/2013 05:25 PM, Johannes Pfau wrote:
> > Getting the real application path is not simple and not portable,
> > but if you really want to do that:
>
> I found the same links and was wondering about that, but to be ho
On 07/10/2013 05:25 PM, Johannes Pfau wrote:
> Getting the real application path is not simple and not portable, but
> if you really want to do that:
I found the same links and was wondering about that, but to be honest -- I think
Iain is right and this kind of stuff is overkill.
Let gdmd just be
Am Wed, 10 Jul 2013 07:14:27 -0700
schrieb "H. S. Teoh" :
> I actually thought about this before I wrote what I did; the reason I
> didn't do it, was because what the original script *appeared* to be
> doing (I didn't check, so I'm not sure) is to first identify itself
> (find the path to itself)
On 10 July 2013 15:14, H. S. Teoh wrote:
> On Wed, Jul 10, 2013 at 03:39:48PM +0200, eles wrote:
>> On Wednesday, 10 July 2013 at 12:58:41 UTC, Iain Buclaw wrote:
>> >On 10 July 2013 13:14, eles wrote:
>> >>On Wednesday, 10 July 2013 at 12:03:06 UTC, eles wrote:
>> >>Quick and unportable (Linux-o
On Wed, Jul 10, 2013 at 10:03:40AM +0200, Joseph Rushton Wakeling wrote:
> On 07/10/2013 02:07 AM, H. S. Teoh wrote:
> > I forked GDMD on github and took a first stab at D-ifying it:
> >
> > https://github.com/quickfur/GDMD/tree/dport
>
> Nice -- I'll try and have a play with that later :-)
>
On Wed, Jul 10, 2013 at 03:39:48PM +0200, eles wrote:
> On Wednesday, 10 July 2013 at 12:58:41 UTC, Iain Buclaw wrote:
> >On 10 July 2013 13:14, eles wrote:
> >>On Wednesday, 10 July 2013 at 12:03:06 UTC, eles wrote:
> >>Quick and unportable (Linux-only) drop-in replacement:
> >>
> >
> >Christ on
On 9 July 2013 17:08, Johannes Pfau wrote:
> One of the tests in std.complex is failing because cos(LITERAL) and
> cos(VARIABLE) return different results. AFAICS this happens only if the
> parameter doesn't fit in 80bits and needs to be rounded. If
> LITERAL/VARIABLE are values which fit exactly i
On Wednesday, 10 July 2013 at 12:58:41 UTC, Iain Buclaw wrote:
On 10 July 2013 13:14, eles wrote:
On Wednesday, 10 July 2013 at 12:03:06 UTC, eles wrote:
Quick and unportable (Linux-only) drop-in replacement:
Christ on a bike. What's wrong with:
import std.file;
import std.process : enviro
On 10 July 2013 13:14, eles wrote:
> On Wednesday, 10 July 2013 at 12:03:06 UTC, eles wrote:
>>
>> On Wednesday, 10 July 2013 at 10:24:17 UTC, Joseph Rushton Wakeling wrote:
>>>
>>> On 07/10/2013 02:07 AM, H. S. Teoh wrote:
Comments / flames / pull requests welcome. ;-)
>>>
>>>
>>>st
On Wednesday, 10 July 2013 at 12:20:14 UTC, eles wrote:
On Wednesday, 10 July 2013 at 12:14:39 UTC, eles wrote:
On Wednesday, 10 July 2013 at 12:03:06 UTC, eles wrote:
On Wednesday, 10 July 2013 at 10:24:17 UTC, Joseph Rushton
Wakeling wrote:
On 07/10/2013 02:07 AM, H. S. Teoh wrote:
Comments
On Wednesday, 10 July 2013 at 12:14:39 UTC, eles wrote:
On Wednesday, 10 July 2013 at 12:03:06 UTC, eles wrote:
On Wednesday, 10 July 2013 at 10:24:17 UTC, Joseph Rushton
Wakeling wrote:
On 07/10/2013 02:07 AM, H. S. Teoh wrote:
Comments / flames / pull requests welcome. ;-)
string findGDC
On Wednesday, 10 July 2013 at 12:03:06 UTC, eles wrote:
On Wednesday, 10 July 2013 at 10:24:17 UTC, Joseph Rushton
Wakeling wrote:
On 07/10/2013 02:07 AM, H. S. Teoh wrote:
Comments / flames / pull requests welcome. ;-)
string findGDC(string argv0)
{
// FIXME: this does not work
On Wednesday, 10 July 2013 at 10:24:17 UTC, Joseph Rushton
Wakeling wrote:
On 07/10/2013 02:07 AM, H. S. Teoh wrote:
Comments / flames / pull requests welcome. ;-)
string findGDC(string argv0)
{
// FIXME: this does not work 100% of the time.
auto c = match(baseName(argv
On 10 July 2013 12:24, Joseph Rushton Wakeling
wrote:
> On 07/10/2013 12:56 PM, Iain Buclaw wrote:
>> You think too hard about things that simply don't matter.
>
> ... scratches head furiously and thinks about how to respond to this ...
>
> :-P
http://25.media.tumblr.com/tumblr_lw997zALj91r1tloio
On 07/10/2013 12:56 PM, Iain Buclaw wrote:
> You think too hard about things that simply don't matter.
... scratches head furiously and thinks about how to respond to this ...
:-P
On 10 July 2013 11:47, Joseph Rushton Wakeling
wrote:
> On 07/10/2013 12:28 PM, Iain Buclaw wrote:
>> On 10 July 2013 11:24, Joseph Rushton Wakeling
>> wrote:
>>> On 07/10/2013 02:07 AM, H. S. Teoh wrote:
Comments / flames / pull requests welcome. ;-)
>>>
>>> string findGDC(string argv0)
On 07/10/2013 12:28 PM, Iain Buclaw wrote:
> On 10 July 2013 11:24, Joseph Rushton Wakeling
> wrote:
>> On 07/10/2013 02:07 AM, H. S. Teoh wrote:
>>> Comments / flames / pull requests welcome. ;-)
>>
>> string findGDC(string argv0)
>> {
>> // FIXME: this does not work 100% of the t
On 10 July 2013 11:24, Joseph Rushton Wakeling
wrote:
> On 07/10/2013 02:07 AM, H. S. Teoh wrote:
>> Comments / flames / pull requests welcome. ;-)
>
> string findGDC(string argv0)
> {
> // FIXME: this does not work 100% of the time.
> auto c = match(baseName(argv0), `^(.*-
On 07/10/2013 02:07 AM, H. S. Teoh wrote:
> Comments / flames / pull requests welcome. ;-)
string findGDC(string argv0)
{
// FIXME: this does not work 100% of the time.
auto c = match(baseName(argv0), `^(.*-)?g?dmd(-.*)?$`).captures;
auto targetPrefix = c[1];
On 10 July 2013 11:05, Joseph Rushton Wakeling
wrote:
> On 07/10/2013 10:03 AM, Joseph Rushton Wakeling wrote:
>> I'll be back with my big flaming torch and pitchfork after I've tested later
>> today ... ;-)
>
> Not your fault, but that delimited string inside printUsage() runs into a
> lovely
>
On 07/10/2013 10:03 AM, Joseph Rushton Wakeling wrote:
> I'll be back with my big flaming torch and pitchfork after I've tested later
> today ... ;-)
Not your fault, but that delimited string inside printUsage() runs into a lovely
syntax highlighting bug in d.vim:
https://github.com/JesseKPhillips
On 07/10/2013 02:07 AM, H. S. Teoh wrote:
> I forked GDMD on github and took a first stab at D-ifying it:
>
> https://github.com/quickfur/GDMD/tree/dport
Nice -- I'll try and have a play with that later :-)
First thing that strikes me -- and I know you're taking this from the original
scri
27 matches
Mail list logo