Recast is a JavaScript AST parser and printer designed for automated code refactoring. It converts source code into abstract syntax trees that can be modified and then printed back into source code. The project focuses on formatting-preserving transformations, storing original whitespace and indentation metadata within syntax tree nodes to reconstruct code without losing its original layout. It also generates character-level source maps to maintain precise correspondences between original input and transformed output. The toolkit includes utilities for syntax tree manipulation using a visito
This project is a static analysis linter, code quality tool, and language auditor for Rust. It functions as an automated refactoring system designed to identify common mistakes and suggest idiomatic improvements for Rust source code. The tool identifies non-idiomatic patterns, performance bottlenecks, and code smells to improve the overall correctness and quality of the code. It specifically audits memory safety by flagging suspicious use of unsafe blocks and pointer manipulations and detects inefficient operations to optimize execution speed. The analysis surface covers coding style enforce
Rector is an automated PHP refactoring and modernization tool designed to upgrade language versions and modernize syntax using predefined rules. It functions as a static analysis engine that inspects code structures and types to identify refactoring targets without executing the code. The project provides a framework for defining custom transformation logic to automate project-specific changes. It distinguishes itself by offering specialized capabilities for migrating legacy or custom frameworks to modern alternatives and converting docblock annotations into native language attributes. The s
pycparser is a C99 parser library that converts C source code into an abstract syntax tree consisting of Python objects. It functions as an abstract syntax tree generator, transforming preprocessed C code into a structured hierarchy for programmatic analysis and transformation. The library integrates with a C preprocessor to handle directives before parsing. It also features a stub header parser, which uses minimal mock headers to allow the parsing of C code without requiring a full system C library installation. The project provides tools for static code analysis, C program analysis, and so
ts-morph este o bibliotecă de manipulare AST pentru TypeScript și un wrapper de nivel înalt pentru API-ul compilatorului TypeScript. Oferă o interfață programatică pentru analizarea, modificarea și generarea codului sursă TypeScript, servind drept instrument pentru refactorizarea automată a codului și generarea de cod sursă.
Principalele funcționalități ale dsherret/ts-morph sunt: Compiler API Wrappers, Automated Code Refactoring, Type-Checker Integrations, Structural Code Navigation, AST Manipulation Libraries, Code Generation Toolsets, Programmatic Code Refactoring, TypeScript Source Transformers.
Alternativele open-source pentru dsherret/ts-morph includ: benjamn/recast — Recast is a JavaScript AST parser and printer designed for automated code refactoring. It converts source code into… rectorphp/rector — Rector is an automated PHP refactoring and modernization tool designed to upgrade language versions and modernize… rust-lang/rust-clippy — This project is a static analysis linter, code quality tool, and language auditor for Rust. It functions as an… eliben/pycparser — pycparser is a C99 parser library that converts C source code into an abstract syntax tree consisting of Python… hylang/hy — Hy is a Lisp implementation for Python that allows for writing Lisp syntax which compiles to Python bytecode. It… yangyangwithgnu/use_vim_as_ide — This project is a Vim IDE configuration and plugin suite designed to transform the Vim text editor into a full…