All Projects → openrewrite → Rewrite

openrewrite / Rewrite

Licence: apache-2.0
Semantic code search and transformation

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to Rewrite

vscode-blockman
VSCode extension to highlight nested code blocks
Stars: ✭ 233 (+73.88%)
Mutual labels:  ast, abstract-syntax-tree
tsquery-playground
Playground for TSQuery
Stars: ✭ 30 (-77.61%)
Mutual labels:  ast, abstract-syntax-tree
coAST
Universal and language-independent abstract syntax tree
Stars: ✭ 30 (-77.61%)
Mutual labels:  ast, abstract-syntax-tree
codeparser
Parse Wolfram Language source code as abstract syntax trees (ASTs) or concrete syntax trees (CSTs)
Stars: ✭ 84 (-37.31%)
Mutual labels:  ast, abstract-syntax-tree
Rector
Instant Upgrades and Automated Refactoring of any PHP 5.3+ code
Stars: ✭ 4,739 (+3436.57%)
Mutual labels:  ast, refactoring
abstract-syntax-tree
A library for working with abstract syntax trees.
Stars: ✭ 77 (-42.54%)
Mutual labels:  ast, abstract-syntax-tree
astra
Astra: a Java tool for analysing and refactoring Java source code
Stars: ✭ 35 (-73.88%)
Mutual labels:  refactoring, ast
Vermin
Concurrently detect the minimum Python versions needed to run code
Stars: ✭ 218 (+62.69%)
Mutual labels:  ast, abstract-syntax-tree
I18nize React
Internationalize react apps within a lunch break
Stars: ✭ 389 (+190.3%)
Mutual labels:  ast, abstract-syntax-tree
Javaparser
Java 1-15 Parser and Abstract Syntax Tree for Java, including preview features to Java 13
Stars: ✭ 3,972 (+2864.18%)
Mutual labels:  ast, abstract-syntax-tree
Typo3 Rector
Rector for TYPO3
Stars: ✭ 107 (-20.15%)
Mutual labels:  ast, refactoring
Deps Report
Generate reports about dependencies and dependents of your JavaScript/TypeScript files through an AST. It supports import and require statements.
Stars: ✭ 76 (-43.28%)
Mutual labels:  ast, abstract-syntax-tree
open-fortran-parser-xml
XML output generator for Open Fortran Parser, and Python wrapper for it.
Stars: ✭ 21 (-84.33%)
Mutual labels:  ast, abstract-syntax-tree
CastXMLSuperbuild
Build CastXML and its dependencies (LLVM/Clang)
Stars: ✭ 32 (-76.12%)
Mutual labels:  ast, abstract-syntax-tree
awesome-ruby-ast
A list of awesome tools and libraries which deals with ASTs in Ruby
Stars: ✭ 24 (-82.09%)
Mutual labels:  ast, abstract-syntax-tree
verilogAST-cpp
C++17 implementation of an AST for Verilog code generation
Stars: ✭ 14 (-89.55%)
Mutual labels:  ast, abstract-syntax-tree
React Ast
render abstract syntax trees with react
Stars: ✭ 160 (+19.4%)
Mutual labels:  ast, abstract-syntax-tree
Bellybutton
Custom Python linting through AST expressions
Stars: ✭ 196 (+46.27%)
Mutual labels:  ast, abstract-syntax-tree
ast-builder
Build your ASTs directly from code
Stars: ✭ 18 (-86.57%)
Mutual labels:  ast, abstract-syntax-tree
Spoon
Spoon is a metaprogramming library to analyze and transform Java source code (up to Java 15). 🥄 is made with ❤️, 🍻 and ✨. It parses source files to build a well-designed AST with powerful analysis and transformation API.
Stars: ✭ 1,078 (+704.48%)
Mutual labels:  ast, abstract-syntax-tree

Logo

Semantic code search and transformation

ci Apache 2.0 Maven Central

The Rewrite project is a mass refactoring ecosystem for Java and other source code, designed to eliminate technical debt across an engineering organization. It consists of a platform of prepackaged refactoring recipes for common framework migration and stylistic consistency tasks in Java, ready for you to apply in your build via Maven or Gradle plugins.

Read the full documentation at docs.openrewrite.org.

Feel free to join us on Slack!

Building & Developing Openrewrite

We use Gradle to build this project. The gradle wrapper checked into this project defines the gradle version to use.
When building from the command line invoke the wrapper with ./gradlew build on unix-style terminals and gradlew build on windows-style terminals.

CLI Environment Configuration:

  • JDK version: 11
  • JDK language & bytecode level: 1.8
  • Gradle version: Defined in wrapper
  • Kotlin version: 1.4
  • Kotlin language level: 1.4
  • Kotlin JVM bytecode level: 1.8

IDE Configuration

We use IntellJ IDEA to develop this project. Other IDEs or versions of this IDE can be made to work. These are one set of versions we know works:

  • IDEA version: 2020.3.2

You must set the -parameters compiler flag to run Rewrite tests. Add this to the "additional command line parameters" field in Intellij -> Preferences -> Build, Execution, Deployment -> Compiler -> Java Compiler.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].