Spiritd updated.

2012-04-06 Thread Simon

FWIW, I've updated spiritd to work w/ dmd 2.058.

I've also moved the code to GitHub:

https://github.com/div0/spiritd

--
My enormous talent is exceeded only by my outrageous laziness.
http://www.ssTk.co.uk


Re: spiritd, bug fix.

2010-07-06 Thread div0

On 05/07/2010 13:54, Richard Webb wrote:

Hi,

I just tried to build the spiritd test app with the current DMD2, and got the 
error:

spiritd\primitives.d(46): Error: template instance conv!(Match!(char)) matches
more than one template declaration, spiritd\match.d(70):conv(T) and
spiritd\match.d(71):conv(T)

Is the current D2 supposed to be supported?

Thanks,
Richard Webb


It works in D2 up to and including 2.036.

2.037 it doesn't work, it looks like a compiler bug was introduced.
The change log for that version doesn't even mention templates

http://d.puremagic.com/issues/show_bug.cgi?id=4430

--
My enormous talent is exceeded only by my outrageous laziness.
http://www.ssTk.co.uk


Re: spiritd, bug fix.

2010-07-06 Thread Richard Webb
fwiw, i tried to work around this by changing the second conv function to:

  T conv(T, U)(in Match!(U) arg) { return T(arg._len); }

and then got a bunch of errors like:

spiritd\impl\parse.d(36): Error: variable m cannot be read at compile time

Which looks like bug 3809.
If i change parseImpl to initialize 't' manually rather than using the struct
initializer, then the test app compiles and appears to work ok.


Re: spiritd, bug fix.

2010-07-05 Thread Richard Webb
Hi,

I just tried to build the spiritd test app with the current DMD2, and got the 
error:

spiritd\primitives.d(46): Error: template instance conv!(Match!(char)) matches
more than one template declaration, spiritd\match.d(70):conv(T) and
spiritd\match.d(71):conv(T)

Is the current D2 supposed to be supported?

Thanks,
Richard Webb


spiritd, bug fix.

2010-05-22 Thread div0
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

A new release to fix a bug with the lexemeD directive which would cause
space skipping to fail in certain circumstances:

http://www.sstk.co.uk/spiritd.php

- --
My enormous talent is exceeded only by my outrageous laziness.
http://www.ssTk.co.uk
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iD8DBQFL+BZvT9LetA9XoXwRAjuMAJ40njlVlK47ryw8gvlfZi2VZQX3aACgiig5
A7I91ni8/f/Us4locbHcQas=
=gMJY
-END PGP SIGNATURE-


Re: spiritd

2009-08-31 Thread Grzegorz Adam Hankiewicz

div0 escribió:

A port of boost::spirit (classic) to D.
For d1/d2:

http://www.sstk.co.uk/spiritd.php.


Thanks, that looks really sweet.

PD: The menu on your website seems impossible to use with latest 
versions of Safari or Firefox. I had to use the superior elinks browser. 
Hehe, being cheap skate about monitors, fun.


Re: spiritd

2009-08-31 Thread div0
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

davidl wrote:
 ?? Mon, 31 Aug 2009 06:38:23 +0800??div0 d...@users.sourceforge.net :
 
 A port of boost::spirit (classic) to D.
 For d1/d2:
 
 http://www.sstk.co.uk/spiritd.php
 

 Impressive work!

ty, but the design isn't mine.
It's mostly just boring copy paste  translate to d.

- --
My enormous talent is exceeded only by my outrageous laziness.
http://www.ssTk.co.uk
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iD8DBQFKm5+RT9LetA9XoXwRAgofAJ441Cw5Q7G4E3aSDnyz7eM/oIB8yACfQSf1
4ZnRNQ3WL4qo9h3H0BGVQmo=
=fzgx
-END PGP SIGNATURE-


Re: spiritd

2009-08-31 Thread div0
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Grzegorz Adam Hankiewicz wrote:
 div0 escribió:
 A port of boost::spirit (classic) to D.
 For d1/d2:

 http://www.sstk.co.uk/spiritd.php.
 
 Thanks, that looks really sweet.
 
 PD: The menu on your website seems impossible to use with latest
 versions of Safari or Firefox. I had to use the superior elinks browser.
 Hehe, being cheap skate about monitors, fun.

I use ff. looks ok to me.
Maybe your just using a tiny resolution?
(does anybody use less than 1680x1050 these days?)

- --
My enormous talent is exceeded only by my outrageous laziness.
http://www.ssTk.co.uk
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iD8DBQFKm5/yT9LetA9XoXwRAnhmAKDPaMuDAFB42+LjhcdIBxl6exf6+QCcCUvP
lRniYtelrQ1DEI7AmYg/ZV0=
=rXWX
-END PGP SIGNATURE-


Re: spiritd

2009-08-31 Thread Nick Sabalausky
div0 d...@users.sourceforge.net wrote in message 
news:h7g75h$29s...@digitalmars.com...
 Grzegorz Adam Hankiewicz wrote:

 PD: The menu on your website seems impossible to use with latest
 versions of Safari or Firefox. I had to use the superior elinks browser.
 Hehe, being cheap skate about monitors, fun.

 I use ff. looks ok to me.
 Maybe your just using a tiny resolution?
 (does anybody use less than 1680x1050 these days?)


Absolutely. 1152x864 here. Any res higher than that and everything is too 
small to read (at least without hurting my eyes). And that's on a 21. Plus 
many modern laptops still only go up to 800px vertical. And then there's 
netbooks. And Wii/PS3 browsers.  Etc, etc...

But FWIW, the site seems to work fine for me (But I've refused to switch 
from FF2 to FF3, so like he said might just be the newer versions, or maybe 
it's just messing up for people that have JS turned on.). 




Re: spiritd

2009-08-31 Thread davidl

在 Mon, 31 Aug 2009 18:17:19 +0800,Nick Sabalausky a...@a.a 写道:


div0 d...@users.sourceforge.net wrote in message
news:h7g75h$29s...@digitalmars.com...

Grzegorz Adam Hankiewicz wrote:


PD: The menu on your website seems impossible to use with latest
versions of Safari or Firefox. I had to use the superior elinks  
browser.

Hehe, being cheap skate about monitors, fun.


I use ff. looks ok to me.
Maybe your just using a tiny resolution?
(does anybody use less than 1680x1050 these days?)



Absolutely. 1152x864 here. Any res higher than that and everything is too


ROFL with my little 768p displayer.


--
使用 Opera 革命性的电子邮件客户程序: http://www.opera.com/mail/


Re: spiritd

2009-08-31 Thread Jason House
div0 Wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Grzegorz Adam Hankiewicz wrote:
  div0 escribió:
  A port of boost::spirit (classic) to D.
  For d1/d2:
 
  http://www.sstk.co.uk/spiritd.php.
  
  Thanks, that looks really sweet.
  
  PD: The menu on your website seems impossible to use with latest
  versions of Safari or Firefox. I had to use the superior elinks browser.
  Hehe, being cheap skate about monitors, fun.
 
 I use ff. looks ok to me.
 Maybe your just using a tiny resolution?
 (does anybody use less than 1680x1050 these days?)

I'm using an iPhone. The screen is 2x4. I have no idea what the reolution is.


 - --
 My enormous talent is exceeded only by my outrageous laziness.
 http://www.ssTk.co.uk
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.7 (MingW32)
 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
 
 iD8DBQFKm5/yT9LetA9XoXwRAnhmAKDPaMuDAFB42+LjhcdIBxl6exf6+QCcCUvP
 lRniYtelrQ1DEI7AmYg/ZV0=
 =rXWX
 -END PGP SIGNATURE-



Re: spiritd

2009-08-31 Thread grauzone

I use ff. looks ok to me.
Maybe your just using a tiny resolution?
(does anybody use less than 1680x1050 these days?)


I don't think you should design your website in such a way, that only 
users with specific hardware can view it.


Re: spiritd

2009-08-31 Thread BCS

Hello div0,



Maybe your just using a tiny resolution?
(does anybody use less than 1680x1050 these days?)


Right now I'm running at 1024X600 on a netbook, and mobile devices will go 
even smaller. Also, I've heard that people tend to quit using the whole screen 
for apps once they get to large enough but rather put things in corners.





spiritd

2009-08-30 Thread div0
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

A port of boost::spirit (classic) to D.
For d1/d2:

http://www.sstk.co.uk/spiritd.php

- --
My enormous talent is exceeded only by my outrageous laziness.
http://www.ssTk.co.uk
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iD8DBQFKmv9fT9LetA9XoXwRAq1NAJ9VtaOpT5YIlZRArnoN6XRofscpqQCdFGjI
i5NQsqp4rd5T6APGVxanm8w=
=5eY/
-END PGP SIGNATURE-


Re: spiritd

2009-08-30 Thread davidl

在 Mon, 31 Aug 2009 06:38:23 +0800,div0 d...@users.sourceforge.net 写道:


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

A port of boost::spirit (classic) to D.
For d1/d2:

http://www.sstk.co.uk/spiritd.php

- --
My enormous talent is exceeded only by my outrageous laziness.
http://www.ssTk.co.uk
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iD8DBQFKmv9fT9LetA9XoXwRAq1NAJ9VtaOpT5YIlZRArnoN6XRofscpqQCdFGjI
i5NQsqp4rd5T6APGVxanm8w=
=5eY/
-END PGP SIGNATURE-


Impressive work!

--
使用 Opera 革命性的电子邮件客户程序: http://www.opera.com/mail/