INRIA/spoon

Spoon is a metaprogramming library to analyze and transform Java source code. :spoon: is made with :heart:, :beers: and :sparkles:. It parses source files to build a well-designed AST with powerful analysis and transformation API.

71
/ 100
Verified

Spoon provides fine-grained code analysis and transformation through a metamodel designed to mirror Java language concepts directly, with strict validation ensuring transformed code remains semantically equivalent to the original. It supports source-to-source transpilation across Java versions up to Java 25, enabling use cases in program synthesis, test generation, and automated refactoring. The library integrates seamlessly into Maven-based build pipelines and is frequently adopted in academic research for code analysis infrastructure.

1,907 stars. Actively maintained with 20 commits in the last 30 days.

No Package No Dependents
Maintenance 20 / 25
Adoption 10 / 25
Maturity 16 / 25
Community 25 / 25

How are scores calculated?

Stars

1,907

Forks

380

Language

Java

License

Last pushed

Mar 19, 2026

Commits (30d)

20

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/ai-coding/INRIA/spoon"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.