From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29037 invoked by alias); 27 Sep 2011 11:15:20 -0000 Received: (qmail 29016 invoked by uid 22791); 27 Sep 2011 11:15:17 -0000 X-SWARE-Spam-Status: No, hits=-1.5 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,TW_SV X-Spam-Check-By: sourceware.org Received: from smtp-102-tuesday.noc.nerim.net (HELO mallaury.nerim.net) (62.4.17.102) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 27 Sep 2011 11:14:58 +0000 Received: from hector.lesours (ours.starynkevitch.net [213.41.244.95]) by mallaury.nerim.net (Postfix) with ESMTPS id 8404615341B; Tue, 27 Sep 2011 13:14:57 +0200 (CEST) Received: from basile18 by hector.lesours with local (Exim 4.76) (envelope-from ) id 1R8Vcm-0003Hu-W8; Tue, 27 Sep 2011 13:14:57 +0200 Date: Tue, 27 Sep 2011 15:12:00 -0000 From: Basile Starynkevitch To: gcc@gcc.gnu.org, gcc-melt@googlegroups.com Subject: Ann: GCC MELT plugin 0.9 release (for gcc 4.6) Message-ID: <20110927111456.GC12447@ours.starynkevitch.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) X-IsSubscribed: yes Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org X-SW-Source: 2011-09/txt/msg00342.txt.bz2 Hello It is my pleasure to announce the release of GCC MELT plugin 0.9 for GCC 4.6 The release of MELT plugin 0.9 for gcc 4.6 is available, as a gzipped source tar archive, from http://gcc-melt.org/melt-0.9-plugin-for-gcc-4.6.tgz of size 3785599 bytes, and md5sum 739cf34c19aade37092dd9b9601ebc2d (september 27th 2011). It is extracted from MELT branch svn revision 179266. The version number 0.9 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-melt@googlegroups.com list). ####################################################################### NEWS for 0.9 MELT plugin for gcc-4.6 September 27th, 2011: Release of MELT plugin 0.9 for gcc-4.6 New features: Documentation is generated The PLUGIN_PRE_GENERICIZE event is interfaced. The build machinery and the binary module loading has been significantly updated. Modules shared objects are like warmelt-macro.3461497d8ef7239dc1f2f132623e6dd5.quicklybuilt.so and they contain the md5sum of the catenation of all C files. They also come in various flavor: quicklybuilt (the generated C is compiled with -O0 -DMELT_HAVE_DEBUG), optimized (the generated C is compiled with -01 and without -DMELT_HAVE_DEBUG), debugnoline (the generated C is compiled with -g and -DMELT_HAVE_DEBUG but no #line directives). Conceptually, a module is loaded by loading its +meltdesc.c file. That file (e.g. warmelt-macro+meltdesc.c corresponding to warmelt-macro.melt) should never be moved or even edited. It is parsed at module load time, and contains the various md5sum of real generated C files. New option -fplugin-arg-melt-workdir= for the work directory, where every .c or .so files are generated. The DISCR_BOX discriminant has been removed. Use containers instead. Containers, that is instances of class_container having one single field :container_value, are supported by syntactic macros and sugar & function. (container V) =equivalent= (instance class_container :container_value V) (content C) =equivalent= (get_field :container_value C) (set_content C V) =equivalent= (put_fields C :container_value V) You can write exclaim instead of content, and there is a new syntactic sugar !X is the same as (content X) - the exclamation mark should be followed by spaces, letters, or left parenthesis to be parsed as exclaim -that is as the content macro above. In patterns, ?(container ?v) means ?(instance class_container :container_value ?v) Fields can be accessed by their name, so (:F C) is the same as (get_field :F C) Hence (:container_value foo) is the same as !foo or (get_field :container_value foo) Experimental syntactic sugar: inside an s-expr, a macro string written ##{...}# is expanded as several components, not a single list. Experimental: ability to (define ...) values like in Scheme. Ability to create gimple-s and to modify gimple_seq. Slow boxed arithmetic operations are available (e.g. +iv gets two boxed integer and gives the boxed integer of their sum). Many bug fixes. The build system has been revamped. The generated .c files should be available when running MELT. Thanks to Pierre Vittet, Alexandre Lissy, Romain Geissler for feedback, patches, suggestions. Regards. -- Basile STARYNKEVITCH http://starynkevitch.net/Basile/ email: basilestarynkevitchnet mobile: +33 6 8501 2359 8, rue de la Faiencerie, 92340 Bourg La Reine, France *** opinions {are only mines, sont seulement les miennes} ***