awesome-repositories.com
Blog
MCP
awesome-repositories.com

Descubre los mejores repositorios open-source con nuestra búsqueda potenciada por IA.

ExplorarBúsquedas curadasAlternativas open-sourceSoftware autohospedableBlogMapa del sitio
ProyectoAcerca deCómo clasificamosPrensaServidor MCP
Aviso legalPrivacidadTérminos
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
zesterer avatar

zesterer/chumskyArchived

0
View on GitHub↗
4,545 estrellas·208 forks·Rust·MIT·8 vistascodeberg.org/zesterer/chumsky↗

Chumsky

Chumsky es una librería de combinadores de parser utilizada para construir parsers de alto rendimiento componiendo pequeñas funciones de parsing en gramáticas complejas. Proporciona múltiples motores de parsing, incluyendo implementaciones de descenso recursivo y escalada de precedencia para resolver el orden de operaciones en expresiones matemáticas y lógicas.

La librería se distingue por su parsing de texto de copia cero (zero-copy), que minimiza las asignaciones de memoria para aumentar el rendimiento, y su capacidad para ejecutarse sin una librería estándar para su uso en entornos embebidos o con recursos limitados. También cuenta con un parser de recuperación de errores que identifica entradas mal formadas y reanuda el procesamiento para informar múltiples errores de sintaxis en una sola pasada.

El framework cubre una amplia gama de capacidades, incluyendo gestión de estado sensible al contexto, soporte para gramáticas recursivas e integración de patrones de expresiones regulares. Incluye herramientas para el análisis de la estructura del parser, inspección de nodos y caché de resultados para admitir backtracking y recursión a la izquierda.

La librería admite el desarrollo de lenguajes personalizados, parsing de formatos de datos y herramientas de lenguaje de programación.

Features

  • Parser Combinators - Provides a functional parser combinator library for building complex grammars by composing small, reusable parsing functions.
  • Recursive Descent Parsers - Provides a recursive descent parsing engine that translates source code into syntax trees using recursive function calls.
  • Zero-Copy Parsing - Implements zero-copy parsing by returning slices of the original input buffer instead of allocating new memory for extracted text.
  • Environment Support Managers - Provides environment support that enables the library to run without a standard library in restricted systems.
  • No-Std Environment Adapters - Offers compatibility for environments without a standard library, enabling high-performance parsing in restricted or embedded systems.
  • Expression Order Resolution - Utilizes a precedence-climbing approach to resolve the order of operations in complex expressions.
  • Parsing Error Recovery - Provides mechanisms to recover from syntax errors by skipping invalid tokens and continuing to parse the input.
  • Data Formats and Parsing - Provides tools for parsing various structured data formats by combining regular expressions and logic-based combinators.
  • High-Performance Text Processing - Enables high-performance text processing optimized for low memory and high throughput in resource-constrained environments.
  • Token-Based Stream Parsing - Converts character-based input streams into typed tokens using specialized stream extensions.
  • Programming Language Development - Serves as a framework for programming language development, supporting the creation of compilers and interpreters.
  • Regex-Combinator Integrations - Combines regular expression patterns with combinators to recognize flexible text patterns within a larger grammar.
  • Memoization Caches - Utilizes memoization caches to store previous parsing results, eliminating redundant computations and supporting left-recursive grammars.
  • Operator Precedence Management - Implements operator precedence management to resolve the correct order of operations in complex mathematical and logical expressions.
  • Parser Result Memoization - Stores expensive lookup results to speed up backtracking and support the processing of left-recursive grammars.
  • Parsing Contexts - Supports context-sensitive parsing by tracking external state, enabling the handling of syntaxes like semantic indentation.
  • Error-Resilient Parsers - Implements an error-resilient parsing engine that maintains structural integrity when encountering malformed input.
  • Custom Parser Development - Supports the development of custom parsers by defining formal grammars to derive structured representations of text.

Historial de estrellas

Gráfico del historial de estrellas de zesterer/chumskyGráfico del historial de estrellas de zesterer/chumsky

Búsqueda con IA

Explora más repositorios increíbles

Describe lo que necesitas en lenguaje sencillo: la IA clasifica miles de proyectos open-source curados por relevancia.

Start searching with AI

Preguntas frecuentes

¿Qué hace zesterer/chumsky?

Chumsky es una librería de combinadores de parser utilizada para construir parsers de alto rendimiento componiendo pequeñas funciones de parsing en gramáticas complejas. Proporciona múltiples motores de parsing, incluyendo implementaciones de descenso recursivo y escalada de precedencia para resolver el orden de operaciones en expresiones matemáticas y lógicas.

¿Cuáles son las características principales de zesterer/chumsky?

Las características principales de zesterer/chumsky son: Parser Combinators, Recursive Descent Parsers, Zero-Copy Parsing, Environment Support Managers, No-Std Environment Adapters, Expression Order Resolution, Parsing Error Recovery, Data Formats and Parsing.

¿Qué alternativas de código abierto existen para zesterer/chumsky?

Las alternativas de código abierto para zesterer/chumsky incluyen: rust-bakery/nom — nom is a parser combinator framework for Rust used to build complex parsers by combining small, reusable parsing… harc/ohm — Ohm is a compiler construction toolkit and parser combinator library used to build parsers, interpreters, and… dullabs/bhai-lang — Bhai-lang is a TypeScript-based toy programming language and custom syntax interpreter. It functions as an educational… alecthomas/participle — Participle is a Go parser generator and toolkit for building language frontends. It provides a declarative grammar… pegjs/pegjs — PegJS is a parsing expression grammar tool and JavaScript parser generator. It functions as a grammar compiler that… pest-parser/pest — Pest is a Rust parsing library and automatic parser generator that transforms formal grammar definitions into…

Alternativas open-source a Chumsky

Proyectos open-source similares, clasificados según cuántas características comparten con Chumsky.
  • rust-bakery/nomAvatar de rust-bakery

    rust-bakery/nom

    10,426Ver en GitHub↗

    nom is a parser combinator framework for Rust used to build complex parsers by combining small, reusable parsing functions. It functions as a zero-copy parsing tool that minimizes memory overhead by returning slices of the original input instead of allocating new memory. The framework is designed for diverse data formats, serving as a binary data parser with configurable endianness and a bitstream processing library capable of extracting values of arbitrary bit length. It also functions as a streaming data parser that can process data arriving in chunks and signal when additional input is req

    Rustbyte-arraygrammarnom
    Ver en GitHub↗10,426
  • harc/ohmAvatar de harc

    harc/ohm

    5,530Ver en GitHub↗

    Ohm is a compiler construction toolkit and parser combinator library used to build parsers, interpreters, and compilers. It provides a formal grammar language for specifying the structural rules of data formats to ensure precise parsing of input strings. The project functions as a parsing debugging tool and program execution visualizer. It generates text traces and graphical visualizations to show the step-by-step logic used during parsing and renders runtime state changes and method call hierarchies. The toolkit covers custom parser development and the construction of compilers and interpre

    JavaScript
    Ver en GitHub↗5,530
  • dullabs/bhai-langAvatar de DulLabs

    DulLabs/bhai-lang

    4,100Ver en GitHub↗

    Bhai-lang is a TypeScript-based toy programming language and custom syntax interpreter. It functions as an educational language implementation designed to demonstrate core concepts of variable management, conditional logic, and execution flow. The project provides a custom command line interface and an interactive code playground for writing and testing scripts. It serves as a framework for programming language prototyping, allowing for the definition of custom syntax and execution logic. The system covers the full interpreter pipeline, including lexical analysis, recursive descent parsing,

    TypeScriptinterpreterjavascriptparser
    Ver en GitHub↗4,100
  • alecthomas/participleAvatar de alecthomas

    alecthomas/participle

    3,869Ver en GitHub↗

    Participle is a Go parser generator and toolkit for building language frontends. It provides a declarative grammar framework that uses reflection and struct tags to map input patterns directly into typed data structures. The library features a stateful lexical analyzer that employs state machines to handle nested or modal patterns. It includes a lexer code generator to produce optimized code, reducing runtime memory allocations and increasing throughput. The project covers recursive descent parsing with support for union types via sealed interfaces and custom parsing logic through interface-

    Goastebnfgo
    Ver en GitHub↗3,869
Ver las 30 alternativas a Chumsky→