Metaquot: recognize a list pattern and store the resulting list
I have the following attribute attached to nodes [@profiling.mark [ "label1"; "label2"; "label3" ]]
which gives me this AST:
Metaquot examples or documentation to generate code
I’m trying to write simple rewriters with ppxlib to get an idea of how to do more complex things.