Skip to content

SYSTEM Cited by 1 source

kotlin_ast_tools (Meta)

kotlin_ast_tools is the open-source subset of Meta's Java→Kotlin migration postprocessing transformations, published at github.com/fbsamples/kotlin_ast_tools. It represents "a few of" the 150+ postprocessing steps inside the full Kotlinator pipeline.

What's in it

Per the 2024-12-18 Meta post: "A few of our postprocessing transformations have been open-sourced." Concrete coverage and scope depend on the repo's current contents (the post does not enumerate them). Intended for use by other organisations translating Android Java codebases — Meta explicitly invites collaboration: "If this sounds like you, we'd love for you to leverage our fixes and share some of your own."

What's not in it (yet)

The full Meta pipeline depends on Meta's custom metaprogramming tool (Editus) + Meta's custom symbol resolution. Those aren't open-source. Meta's stated plan is to port Android-specific postprocessing steps onto the J2K client hooks contributed upstream in the 2024 K2 port — moving off Meta's symbol resolution onto J2K's makes those steps portable enough to open-source. See patterns/upstream-collaboration-as-migration-unblock.

Seen in

Last updated · 319 distilled / 1,201 read