mirror of
https://github.com/compiler-explorer/compiler-explorer.git
synced 2025-12-27 10:33:59 -05:00
"Bronto Refactor" is a tool that reads annotations in C++ source code and generates edits based on those annotations. For CE specifically, it outputs a copy of the primary file with the modifications applied. Documentation can be found [here](https://github.com/brontosource/bronto/blob/main/include/bronto/bronto.hpp) and will also be made available at http://brontosource.dev in a nicer format before this PR is merged. I've attached a screenshot which hopefully conveys the idea. One question I have is about how to actually deliver the tool. It is not publicly available, but we do want folks to be able to play around with it. We're happy to have you build it from source or we can deliver a prebuilt binary, whatever is preferable. This is my first time contributing here. I think I've got everything set up appropriately (including sibling PR https://github.com/compiler-explorer/infra/pull/1569 to the infra repository) but please let me know if I'm missing anything. <img width="1723" alt="BrontoRefactorToolScreenshot" src="https://github.com/user-attachments/assets/cd605358-b7f2-49e8-9845-b6f3056fa4ef" />