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
$300 in Free Credit Towards Top Cloud Services Icon
$300 in Free Credit Towards Top Cloud Services

Build VMs, containers, AI, databases, storage—all in one place.

Start your project in minutes. After credits run out, 20+ products include free monthly usage. Only pay when you're ready to scale.
Get Started
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