The output should be in a machine readable format, such as JSON or YAML. JSON might be the better choice, because it can be imported very easily from python (it's just an eval() to get a dictionary).
Loading YAML from python is easy using pyyaml ("pip install pyyaml"), and since llvm already includes a YAML library this seems easier and cleaner than JSON.
The output should be in a machine readable format, such as JSON or YAML. JSON might be the better choice, because it can be imported very easily from python (it's just an eval() to get a dictionary).
Alternatives: