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

Compile-time RTTI bindings generation #76

Draft
wants to merge 86 commits into
base: master
Choose a base branch
from

Conversation

ShadelessFox
Copy link
Owner

This PR introduces an annotation processor, @GenerateBindings, responsible for generating Java types from a JSON dump, and a utility class, RTTI, for accessing different properties of types, such as their attributes, categories, as well as instantiating them as an optimized runtime-generated class.

The important note is that It doesn't contain any functionality for deserializing and serializing objects. This is an intended change as I decided to separate type definitions and type serialization. Each game would provide its own facility for reading resources.

Seems like Gradle doesn't quite support incremental annotation
processors in modular Java projects.
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.

1 participant