This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
[Ann] GCC MELT plugin 0.9.4.b for GCC 4.6 & 4.7
- From: Basile Starynkevitch <basile at starynkevitch dot net>
- To: gcc-melt at googlegroups dot com
- Cc: gcc at gcc dot gnu dot org, ctuning-discussions at googlegroups dot com
- Date: Sun, 4 Mar 2012 16:32:26 +0100
- Subject: [Ann] GCC MELT plugin 0.9.4.b for GCC 4.6 & 4.7
- References: <20120301134616.GA26812@ours.starynkevitch.net> <20120302185053.d8aa6f91876d70469c319fd6@starynkevitch.net>
Hello All,
(the just released 0.9.4 MELT plugin which I announced on march 2nd was buggy:
documentation was not generated. This 0.9.4.b release fixes that annoying bug. Please
don't use MELT 0.9.4 and download 0.9.4.b instead)
################################################################
NEWS for 0.9.4.b MELT plugin for GCC 4.6 (and 4.7 when available)
released on March 04th, 2012
Language improvements
=====================
Add CHEADER macro to insert header c-code. For example
(cheader #{#include <readline/readline.h>}#)
or
(cheader #{inline int succ(int x) { return x+1;}}#)
[you still need dirty tricks to link an external library into a MELT
module; as a temporary workaround, consider editing melt-module.mk for
them, perhaps defining GCCMELT_MODULE_EXTRALIBES there, or link
manually the library into melt.so meta-plugin]
Runtime
=======
Hash maps have an auxiliary data value, which can be accessed and set
at will.
Translator
==========
All C-generating devices (primitives, c-iterators, ...) emit their
code in a syntax checking C function, which is never called, but is
emitted to ensure the emittable C code is syntactically correct. This
catch typos in (defprimitive ...) etc... even for e.g. yet unused
primitives.
Bugs
====
Many bugs have been corrected.
[Notably, the 0.9.4 release of march 02nd 2012, -not this 0.9.4.b-
didn't generate documentation correctly]
#########################################################################
Sorry for such a late bug-fix! Comments and patches are welcome, either to
gcc@gcc.gnu.org or to gcc-melt@googlegroups.com
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} ***