symforce
symforce copied to clipboard
Add Typescript code generation
This PR adds the typescript code generation backend.
Cool, yeah I think the next steps here would be to add the FUNCTION.ts.jinja and probably util.jinja, and plug into symforce_codegen_test to have it generate most functions we currently generate for C++ and Python for typescript as well. We might want a general utility to test that we can call the generated functions and get the results we expect based on the symbolic code, or maybe just some non-general tests of that for typescript in particular. We could also try generating the geo and cam packages for TypeScript, but that's probably optional / something that could be done later