-
-
Notifications
You must be signed in to change notification settings - Fork 351
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feature: sniper mode (aka high fidelity code transformation) #1284
Comments
depends on #1168 |
useful for repairnator and co |
see #1358 |
closed per #1927 |
FYI: |
More papers on high-fidelity / layout preserving code transformation: High-fidelity C/C++ code transformation (2017) Detaching and reconstructing the documentary structure of source code (2010) Layout preserving parser for refactoring in Erlang (2009) revcpp: A reversible c++ preprocessor (2015) Scrap you reprinter (2017) |
Transformation tools with high-fidelity / layout preserving features (thanks to @jurgenvinju):
|
Tools:
Relevant papers:
|
the paper which coined the term "hifi" transformation for "no loss of layout and source code comments": "High Fidelity C/C++ Code Transformation" by Daniel Waddington and Bin Yao https://www.researchgate.net/publication/222998573_High-Fidelity_CC_Code_Transformation |
FYI, JavaParser calls this feature "lexical preservation", see @ftomassetti's post |
This paper by Rodin T. A. Aarssen and Tijs van der Storm suggesting "Separator Syntax Trees" might be of interest: High-fidelity metaprogramming with separator syntax trees (2020) |
we only rewrite the changed nodes, keeping the original formatting.
see ROADMAP
The text was updated successfully, but these errors were encountered: