www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.announce - Alpha release of meta, a utility library for compile time functions and template metaprogramming

reply Matthias Walter <Matthias.Walter st.ovgu.de> writes:
I'm proud to announce the release of my first code in the meta library,
containing the following features:

 * Functions for converting floats, ints and strings into one another
 * Functions for basic parsing routines and enquoting for mixin programming.
 * A powerful compile-time demangler. Despite printing your favourite
identifiers it provides the following features:
 * You can access some variables by passing them as an alias instead of passing
the name of it as a string, which is the common case for most meta programs.
 * You can find out, whether a given identifier is a function (static) or a
method (non-static), which was almost impossible before!

Especially the last point might be interesting for some people, as I've seen
the question how to distinguish static functions from methods at compile time
regularly.

If you have code, you think of to be worth populating to all the other people
who do some cool stuff at compile-time, please contact me!

best regards
Matthias Walter
Jul 28 2008
parent reply Matthias Walter <Matthias.Walter st.ovgu.de> writes:
I'm sorry, I forgot the link:

http://dsource.org/projects/meta

MW
Jul 28 2008
parent reply yidabu <yidabu.spam gmail.com> writes:
On Mon, 28 Jul 2008 16:56:42 -0400
Matthias Walter <Matthias.Walter st.ovgu.de> wrote:

 I'm sorry, I forgot the link:
 
 http://dsource.org/projects/meta
 
 MW
svn import failed: http://svn.dsource.org/projects/meta/trunk/ -- yidabu <yidabu.spam gmail.com> http://www.dsource.org/projects/dwin D ÓïÑÔ-ÖÐÎÄ(D Chinese): http://www.d-programming-language-china.org/ http://bbs.d-programming-language-china.org/ http://dwin.d-programming-language-china.org/ http://scite4d.d-programming-language-china.org/
Jul 28 2008
parent yidabu <yidabu.spam gmail.com> writes:
On Tue, 29 Jul 2008 11:51:02 +0800
yidabu <yidabu.spam gmail.com> wrote:

 On Mon, 28 Jul 2008 16:56:42 -0400
 Matthias Walter <Matthias.Walter st.ovgu.de> wrote:
 
 I'm sorry, I forgot the link:
 
 http://dsource.org/projects/meta
 
 MW
svn import failed: http://svn.dsource.org/projects/meta/trunk/
never mind. seems it's a svn client issue. -- yidabu <yidabu.spam gmail.com> http://www.dsource.org/projects/dwin D ÓïÑÔ-ÖÐÎÄ(D Chinese): http://www.d-programming-language-china.org/ http://bbs.d-programming-language-china.org/ http://dwin.d-programming-language-china.org/ http://scite4d.d-programming-language-china.org/
Jul 28 2008