After some time-out I've finally release a new version of Baron and RedBaron (actually 2 versions) with some bug fixes but mainly adding more support to python 3.
Most of the biggest part of the new grammar addition should be done, there are still important bits and you can see the progress here https://baron.readthedocs.io/en/latest/grammar.html Things will take their time but it should come pretty smoothly.
Full changelog: ===============
Bug fixes: ----------
- fix line continuation https://github.com/PyCQA/baron/pull/92 by ibizaman - handle corrupt cache file situation https://github.com/PyCQA/baron/pull/76 by ryu2 - fix special crashing edge case in indentation marker https://github.com/PyCQA/bar by Ahuge - fixed incorrect tokenization case "d*e-1". Fixes #85 https://github.com/PyCQA/baron/pull/107 by boxed - fix endl handling inside groupings by kyleatmakrs (extracted from https://github.com/PyCQA/baron/pull/126)
Python 3: ---------
- add typed parameters support https://github.com/PyCQA/baron/pull/140 by Scott Belden and and additional work by bram - python 3 parsing extracted from https://github.com/PyCQA/baron/pull/126 - support ellipsis https://github.com/PyCQA/baron/pull/121 by odcinek - support matrix operator https://github.com/PyCQA/baron/pull/117 by odcinek - support f-strings https://github.com/PyCQA/baron/pull/110 by odcinek - support numeric literals https://github.com/PyCQA/baron/pull/111 by odcinek - support nonlocal statement https://github.com/PyCQA/baron/pull/112 by odcinek - support keyword only markers https://github.com/PyCQA/baron/pull/108 by boxed - support yield from statement https://github.com/PyCQA/baron/pull/113 by odcinek and additional work by bram - support async/await statements https://github.com/PyCQA/baron/pull/114 by odcinek and additional work by bram
I also end up opening an OpenCollective for RedBaron https://opencollective.com/redbaron/ to accept donations. I've been working moslty solo for this (research) project for several years for free because I had the feeling we needed something like that and while this feeling hasn't changed my life has. Those those projects requires a lot of time and mental energy to work on, including correctly reviewing the waiting pull requests, and well, being able to eat is pretty cool, so every input will help me put more time into it :) Also seeing from which kind of companies I get bug reports and pull requests I guess that this project is far from being useless.
Have a nice day,