107 रिपॉजिटरी
Processes for building and maintaining hierarchical syntax representations from source code.
Distinct from Trees: Distinct from Trees: focuses specifically on the construction of syntax trees from source code rather than general tree data structures.
Explore 107 awesome GitHub repositories matching software engineering & architecture · Syntax Tree Construction. Refine with filters or upvote what's useful.
jsoncrack.com is a JSON data visualization tool and interactive graph viewer that transforms JSON and other structured data formats into visual tree diagrams. It functions as a data syntax validator and a structured data converter for transforming information between JSON, YAML, XML, and CSV formats. The project includes a JSON schema generator that produces schema definitions and language-specific type definitions based on provided structured data. These capabilities automate type safety and ensure data integrity through schema generation. The tool provides broader capabilities for structur
Implements processes to build hierarchical syntax representations from source data for visualization.
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
Implements a visitor-based system for navigating and triggering callbacks on specific nodes within a syntax tree.
Tree-sitter is a parsing system and incremental parsing framework designed to generate high-performance syntax trees from source code. It functions as a language parsing engine that compiles formal grammar definitions into portable code, which can then be integrated into text editors and development tools to facilitate structural analysis, code navigation, and syntax highlighting. The project distinguishes itself through its ability to maintain valid, usable syntax tree structures even when source code contains syntax errors or incomplete fragments. It utilizes a generalized parsing algorithm
Constructs valid and usable syntax tree structures even when source code contains syntax errors or incomplete fragments.
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
Implements tools for modifying and rewriting syntax trees to perform linting and formatting tasks.
Flow is a JavaScript static type checker and AST parser that identifies type errors and prevents runtime failures through static annotations. It functions as a code intelligence engine and a static analysis linter to identify unsafe coding patterns and enforce consistency across a codebase. The project includes a type annotation stripper that removes static type signatures from source code, ensuring the resulting JavaScript is compatible with any runtime environment. It also provides a parser that converts typed JavaScript into an abstract syntax tree conforming to the ESTree specification.
Generates a syntax tree from typed JavaScript to facilitate analysis by external tools.
oxc is a high-performance JavaScript toolchain developed in Rust for parsing, transforming, and analyzing JavaScript and TypeScript source code. It provides a set of core utilities including a parser that converts code into an abstract syntax tree, a linter for identifying problematic patterns, a formatter for standardizing visual style, and a minifier for reducing production file sizes. The project focuses on high-performance execution through a system design that utilizes single-pass parsing, zero-copy string slicing, and parallel worker processing to handle large codebases. It further opti
Implements a biphasic system that separates syntax tree analysis from code generation to optimize transformation speed.
Wenyan is an esoteric programming language that enables the composition of functional logic using the grammar and vocabulary of classical Chinese literature. It functions as a source-to-source compiler, translating literary scripts into standard high-level programming languages such as JavaScript, Python, and Ruby to facilitate execution across diverse computing environments. The project distinguishes itself by bridging the gap between ancient linguistic structures and modern computational tasks. It utilizes a specialized transpilation process that maps classical grammatical particles and voc
Translates classical linguistic structures into abstract syntax trees for further processing.
The .NET Compiler Platform is a collection of open-source APIs for C# and Visual Basic that provides deep code analysis, refactoring, and automated source code generation. It serves as the core infrastructure for building development tools, offering a platform to inspect, modify, and understand source code through immutable syntax trees and semantic models. The platform distinguishes itself by providing full-fidelity syntax trees that preserve every character of source code, including whitespace and comments, alongside an incremental compilation pipeline that enables near-instant feedback dur
Parses source code into full-fidelity, immutable syntax trees that preserve every character including whitespace and comments.
SwiftLint is a static analysis tool and code formatter designed to enforce consistent coding styles and identify semantic issues within Swift source code. It functions as a command-line utility that evaluates code against established conventions to ensure uniform structure and architectural standards across a project. The tool distinguishes itself through a custom linting engine that leverages compiler-integrated syntax analysis to perform deep inspections of code structure. Beyond simple pattern matching, it supports automated source code transformation to correct formatting violations and r
Navigates source code syntax trees to perform deep structural inspections and logical checks.
ANTLR एक व्याकरण-आधारित कोड जनरेटर और मल्टी-लैंग्वेज पार्सर जनरेटर है जिसका उपयोग कस्टम भाषाओं को डिज़ाइन और कार्यान्वित करने के लिए किया जाता है। यह संरचित टेक्स्ट या बाइनरी फ़ाइलों को संसाधित करने के लिए औपचारिक भाषा परिभाषाओं को निष्पादन योग्य स्रोत कोड में बदलने के लिए एक टूलकिट के रूप में कार्य करता है, जबकि पदानुक्रमित पार्स ट्री को स्वचालित रूप से बनाने और पार करने के लिए एक फ्रेमवर्क प्रदान करता है। प्रोजेक्ट एक एकल साझा व्याकरण परिभाषा से विभिन्न लक्षित प्रोग्रामिंग भाषाओं में लेक्सर्स और पार्सर्स उत्पन्न करने की अपनी क्षमता द्वारा प्रतिष्ठित है। यह प्रत्यक्ष बाएं पुनरावृत्ति (left recursion) वाले व्याकरणों का समर्थन करता है और लचीलापन बनाए रखते हुए पार्सिंग गति को अनुकूलित करने के लिए अनुकूली भविष्यवाणी का उपयोग करता है। सिस्टम लेक्सिकल विश्लेषण, प्रेडिकेट मूल्यांकन के माध्यम से सिमेंटिक जांच, और पदानुक्रमित डेटा प्रबंधन सहित क्षमताओं की एक विस्तृत श्रृंखला को कवर करता है। यह व्याकरण लॉजिक को एप्लिकेशन कार्यों से अलग करने के लिए पाथ-आधारित क्वेरी और विज़िटर-लिसनर ट्रैवर्सल पैटर्न के माध्यम से पार्स ट्री विश्लेषण के लिए टूल प्रदान करता है। कमांड-लाइन यूटिलिटी व्याकरण परिभाषाओं और डीबगिंग लॉजिक का परीक्षण करने के लिए उपलब्ध हैं, और टूल को स्थानीय इंस्टॉलेशन से बचने के लिए Docker कंटेनरों के भीतर निष्पादित किया जा सकता है।
Provides a formal grammar parser generator that creates parsers capable of handling various grammar types.
Yoga is a cross-platform layout engine and embeddable core that determines the dimensions and offsets of hierarchical element trees. It provides a C++ implementation of the Flexbox layout model to calculate element positions and sizes based on web standards, ensuring a uniform appearance across diverse devices and operating systems. The engine is designed for portability via a C API, allowing the layout logic to be integrated into various host languages and platforms. It utilizes an incremental layout system that identifies modified subtrees and recalculates positions only for changed nodes a
Allows the creation and linking of nodes to establish a hierarchical structure for UI elements and styling.
CoffeeScript is a source-to-source transpiler that transforms a concise high-level syntax into standard JavaScript. It enables the development of logic for web applications and server-side environments by converting source code into a format compatible with browsers and server runtimes. The project provides a workflow for rapid prototyping and script execution automation, allowing users to run source files through a compiler and execute the resulting code immediately without a manual build step. The tooling leverages lexical analysis and abstract syntax tree transformations to manipulate cod
Implements syntax tree transformers to rewrite language constructs into JavaScript.
Rust-analyzer is a language server implementation that provides real-time code intelligence, static analysis, and development productivity tools for the Rust programming language. It functions as a backend engine that communicates with text editors to deliver deep structural understanding of source code, enabling features like semantic analysis, symbol navigation, and automated refactoring. The project distinguishes itself through a core engine designed for high-performance responsiveness, utilizing incremental query-based compilation and lazy demand-driven evaluation to minimize resource con
Constructs lossless syntax trees to preserve formatting and comments while enabling deep structural code analysis.
This project is a static analysis framework and linting engine designed to inspect TypeScript codebases. It functions as a plugin suite that enables standard linting workflows to parse source code into abstract syntax trees, allowing for the automated enforcement of coding standards and the identification of potential bugs through a modular, rule-based visitor pattern. The engine distinguishes itself by integrating directly with the TypeScript compiler to perform type-aware analysis. By accessing compiler type information, it can identify complex errors and unsafe patterns that standard synta
Uses recursive tree-walking mechanisms to execute analysis logic at every node of the syntax tree.
Awesome GraphQL is a curated directory and resource collection for the GraphQL ecosystem. It serves as a central index for developers to discover libraries, tools, and specifications required for building, testing, and managing data layer implementations across various programming languages. The repository provides access to a comprehensive range of utilities that support the entire GraphQL lifecycle. This includes resources for server-side API development, client-side integration, and schema management. It also highlights tools for security enforcement, such as rate limiting and input valida
Includes utilities for parsing and constructing syntax trees from GraphQL query strings.
This project is a comprehensive Python toolkit designed for natural language processing, research, and education. It functions as a linguistic data processor that provides a standardized framework for managing, cleaning, and analyzing large collections of annotated text corpora and lexical resources. The library distinguishes itself through its integration of both symbolic and statistical methods, allowing users to perform complex tasks ranging from rule-based grammar parsing to machine learning-driven classification. It offers a modular pipeline for text processing, enabling the transformati
Uses formal logic and syntactic constraints to map the hierarchical structure and grammatical relationships within complex sentences.
Prepack is a build-time code evaluator and JavaScript bundle optimizer. It functions as a static analysis compiler that pre-evaluates static code and precalculates function results and global assignments during the build phase to accelerate startup times and reduce bundle size. The project specifically targets JSX optimization by processing syntax and node serialization to improve user interface rendering efficiency. It utilizes a partial evaluation engine and static execution analysis to replace runtime computations with precalculated constants. The tool covers a range of capabilities inclu
Implements syntax tree transformations to inline expressions and strip type annotations during the build process.
YAPF एक पायथन कोड फ़ॉर्मेटर और स्टाइल अनुपालन टूल है। यह एक AST-आधारित रिफ़ॉर्मेटर के रूप में कार्य करता है जो स्रोत फ़ाइलों में संरचनात्मक स्थिरता और एक समान दृश्य प्रस्तुति सुनिश्चित करने के लिए कंक्रीट सिंटैक्स ट्री का उपयोग करता है। इंजन विभिन्न स्वरूपण विकल्पों के लिए संख्यात्मक लागत की गणना करके सर्वोत्तम लाइन ब्रेक निर्धारित करने के लिए दंड-आधारित लेआउट ऑप्टिमाइज़र का उपयोग करता है। यह कई फ़ाइलों के स्वरूपण को कई CPU कोर में वितरित करने के लिए एक मल्टी-प्रोसेस कोड प्रोसेसर का उपयोग करता है। टूल इन-प्लेस फ़ाइल संशोधनों, अंतर विश्लेषण और आंशिक कोड टुकड़ों के प्रसंस्करण के माध्यम से स्रोत कोड रिफ़ॉर्मेटिंग को कवर करता है। इसमें स्टाइल प्रीसेट, लेआउट नियमों और प्रोजेक्ट-स्तरीय सेटिंग्स को प्रबंधित करने के लिए एक नियम-आधारित कॉन्फ़िगरेशन सिस्टम शामिल है। एकीकरण क्षमताओं में निरंतर एकीकरण पाइपलाइनों के लिए स्टाइल अनुपालन सत्यापन, git हुक ऑटोमेशन, और एडिटर-आधारित फॉर्मेट-ऑन-सेव कार्यक्षमता शामिल है।
Reconstructs source code by modifying concrete syntax tree representations while preserving the original structural integrity.
This project provides an integration of Tree-sitter into the Neovim editor to enable structural code analysis. It serves as a framework for structural code navigation, context-aware syntax highlighting, and the management of language-specific parsers. The system distinguishes itself through a multi-language injection handler that identifies and parses embedded languages within a single document. It uses a dedicated parser manager to install, update, and remove grammar definitions and their associated query files. The tool covers several capability areas including incremental text selection,
Traverses the hierarchical structure of parsed source code to derive structural boundaries for indentation and folding.
Spring-analysis is a diagnostic utility designed to visualize the internal architecture and execution logic of Java applications built on the Spring Framework. It functions as a static analysis tool that parses source code to map structural relationships and component interactions without requiring the program to execute. The tool distinguishes itself by automatically extracting configuration and annotation data to identify beans and service definitions, which it then translates into visual representations of the system. By reconstructing method call hierarchies and event propagation paths, i
Navigates source code nodes to extract structural information and logic flow details without execution.