Our great sponsors
-
ultisnips
UltiSnips - The ultimate snippet solution for Vim. Send pull requests to SirVer/ultisnips!
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
I don't follow. What you're describing sounds like something akin to either Yeoman or UltiSnips and output-only tools like that don't need to care about whether two pieces of code are semantically equivalent.
I don't follow. What you're describing sounds like something akin to either Yeoman or UltiSnips and output-only tools like that don't need to care about whether two pieces of code are semantically equivalent.
If it's something in the vein of one of those things then, worst case, you generate the code first, then run it through something like dprint.