omf-python
omf-python copied to clipboard
Discussion: Multiple language support with TransCoder
It was raised that we could potentially use something like this to implement OMF in multiple languages: https://github.com/facebookresearch/TransCoder - Ideally this would mean a single reference implementation with libraries in other languages spun out from that.
My immediate thoughts:
- I'm skeptical the transcoder would work with the current Python implementation since it uses some non-Pythonic
propertiesmagic for type-checking/validation/documentation. Definitely worth taking a pass at it though, and seeing what happens! - Likely we could build a simpler python library that would work more nicely with the transcoder.
- I worry the generated output library would not be very developer friendly. But again, I'm not sure, and something is of course better than nothing...
- Also worth considering if we would want the reference library to be C++ and python, etc to be generated. Again, this goes back to usability of output libraries.
Any comments or thoughts?
If I get a chance to play with this at all, I'll follow up here.