ctfe library

div0 div0 at users.sourceforge.net
Tue Apr 20 11:02:31 PDT 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Ellery Newcomer wrote:
> 
> As ctfe support matures, I dream of a full-fledged parser generator that
> can be evaluated at compile time, although that's way more heavy duty
> than what most people will need.
> 

My spirit port might be an option at some point soon:

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

Haven't tried it with current d2 compilers, but should still work w/ d1.

It uses lots of template code to compose parsers, so in theory it ought
to be usable at compile time. I doubt it can be used that way at the
moment, but hopefully dmd will get there and then you'll be able to do
some seriously funky stuff at compile time.

- --
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/

iD8DBQFLzew3T9LetA9XoXwRAtpMAKCizK+fXjoF/d+FqAy0H2sQGpHGkACeMa9A
Buy6K2vMmvk75bNxlDsbhKE=
=gxsa
-----END PGP SIGNATURE-----


More information about the Digitalmars-d-learn mailing list