3 مستودعات
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 هو محرك معالجة شجرة بناء الجملة ونظام بيئي للمحتوى مصمم لتحليل وتحويل وتسلسل محتوى النص. يعمل كخط أنابيب محتوى قائم على الإضافات يحول النص الخام إلى أشجار بناء جملة مجردة منظمة باستخدام كائنات JavaScript عادية للفحص والتعديل البرمجي. يتميز المشروع ببنية نمطية تمكن من الترجمة عبر النظام البيئي، مما يسمح بتحويل أشجار بناء الجملة بين مواصفات مختلفة مثل HTML و Markdown. يستخدم نظامًا لاستنساخ المعالج غير القابل للتغيير وحاويات الحالة المشتركة، مما يضمن إمكانية توسيع وتخصيص خطوط أنابيب المعالجة دون تغيير التكوينات الأصلية. يوفر النظام قدرات شاملة لإدارة شجرة بناء الجملة، بما في ذلك الاجتياز من العمق أولاً، واختيار العقدة القائم على CSS، والتحويلات العودية. يمتد سطح معالجته إلى تحليل اللغة الطبيعية، وتحليل GitHub Flavored Markdown، ورسم خرائط أشجار بناء الجملة إلى عناصر DOM افتراضية لتصور المتصفح. يمكن دمج منطق المعالجة في تطبيقات الويب عبر مجمعات الوحدات أو شبكات توصيل المحتوى (CDNs).
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.