Fork me on GitHub
#meander
<
2021-10-01
>
markaddleman03:10:07

I have to transform a bunch of XML files. The transformations are all basically the same: reach into the XML tree and pick out elements of data and flatten the result into a sequence of maps. I just invented a data language that describes the paths to the data elements and each data elements' output name. Then, I use meander to translate that data language into a meander program which performs the XML transformation. All this took a couple of hours. meander^2 is awesome. That is all 🙂

👍 6
❤️ 3