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
Deploy Apps in Seconds with Cloud Run Icon
Deploy Apps in Seconds with Cloud Run

Host and run your applications without the need to manage infrastructure. Scales up from and down to zero automatically.

Cloud Run is the fastest way to deploy containerized apps. Push your code in Go, Python, Node.js, Java, or any language and Cloud Run builds and deploys it automatically. Get fast autoscaling, pay only when your code runs, and skip the infrastructure headaches. Two million requests free per month. And new customers get $300 in free credit.
Try Cloud Run 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