61 مستودعات
Converting textual representations (string slices) into structured data types.
Distinct from String Converters: Focuses on parsing (string to type) rather than the inverse (type to string) or memory optimization of slices.
Explore 61 awesome GitHub repositories matching programming languages & runtimes · String Parsing. Refine with filters or upvote what's useful.
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
Converts raw JavaScript and TypeScript source code into abstract syntax trees for analysis and modification.
jsdom is a Node.js implementation of web standards that functions as a headless browser emulator. It provides a JavaScript execution environment and an HTML and XML parser to simulate a browser environment on the server side, implementing various web APIs and W3C standards. The project distinguishes itself by providing a sandboxed runtime for executing scripts embedded in HTML or external files. It includes specialized polyfills for the Canvas API and manages session state through HTTP cookie management. Its broader capabilities cover network interaction via request interception and resource
Parses HTML and XML strings into in-memory document trees for programmatic traversal and manipulation.
This project is a UUID generation library providing a standards-compliant implementation of RFC 4122. It serves as a tool for creating and validating universally unique identifiers across multiple versions to ensure global uniqueness and prevent data collisions. The library supports several generation methods, including random-based entropy, timestamp sequencing, and namespace-based hashing. It also includes utilities for identifier validation, parsing, and converting identifiers between hexadecimal string representations and binary byte arrays. A command line utility is included for the man
Converts UUID strings into 16-byte arrays for programmatic manipulation and validation.
goquery is a Go HTML parsing library and CSS selector engine used to isolate and retrieve specific text or attributes from HTML documents. It functions as an HTML DOM manipulator that converts raw HTML strings into a structured tree for programmatic navigation and search. The library provides a fluent interface for chaining selection and filtering operations and utilizes a wrapper-based abstraction to simplify data extraction and manipulation of nodes. It employs an iterator-based processing mechanism to apply operations to every node within a matched selection. Its primary capabilities cove
Parses HTML strings into in-memory document trees for programmatic traversal and search.
Chameleon is a color framework for Swift and Objective-C applications. It provides systems for programmatic color palette generation, global theme orchestration, hexadecimal conversion, and the extraction of visual data from images. The library includes a dynamic theme engine for applying global visual styles and luminance adjustments across an interface. It features a palette generator for creating analogous, complementary, and triadic color schemes based on a seed color, and an image color extractor to derive average colors or palettes from images. The framework covers a range of color man
Converts hex-formatted color strings into RGBA components, including support for alpha transparency.
Chameleon is a color framework for Swift and Objective-C applications, providing a toolkit for managing dynamic palettes, gradient libraries, and hexadecimal conversions. It functions as a system for creating harmonious color schemes and calculating contrasting text colors based on background luminance. The project includes an image color extractor that analyzes images to generate matching color schemes or calculate average colors for user interfaces. It also features a gradient color library for creating and applying smooth transitions to backgrounds and text elements. The framework covers
Translates hex-formatted strings into RGBA color components using string slicing and integer conversion.
Clojure is a general-purpose, functional programming language hosted on the Java Virtual Machine. It is a homoiconic S-expression language that represents programs as nested data structures, allowing code to be manipulated and evaluated as data. The project provides a framework for JVM interoperability, enabling the invocation of Java methods and integration with other JVM-based languages. It distinguishes itself through a persistent data structure library that uses bitmapped vector tries to manage immutable collections and a programmatic REPL for interactive software development and real-tim
Converts textual string representations into structured numeric or boolean data types with safe null handling.
Gop هي لغة برمجة للأغراض العامة ومترجم متعدد اللغات مصمم لتوحيد الأصول والمكتبات من أنظمة برمجة متعددة في بيئة مشتركة واحدة. تترجم كود المصدر عالي المستوى إلى ملفات ثنائية قابلة للتنفيذ باستخدام خلفيات متخصصة مصممة لبيئات مستهدفة مختلفة. يتميز المشروع بنظام لبرمجة اللغات الطبيعية، حيث يحول التعليمات البشرية المكتوبة باللغة الإنجليزية البسيطة إلى كود قابل للتنفيذ. كما يعمل كأداة متعددة اللغات تستورد وتدمج المكتبات والأصول الخارجية من أنظمة لغات مختلفة أثناء عملية التجميع. تتضمن قدرات اللغة إطار عمل ويب يعتمد على الملفات يربط أسماء الملفات بنقاط نهاية API، ومحلل HTML يعتمد على DOM لاستخراج البيانات، ومحرك ألعاب ثنائي الأبعاد يعتمد على الممثلين (actor-based) يستخدم أنظمة حوار قائمة على الأحداث. بالإضافة إلى ذلك، توفر بناء جملة مبسطاً لتنفيذ أوامر shell والبرامج النصية الإدارية لأتمتة مهام DevOps.
Parses HTML content into in-memory document trees for data extraction and manipulation.
ReflectionDocBlock is a PHP docblock parser and doc-comment metadata extractor. It functions as a reflection wrapper that extends the standard PHP Reflection API to convert raw documentation blocks into structured objects. The library provides tools for PHP documentation parsing and reflection tooling. It enables the extraction of structured metadata and annotations from reflection objects or raw doc-comment strings to support automated API documentation and static code analysis.
Extracts structured documentation and metadata by analyzing doc-comments from reflection objects or raw strings.
This project is an interactive programming education resource and tutorial designed for learning the Rust programming language and systems programming concepts. It provides a collection of runnable and editable code examples that serve as a practical reference for language syntax and implementation. The resource features an interactive code sandbox that allows users to execute and test code snippets in real time. It emphasizes the verification of technical accuracy by executing embedded code blocks during the build process to ensure all examples remain functional. The content covers a compre
Provides examples of parsing string slices into specific numeric or custom types.
decimal.js is a JavaScript arbitrary precision library designed to perform mathematical calculations without the rounding errors associated with standard floating-point numbers. It provides a high-precision math toolkit for executing basic arithmetic and advanced transcendental functions with configurable significant digits. The library implements decimal-based math that supports various rounding modes and arbitrary precision settings. It includes a numeric string parser for converting decimal, hexadecimal, binary, and octal strings into high-precision numeric types, as well as a utility for
Parses strings formatted in decimal, binary, hexadecimal, or octal notations into high-precision decimal instances.
This is an arbitrary-precision decimal library and fixed-point math implementation used to eliminate floating-point rounding errors. It provides tools for high-precision arithmetic, a numerical analysis toolkit, and a database decimal mapper to ensure numerical accuracy in financial and scientific calculations. The library includes specialized serialization tools to transform high-precision numbers into SQL database types, JSON, and XML formats without losing precision. It also implements a variety of rounding strategies, including banker and cash rounding, and provides mechanisms for decimal
Converts textual numeric input into internal fixed-point formats using string analysis and regular expressions.
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.
Performs lexical analysis to break JavaScript source code into tokens for processing tools.
JSON5 is a parser and serializer for a human-readable configuration format that extends JSON. It serves as a JavaScript-based data parser that allows for a more flexible version of the JSON specification to simplify manual editing of data files. The project provides capabilities to support comments, trailing commas, and multi-line strings. It includes utilities to convert this extended syntax into standard JSON for compatibility with tools requiring strict specifications. The library covers data serialization, string parsing, and structural syntax validation. It also provides integration for
Provides capabilities to parse formatted JSON5 strings into structured JavaScript data objects.
Hamcrest PHP is a declarative assertion framework and matcher library used for unit testing in PHP. It provides a set of flexible matchers to verify object states, data types, and collection contents. The library includes specialized tools for XML verification using XPath expressions to analyze document structures and element content. It also allows for the creation of complex validation rules by combining multiple independent matchers through logical operators. The framework covers a broad range of validation primitives, including string content inspection, numeric comparison, and object pr
Uses XPath expressions to analyze and verify the structure and content of XML documents in PHP applications.
Goja is a JavaScript engine and ECMAScript compliant interpreter implemented entirely in Go. It serves as an embedded scripting engine that allows Go applications to execute JavaScript code and integrate a programmable scripting layer without relying on Cgo or external native dependencies. The project functions as a bridge between Go and JavaScript, enabling bidirectional data exchange and function invocation. It allows Go hosts to expose native structs, slices, and maps as JavaScript objects and arrays, while providing mechanisms to export script values and functions back into native Go type
Converts textual representations of integers and floating-point numbers into numeric values using standard parsing rules.
This project is a PHP docblock annotation parser and reflection metadata tool designed to extract structured metadata from doc-comments and convert them into class instances. It functions as a system for retrieving and managing custom metadata attached to classes, methods, and properties. The library includes a metadata caching system to store parsed results, which reduces the performance overhead associated with repeated reflection calls and string parsing. It also serves as a static analysis utility for validating source code structure and enforcing coding standards through automated docblo
Parses structured documentation comments into usable PHP objects for application logic.
Nokogiri is an XML and HTML parsing library that builds navigable document trees from strings, files, or URLs using native C parsers for speed and standards compliance. It provides a CSS selector engine that translates CSS3 selectors into XPath expressions for querying nodes, an XPath query interface with namespace support, a document manipulation toolkit for modifying parsed documents, XSD schema validation, and XSLT transformation capabilities. The library wraps libxml2 and libxslt C libraries with Ruby bindings for high-performance parsing, and integrates Google's Gumbo parser for standard
Read XML, HTML4, or HTML5 content from a string or file and build an in-memory tree for traversal and manipulation.
Magic Enum is a C++ library that provides compile-time reflection for enumerations, enabling conversion between enum values and their string names, iteration over enum members, and validation of enum values without relying on macros or external code generation. It uses template metaprogramming and constexpr functions to extract enum information directly from the compiler's internal representation, making the entire reflection process static and free of runtime overhead. The library distinguishes itself through its comprehensive set of compile-time enum utilities, including the ability to coun
Parses string representations back into C++ enum values with case-insensitive and custom matching rules.
This is an RFC 4122 UUID package for Go that generates, parses, and validates universally unique identifiers. It provides a library for creating UUIDs that conform to standard formatting rules, along with utilities for inspecting UUID properties such as variant, version, and nil status. The package supports DCE 1.1 Security Extension UUID generation and parsing, and includes byte-level UUID construction by directly manipulating 16-byte arrays with version and variant bits. It validates UUID strings against RFC 4122 formatting rules, including hyphens and hexadecimal characters, and can detect
Converts UUID strings into 16-byte arrays for programmatic use.