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

Use Tasty Query for configuration-serializable code generation? #21

Open
Jannyboy11 opened this issue May 31, 2023 · 0 comments
Open

Use Tasty Query for configuration-serializable code generation? #21

Jannyboy11 opened this issue May 31, 2023 · 0 comments
Labels
question Further information is requested

Comments

@Jannyboy11
Copy link
Owner

Jannyboy11 commented May 31, 2023

TASTy Query is a library by the Scala Center which allows us to read TASTy properties of classes that are on a classpath. We might want to use it instead of analysing bytecode in order to generate serialize and deserialize methods. It might also come in handy for a re-envisioned dependency api (as described in #4 (comment)) A demonstration video can be found at https://www.youtube.com/watch?v=mSU1FfOZ_QA.

Pros:

  • Nicer API than ASM

Cons:

  • Best consumed from Scala (not Java)
  • Only works for classes compiled by Scala 2.13, Scala 3 or Java (no Scala 2.12).
@Jannyboy11 Jannyboy11 added the question Further information is requested label Jul 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant