|
|
|
|
|
by rramadass
63 days ago
|
|
That is quite interesting. I haven't thought much about source-to-source transformation within C++. Do you have any articles/papers/books/etc. you can point us to for understanding this better? Two usecases i have in mind are; 1) Transforming legacy C++98/C++03 codebases into "modern" C++11/14/17/20/23/26. Is this possible with current edg? 2) Adding verification conditions based on code analysis; both runtime contract asserts and compile time proofs (possible?) so as to convert "normal" C++ code into "somewhat verified" C++ code. Some resources that Google brought up; Challenges and Opportunities in C/C++ Source-To-Source Compilation - https://drops.dagstuhl.de/entities/document/10.4230/OASIcs.P... C++ Insights - See your source code with the eyes of a compiler - https://github.com/andreasfertig/cppinsights Tool at https://cppinsights.io/ |
|