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

WIP feature(spoon-kotlin): Support for analysis and transformation of Kotlin code #3577

Closed
wants to merge 423 commits into from

Conversation

jlundhol
Copy link

@jlundhol jlundhol commented Sep 8, 2020

Draft PR suggested by @monperrus. Early work in progress for #2554.

Currently in experimental state with minimal additions to the underlying model.

@monperrus
Copy link
Collaborator

Nice work!

@aemoncannon
Copy link

Just curious what is the status of this PR? Does it need help? Best

@jlundhol jlundhol closed this Mar 20, 2021
@jlundhol
Copy link
Author

Sorry for the late reply aemoncannon.
This PR was part of a master thesis project to see to what extent the current model could be reused.
The result in the forked repo is not very usable towards the goal of #2554 as structural differences in the languages make the modelling of Kotlin code using the existing model somewhat awkward. It can however still be used as inspiration for a future implementation. So I'm closing this draft PR for now, to reflect that I'm not currently working on it and that a new implementation based on an adapted model is likely needed.

Also, a new tree builder implementation would probably do best in using the new FIR module of the Kotlin compiler as opposed to my fork which uses the lower level IR.

I will likely pick this up again in the near future.

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.

3 participants