9 مستودعات
Parsing strategies that convert source text into structured representations in one traversal to minimize overhead.
Distinct from Single-Pass Compilation: Focuses on the efficiency of the initial parsing pass specifically for source code analysis, rather than final bytecode compilation.
Explore 9 awesome GitHub repositories matching programming languages & runtimes · Single-Pass Parsing. Refine with filters or upvote what's useful.
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
Provides single-pass parsing with integrated error recovery for resilient and efficient source code analysis.
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
Uses a single-pass parsing strategy to build abstract syntax trees with minimal memory overhead.
Esprima is a JavaScript parser that converts source code into a structured abstract syntax tree. It implements a specification-driven grammar to ensure compliance with ECMAScript standards, enabling the programmatic analysis and transformation of JavaScript programs. The project provides capabilities for lexical tokenization to break source code into individual symbols and static syntax validation to verify that scripts are well-formed without executing the code. Its functional surface covers JavaScript static analysis, lexical analysis, and the generation of abstract syntax trees.
Employs a single-pass parsing strategy to generate a structural representation of the program in one traversal.
PHP-Console-Highlighter هو أداة تمييز الصيغة ومنسق كود للطرفية مصمم لتطبيق تلوين كود مصدر PHP للعرض في بيئات الطرفية. يعمل كأداة لتحويل نص PHP العادي إلى كود مهيكل بصرياً لواجهات سطر الأوامر. تتيح الأداة مراجعة الكود القائمة على الطرفية وتوفر مخرجات منسقة لأدوات التحليل الساكن لـ PHP وتطبيقات سطر الأوامر. يستخدم تقسيم الرموز القائم على التعبيرات النمطية (regex) وتعيين ألوان تسلسل ANSI لترجمة رموز الصيغة إلى نص ملون.
Employs a single forward pass to efficiently replace plain text with colored sequences.
TinyXML-2 هي مكتبة C++ خفيفة الوزن لتحليل ومعالجة وتوليد مستندات XML. تعمل كمعالج XML بترميز UTF-8 يمثل البيانات من خلال نموذج كائن مستند هرمي (DOM). توفر المكتبة أدوات لكل من تحليل DOM وتوليد المستندات المباشر عبر تدفقات البيانات. تتضمن قدرات للتنقل في شجرة XML لتحديد عناصر معينة، وتعديل السمات والمحتوى، وحل كيانات الأحرف والمراجع الرقمية Unicode إلى نص UTF-8. يتضمن المعالج أدوات للتحقق من الصيغة والتشخيص التي تتتبع بيانات وصفية لرقم السطر لكل عقدة وسمة للإبلاغ عن إحداثيات دقيقة لأخطاء التحليل.
Employs a single-pass parsing strategy to transform raw XML text into an internal object model efficiently.
UltraJSON هي مكتبة JSON عالية الأداء ومحلل مكتوب بلغة C مع روابط لـ Python. توفر بديلاً سريعاً لمعالجة JSON القياسية لفك تشفير سلاسل JSON إلى هياكل بيانات أصلية وتشفير هياكل البيانات مرة أخرى إلى سلاسل JSON. تستخدم المكتبة محركاً يعتمد على C لتقليل زمن انتقال المعالجة وزيادة الإنتاجية لإنشاء وتحليل JSON. وهي مصممة لتسريع خطوط أنابيب البيانات وتحسين التعامل مع حمولات JSON.
Processes input characters in a single linear scan to minimize memory access.
msgspec is a high-performance data modeling, serialization, and schema validation toolkit for Python. It serves as a type-safe serialization framework that integrates schema enforcement and data parsing into a single pass, functioning as both a data serialization library and a schema validation system based on standard Python type annotations. The project distinguishes itself through high-performance structural primitives, including compilation-based routine generation and zero-copy buffer parsing. It optimizes memory usage via garbage collection-aware layouts and reduces processing overhead
Integrates data deserialization and schema validation into a single pass to eliminate redundant processing overhead.
tinyobjloader is a header-only C++ library for parsing Wavefront OBJ and MTL files. It extracts 3D mesh geometry, shape topology, and material definitions into memory, supporting the conversion of formatted text strings or files into vertex, normal, and texture coordinate data structures. The library provides a triangulation pipeline that converts complex, multi-vertex polygons into triangles using 2D projection and ear-clipping algorithms. It supports physically based rendering setups by extracting PBR material parameters and texture maps from material library files. To handle large dataset
Reads input streams in a single linear pass to minimize memory overhead and reduce topology reconstruction time.
yyjson is a high-performance C library for parsing, serializing, and manipulating JSON data structures. It functions as a memory-efficient data tool that utilizes custom memory pools and contiguous block allocation to minimize fragmentation and overhead. The project distinguishes itself as a SIMD JSON processor, using hardware-accelerated vector instructions for rapid string validation and parsing. It provides a toolkit for querying, modifying, and patching nested JSON objects and arrays through pointer-based access and path expressions. The library covers a broad range of data manipulation
Implements a single-pass parsing strategy to convert JSON text into structured representations with minimal overhead.