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
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start 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