Spoon is an open-source library to analyze, rewrite, transform, transpile Java source code. It parses source files to build a well-designed AST with powerful analysis and transformation API. It supports modern Java versions up to Java 20. Spoon is an official Inria open-source project, and member of the OW2 open-source consortium.

Features

  • The Spoon metamodel is as close as possible to the language concepts
  • The Spoon model of a program is complete and sound
  • The text version of a Spoon model is well-formed and semantically equivalent to the original program
  • The analysis and transformation API is intuitive and regular
  • Transformation operators are designed to warn as fast as possible about invalid programs
  • When feasible, the text version of a Spoon model is close to the original one

Project Samples

Project Activity

See All Activity >

Categories

Libraries

License

MIT License

Follow Spoon

Spoon Web Site

Other Useful Business Software
Fully Managed MySQL, PostgreSQL, and SQL Server Icon
Fully Managed MySQL, PostgreSQL, and SQL Server

Automatic backups, patching, replication, and failover. Focus on your app, not your database.

Cloud SQL handles your database ops end to end. Migrate from on-prem or other clouds with free migration tools.
Try Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Spoon!

Additional Project Details

Programming Language

Java

Related Categories

Java Libraries

Registered

2023-08-18