This is the first step towards migrating to cxxheaderparser. The goal here is to make some of the logic clearer, and have the generative jinja files only generate using defined data classes in j2_context.py.
Tests pass locally for me, but not going to merge this until I build all robotpy projects locally and add some missing tests that I found along the way:
[ ] global variable in header
[ ] private class in private class
[x] operator overloading (py::self - float())
[x] buffer parameters
I think I want to do some more file renaming/clarifying also before we merge this.
This is the first step towards migrating to cxxheaderparser. The goal here is to make some of the logic clearer, and have the generative jinja files only generate using defined data classes in j2_context.py.
Tests pass locally for me, but not going to merge this until I build all robotpy projects locally and add some missing tests that I found along the way:
py::self - float()
)I think I want to do some more file renaming/clarifying also before we merge this.