All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] QApi: Java interface
@ 2014-06-30  0:35 Shevek
  0 siblings, 0 replies; only message in thread
From: Shevek @ 2014-06-30  0:35 UTC (permalink / raw)
  To: qemu-devel

Hi,

I have written a Java code generator to allow a Java control process to 
interface with the QApi subsystem. The code is autogenerated from the 
JSON schema, and imposes as much strict typing as is possible. It can 
easily be regenerated from any branch or directory if you want to test 
against a development version of QApi.

The code is available here:

https://github.com/shevek/qemu-qapi-java

I would be interested in offering this to the community, and in hearing 
any feedback.

Feedback to QApi developers: The QApi specification uses a lot of 
oddities, including "**" as a type, various odd things like "number" (I 
forget offhand), and using Java/C reserved words as key names, which 
make it a little harder to do an elegant code generation job from the 
QApi schema. However, inelegance permitted, here it is.

Thank you.

S.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2014-06-30  0:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-30  0:35 [Qemu-devel] QApi: Java interface Shevek

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.