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

How are the rewrites affecting the diagram? #1

Open
LifeIsStrange opened this issue Mar 16, 2021 · 2 comments
Open

How are the rewrites affecting the diagram? #1

LifeIsStrange opened this issue Mar 16, 2021 · 2 comments

Comments

@LifeIsStrange
Copy link

Kotlin has a stable, new compiler backend for kotlin 1.5.
They are currently developing a new compiler frontend too.
Finally I believe that they have revamper the compiler plugin API (used by arrow meta, KSP)

BTW it would be nice to integrate KAPT in the big picture?
Thanks for this repo!

@ahinchman1
Copy link
Owner

Hi there! Late response, but picked up updating these notes again.

How are rewrites affecting the diagram?

I've been trying to preserve every state of the diagram as the research moves forward. I've also come across old notes, and ought to post a photo of that as well.

The compiler diagrams morph into more detail but thankfully, not too much seems to have changed over time - although there are clarifications to make to differentiate and talk about the different frontend/backend compilers in Kotlin. Just added more notes around that and links to accompany it in the link-repo.MD file

BTW it would be nice to integrate KAPT in the big picture?

This is a great question. In the most literal sense, Kapt is a Kotlin plugin, which exists inside the kotlin project.

Screen Shot 2023-03-28 at 12 16 47 AM

I'll try to come back to add more content around how this works -

@ahinchman1
Copy link
Owner

I take it back - there are some rewrites between K1 and K2 frontend compilers. Will update soon

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

2 participants