ANN: gcc-python-plugin 0.16

David Malcolm dmalcolm at redhat.com
Fri May 4 16:47:34 EDT 2018


gcc-python-plugin is a plugin for GCC 4.6 onwards which embeds the
CPython interpreter within GCC, allowing you to write new compiler
warnings in Python, generate code visualizations, etc.

This releases adds support for gcc 7 and gcc 8 (along with continued
support for gcc 4.6, 4.7, 4.8, 4.9, 5 and 6).

The upstream location for the plugin has moved from fedorahosted.org to
https://github.com/davidmalcolm/gcc-python-plugin

Additionally, this release contains the following improvements:

* add gcc.RichLocation for GCC 6 onwards
* gcc.Location
  * add caret, start, finish attributes for GCC 7 onwards
  * add gcc.Location.offset_column() method

Tarball releases are available at:
  https://github.com/davidmalcolm/gcc-python-plugin/releases

Prebuilt-documentation can be seen at:
  http://gcc-python-plugin.readthedocs.org/en/latest/index.html


The plugin and checker are Free Software, licensed under the GPLv3 or
later.

Enjoy!
Dave Malcolm


More information about the Python-announce-list mailing list