This project is a unified toolchain for JavaScript and TypeScript development, providing a suite of specialized tools for bundling, parsing, linting, and formatting source code. The toolchain is implemented in Rust and utilizes a shared internal representation to allow multiple tools to operate on the same parsed source code. It employs a parallelized analysis pipeline and single-pass parsing with error recovery to process files across CPU cores. The suite covers several core capability areas, including static analysis for identifying programmatic errors, automated style standardization, and
ESTree is a formal schema and set of object interfaces used to represent JavaScript source code as a standardized abstract syntax tree. It serves as a common tree format and parser standard to ensure interoperability between different JavaScript parsers and transformation tools. The specification provides a consistent way to model language constructs, including statements, expressions, and module declarations. It includes detailed representations for modern language features such as classes, private identifiers, and short-circuiting logic like nullish coalescing and optional chaining. The pr
ts-morph is a TypeScript AST manipulation library and a high-level wrapper for the TypeScript compiler API. It provides a programmatic interface for analyzing, modifying, and generating TypeScript source code, serving as a tool for automated code refactoring and source code generation. The library simplifies the process of navigating and inspecting project structures by offering an object-oriented abstraction over the underlying compiler API. It allows for the programmatic transformation of existing codebases to automate structural updates and bulk code migrations. Its capabilities cover sta
Babel is a pluggable JavaScript compiler and transpiler that converts modern ECMAScript syntax into backwards-compatible versions of the language. It functions as an abstract syntax tree manipulator, parsing source code into a hierarchical structure to traverse and modify nodes for custom code transformations. The system utilizes a plugin-driven architecture to apply specific transformation rules and supports presets that bundle multiple plugins into named configuration groups. This enables the transformation of experimental syntax and the injection of non-global polyfills to ensure consisten
AST Explorer هو أداة قائمة على الويب لتحليل الكود المصدري إلى أشجار بناء جملة مجردة (AST) وتصور هيكل الشجرة الناتج. يعمل كمفتش للكود وملعب للتحويل، مما يسمح للمستخدمين باستكشاف التمثيل الهيكلي للغات برمجة مختلفة من خلال واجهة متصفح تفاعلية.
الميزات الرئيسية لـ fkling/astexplorer هي: Abstract Syntax Tree Visualizers, AST Visualization, Transformation Playgrounds, Transformation Prototyping, Source Parsers, AST Node Location Mapping, AST-to-Source Mappings, Structural Code Inspectors.
تشمل البدائل مفتوحة المصدر لـ fkling/astexplorer: rome/tools — This project is a unified toolchain for JavaScript and TypeScript development, providing a suite of specialized tools… estree/estree — ESTree is a formal schema and set of object interfaces used to represent JavaScript source code as a standardized… benjamn/recast — Recast is a JavaScript AST parser and printer designed for automated code refactoring. It converts source code into… dsherret/ts-morph — ts-morph is a TypeScript AST manipulation library and a high-level wrapper for the TypeScript compiler API. It… babel/babel — Babel is a pluggable JavaScript compiler and transpiler that converts modern ECMAScript syntax into… acornjs/acorn — Acorn is a JavaScript parser that converts source text into a structured abstract syntax tree. It follows the ESTree…