Hello everyone,

It's better late than never (and also things were not funny in my life
the previous years), I've juste made a release for both Baron and
RedBaron to fully support up to python 3 grammar up to python 3.7.
This release might not be fully dry yet but it's there.

Baron and RedBaron are 2 projects that works together to allow you to
write code that both query and modify python /source/ code
programmatically, they can be used to build custom refactoring script,
tooling, analysing etc... Baron being the parser and RedBaron the API
for humans on top of that.

A huge focus has been put on creating a high level intuitive and
powerful API to make those kind of complicated jobs as intuitive and
as easy as possible but working on source code is still pretty hard.
You can get an good idea in RedBaron's documentation
https://redbaron.readthedocs.io (it's full of examples everywhere)

Next steps in the roadmap are as boring as needed:

* maybe python 3.8 support in advance
* bug fixes, bugs fixes, bug fixes, bug fixes...
* some needed features like the visitor/walker pattern

And that's already a huge amount of work ^^'

I also have R&D plans for exploring if it's possible to create a new
generic refactoring syntax tree that could be plug into RedBaron while
having no knowledge at all of the input language but that's long term.

Up until recently (for several years) my work on RedBaron was fully
volunteer based, if you wish to support it I've opened an
OpenCollective for that https://opencollective.com/redbaron/ (and
seeing who reports bugs and where they work I know this work is
useful). I would also be very interested in doing this kind of
research and work professionally for a structure but I'm not really
sure where to look.

I'll also be at FOSDEM if you want to say hi :)

-- 

Laurent Peuch -- Bram
_______________________________________________
code-quality mailing list
code-quality@python.org
https://mail.python.org/mailman/listinfo/code-quality

Reply via email to