Dear All, It is my pleasure to announce the release candidate 1 of MELT plugin 0.9.1. for GCC 4.6.
MELT is a high-level domain specific language to ease the development of GCC extensions. See http://gcc-melt.org/ for more. ####################################################################### NEWS for 0.9.1 MELT plugin for gcc-4.6 October XX, 2011: Release of MELT plugin 0.9.1 for gcc-4.6 dedicated to the memory of Dennis M. Ritchie http://en.wikipedia.org/wiki/Dennis_Ritchie New features: variadic MELT functions. ======================= A formal arguments list (i.e. formals for LAMBDA or DEFUN) ending with :REST is for variadic functions with a variable number and type of arguments (so :REST in MELT is similar to the ellipsis ... notation in C prototypes). At least one first formal argument should be provided and should be a value. The (VARIADIC ....) macro is used to fetch actual variadic arguments. A variadic cursor is internally maintained to parse the variadic actual arguments. The VARIADIC macro has a sequence of variadic cases. Each variadic case starts with an ordinary [non-variadic] formal arguments list, and has a body which is evaluated for side effects if the current arguments at the cursor position fits into the formal. The last variadic case can also starts with an :ELSE. See also http://groups.google.com/group/gcc-melt/browse_thread/thread/c124ea6af940c08e variadic (DEBUG ....) macro. ============================ Debugging messages should go thru the variadic (DEBUG ...) macro which accepts an arbitrary kind and number of arguments. The DEBUG_MSG macro is obsolete. variadic ADD2OUT function ========================= The ADD2OUT variadic function add to an output (either a file value; or a string buffer values) arbitrary things. ####################################################################### And of course various bug fixes and improvements Download the MELT 0.9.1rc1 plugin source from http://gcc-melt.org/melt-0.9.1rc1-plugin-for-gcc-4.6.tgz a gnu-zipped source tar archive of size 4126336 bytes and md5sum 0a2d9a097685575ebb7e7a922a0c38d5 (october 16th 2011). It is extracted from MELT branch svn revision 180054. The version number 0.9.1 of the MELT plugin is unrelated to the version of the GCC compiler (4.6) for which it is supposed to work. Bug reports and patches are welcome (to the gcc-m...@googlegroups.com list with CC to me Basile). PS. The pre-released MELT 0.9.1rc0 was buggy and unusable. So please download this 0.9.1rc1 release candidate. Regards -- Basile STARYNKEVITCH http://starynkevitch.net/Basile/ email: basile<at>starynkevitch<dot>net mobile: +33 6 8501 2359 8, rue de la Faiencerie, 92340 Bourg La Reine, France *** opinions {are only mine, sont seulement les miennes} ***