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

Support languages other than C #67

Open
billvaglienti opened this issue Dec 31, 2017 · 1 comment
Open

Support languages other than C #67

billvaglienti opened this issue Dec 31, 2017 · 1 comment

Comments

@billvaglienti
Copy link
Owner

billvaglienti commented Dec 31, 2017

The obvious choice would be an output option for C++. The generated code could then use classes instead of structs; and the classes could have constructors, and be more OOP-y and syntactically compact. The goal is to use the same protocol.xml file but specify on the command line the 'C' or 'C++' dialect. Obviously C and C++ code would need to produce the same packet contents over the wire.

In the future one could imagine extending this concept to other languages: Go, Swift, C#, etc. That would obviously be a lot more work, but the same principles should be obeyed: the protocol file doesn't need to change, and the project just chooses the language that is most natural for it.

@SchrodingersGat
Copy link
Contributor

Cough Python cough :)

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

No branches or pull requests

2 participants