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

[JVPP-13] Refactor Java generator as vppapigen plugin #11

Open
vvalderrv opened this issue Jan 3, 2025 · 0 comments
Open

[JVPP-13] Refactor Java generator as vppapigen plugin #11

vvalderrv opened this issue Jan 3, 2025 · 0 comments

Comments

@vvalderrv
Copy link
Contributor

The vppapigen was recently rewritten in python:

https://gerrit.fd.io/r/#/c/8781/

 

It has modular architecture which might allow adding Java api generation as a plugin.

Advantages:

  • no need for intermediate JSON representation
  • share AST with other language bindings

 

Issues:

 * vppapigen plugins are expected to transform list of objects to a string, which is then written to single file. For Java API generator, this should not work, as we produce single file per transfer object for example... But we could at least share Semantic Model

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

No branches or pull requests

1 participant