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

Descoperă cele mai bune repository-uri open source cu căutare AI.

ExploreazăCăutări recomandateAlternative open-sourceSoftware self-hostedBlogHartă site
ProiectDespreCum realizăm clasamentulPresăServer MCP
LegalConfidențialitateTermeni
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
zesterer avatar

zesterer/chumskyArchived

0
View on GitHub↗
4,545 stele·208 fork-uri·Rust·MIT·8 vizualizăricodeberg.org/zesterer/chumsky↗

Chumsky

Chumsky este o bibliotecă de parser combinator utilizată pentru a construi parsere de înaltă performanță prin compunerea unor funcții mici de parsare în gramatici complexe. Oferă mai multe motoare de parsare, inclusiv implementări de tip „recursive descent” și „precedence-climbing” pentru rezolvarea ordinii operațiilor în expresii matematice și logice.

Biblioteca se distinge prin parsarea textului de tip „zero-copy”, care minimizează alocările de memorie pentru a crește throughput-ul, și prin capacitatea sa de a rula fără o bibliotecă standard pentru utilizare în medii încorporate sau cu resurse limitate. De asemenea, dispune de un parser cu recuperare la erori care identifică input-ul malformat și reia procesarea pentru a raporta mai multe erori de sintaxă într-o singură trecere.

Framework-ul acoperă o gamă largă de capabilități, inclusiv gestionarea stării sensibile la context, suport pentru gramatici recursive și integrarea modelelor de expresii regulate. Include instrumente pentru analiza structurii parserului, inspecția nodurilor și caching-ul rezultatelor pentru a susține backtracking-ul și recursivitatea la stânga.

Biblioteca susține dezvoltarea de limbaje personalizate, parsarea formatelor de date și instrumente pentru limbaje de programare.

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.

Istoric stele

Graficul istoricului de stele pentru zesterer/chumskyGraficul istoricului de stele pentru zesterer/chumsky

Căutare AI

Explorează mai multe repository-uri excelente

Descrie ce ai nevoie în limbaj simplu — AI-ul sortează mii de proiecte open source selectate în funcție de relevanță.

Start searching with AI

Întrebări frecvente

Ce face zesterer/chumsky?

Chumsky este o bibliotecă de parser combinator utilizată pentru a construi parsere de înaltă performanță prin compunerea unor funcții mici de parsare în gramatici complexe. Oferă mai multe motoare de parsare, inclusiv implementări de tip „recursive descent” și „precedence-climbing” pentru rezolvarea ordinii operațiilor în expresii matematice și logice.

Care sunt principalele funcționalități ale zesterer/chumsky?

Principalele funcționalități ale zesterer/chumsky sunt: 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.

Care sunt câteva alternative open-source pentru zesterer/chumsky?

Alternativele open-source pentru zesterer/chumsky includ: 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…

Alternative open-source pentru Chumsky

Proiecte open-source similare, clasificate după numărul de funcționalități comune cu Chumsky.
  • rust-bakery/nomAvatar rust-bakery

    rust-bakery/nom

    10,426Vezi pe 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
    Vezi pe GitHub↗10,426
  • harc/ohmAvatar harc

    harc/ohm

    5,530Vezi pe 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
    Vezi pe GitHub↗5,530
  • dullabs/bhai-langAvatar DulLabs

    DulLabs/bhai-lang

    4,100Vezi pe 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
    Vezi pe GitHub↗4,100
  • alecthomas/participleAvatar alecthomas

    alecthomas/participle

    3,869Vezi pe 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
    Vezi pe GitHub↗3,869
Vezi toate cele 30 alternative pentru Chumsky→