Java abstract-syntax-tree

Open-source Java projects categorized as abstract-syntax-tree

Top 5 Java abstract-syntax-tree Projects

  • JavaParser

    Java 1-18 Parser and Abstract Syntax Tree for Java with advanced analysis functionalities.

  • rewrite

    Automated mass refactoring of source code.

  • Project mention: FLaNK Weekly 31 December 2023 | dev.to | 2023-12-31
  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • 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.

  • Project mention: Release Radar · April 2024 Edition: Major updates from the open source community | dev.to | 2024-05-03

    The creators at Spoon claim that "🥄 is made with ❤️, 🍻 and ✨"! And why not?! Spoon is a metaprogramming library to analyze and transform Java source code by parsing source files to build a well-designed AST (Abstract Syntax Tree). The latest version supports Java 17 and the modelling of receiver parameters has been changed. Read all about the changes in the release notes.

  • gumtree

    An awesome code differencing tool

  • Project mention: Pijul: Version-Control Post-Git • Goto 2023 | news.ycombinator.com | 2023-08-11

    I'm not familiar with Pijul, and haven't finished watching this presentation, but IME the problems with modern version control tools is that they still rely on comparing lines of plain text, something we've been doing for decades. Merge conflicts are an issue because our tools are agnostic about the actual content they're tracking.

    Instead, the tools should be smarter and work on the level of functions, classes, packages, sentences, paragraphs, or whatever primitive makes sense for the project and file that is being changed. In the case of code bases, they need to be aware of the language and the AST of the program. For binary files, they need to be aware of the file format and its binary structure. This would allow them to show actually meaningful diffs, and minimize the chances of conflicts, and of producing a corrupt file after an automatic merge.

    There has been some research in this area, and there are a few semantic diffing tools[1,2,3], but I'm not aware of this being widely used in any VCS.

    Nowadays, with all the machine learning advances, the ideal VCS should also use ML to understand the change at a deeper level, and maybe even suggest improvements. If AI can write code for me, it could surely understand what I'm trying to do, and help me so that version control is entirely hands-free, instead of having to fight with it, and be constantly aware of it, as I have to do now.

    I just finished watching the presentation, and Pijul seems like an iterative improvement over Git. Nothing jumped out at me like a killer feature that would make me want to give it a try. It might be because the author focuses too much on technical details, instead of taking a step back and rethinking what a modern VCS tool should look like today.

    [1]: https://semanticdiff.com/

    [2]: https://github.com/trailofbits/graphtage

    [3]: https://github.com/GumTreeDiff/gumtree

  • error-prone-support

    Error Prone extensions: extra bug checkers and a large battery of Refaster rules.

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

Java abstract-syntax-tree related posts

  • OpenRewrite – Automated mass refactoring of source code

    1 project | news.ycombinator.com | 19 Dec 2023
  • We already have Spring 2.1.3, Is SpringBoot 3 worth learning.

    1 project | /r/java | 4 Jul 2023
  • Why wouldn't somebody change their version?

    1 project | /r/java | 23 Mar 2023
  • Any ideas on how to automate upgrade of legacy Spring Framework/Spring Boot repositories?

    2 projects | /r/SpringBoot | 26 Feb 2023
  • Refactoring giant codebase

    1 project | /r/java | 30 Jan 2023
  • What are your thoughts on Spring in 2023?

    2 projects | /r/java | 27 Jan 2023
  • Any experience with Jsparrow?

    1 project | /r/java | 20 Jan 2023
  • A note from our sponsor - InfluxDB
    www.influxdata.com | 23 May 2024
    Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality. Learn more →

Index

What are some of the best open-source abstract-syntax-tree projects in Java? This list will help you:

Project Stars
1 JavaParser 5,256
2 rewrite 1,912
3 Spoon 1,680
4 gumtree 871
5 error-prone-support 168

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com