Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Typescript code generation #221

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

vincent-lecrubier-skydio
Copy link
Collaborator

@vincent-lecrubier-skydio vincent-lecrubier-skydio commented Sep 6, 2022

This PR adds the typescript code generation backend.

@vincent-lecrubier-skydio vincent-lecrubier-skydio changed the title Add basics for typescript codegen Add Typescript code generation Sep 6, 2022
@vincent-lecrubier-skydio vincent-lecrubier-skydio marked this pull request as draft September 6, 2022 16:24
@aaron-skydio
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants