3 Repos
Tools for modifying or transforming existing syntax trees into new representations.
Distinct from Syntax Traversal: Distinct from Syntax Traversal: focuses on modifying nodes rather than just navigating them.
Explore 3 awesome GitHub repositories matching software engineering & architecture · Syntax Tree Mutation. Refine with filters or upvote what's useful.
Unified ist eine Syntaxbaum-Verarbeitungs-Engine und ein Content-Ökosystem, das entwickelt wurde, um Textinhalte zu parsen, zu transformieren und zu serialisieren. Es fungiert als Plugin-basierte Content-Pipeline, die Rohtext in strukturierte abstrakte Syntaxbäume (ASTs) unter Verwendung einfacher JavaScript-Objekte für die programmatische Inspektion und Modifikation konvertiert. Das Projekt zeichnet sich durch eine modulare Architektur aus, die eine ökosystemübergreifende Übersetzung ermöglicht, wodurch Syntaxbäume zwischen verschiedenen Spezifikationen wie HTML und Markdown konvertiert werden können. Es nutzt ein System aus unveränderlichem Prozessor-Cloning und geteilten Zustandscontainern, wodurch sichergestellt wird, dass Verarbeitungspipelines erweitert und angepasst werden können, ohne die ursprünglichen Konfigurationen zu verändern. Das System bietet umfassende Funktionen für das Syntaxbaum-Management, einschließlich Depth-First-Traversierung, CSS-basierter Knotenauswahl und rekursiver Transformationen. Die Verarbeitungsoberfläche erstreckt sich auf die Analyse natürlicher Sprache, das Parsen von GitHub Flavored Markdown und die Abbildung von Syntaxbäumen auf virtuelle DOM-Elemente für die Browser-Visualisierung. Die Verarbeitungslogik kann über Modul-Bundler oder CDNs in Webanwendungen integriert werden.
Transforms content structure by removing specific nodes or replacing them with children.
syn is a Rust syntax tree parser and token stream converter. It serves as a toolkit for procedural macro development, providing a framework to parse Rust source code into structured syntax trees for analysis and transformation. The project enables the manipulation of Rust abstract syntax trees through specialized visitor and folder patterns for traversing and mutating nodes. It provides a bidirectional mapping that allows developers to convert token streams into structured trees and print those trees back into tokens for code generation. The library covers a broad range of syntax analysis ca
Traverses syntax trees to modify nodes in place or transform them into new owned trees.
The project provides a standardized abstract syntax tree specification and utility library for parsing, transforming, and serializing markdown documents. It serves as a comprehensive document processing architecture that translates between raw text markup and structured node representations in both directions. The capability surface covers syntax parsing for extended markdown features, custom syntax extensions, metadata blocks, and embedded expressions, alongside document serialization that converts syntax trees back into standard and extended markup formats. It includes node modeling and val
Merges adjacent text nodes and block quotes to reduce redundancy and simplify syntax tree structures.