{"categories":[{"label":"Software Development","url":"https://skillfed.io/packages/category/software-development/13"}],"enrichment":{"capability":"Funcparserlib is a recursive descent parsing library that lets you build LL(*) parsers for little languages and domain-specific languages using functional combinators, with a built-in lexer generator for token tracking.","skillfed_tags":["parsing","dsl","combinators"],"use_cases":["Build a custom configuration file parser that reads a domain-specific syntax and converts it into Python objects.","Implement a simple expression evaluator or calculator that parses and evaluates mathematical expressions with operator precedence.","Parse a custom query language or filter syntax for a data processing tool.","Create a code generator or transpiler that reads a custom language and outputs Python or another target language.","Build a JSON or data-format parser as an alternative to hand-written recursive descent code."],"what_it_does":"Funcparserlib is a pure-Python parsing library built around functional combinators\u2014small, composable parsing functions that you chain together to build larger parsers. It is designed for parsing little languages and external DSLs (domain-specific languages) where you need to tokenize input and then parse it into a structured form. The library includes both a lexer generator (for tokenization with position tracking) and a parser combinator framework, and it emphasizes ease of use over raw performance, making it practical for cases where you need to parse custom syntax without the complexity of traditional parser generators.\n\nThe package has no external dependencies, supports Python 2.7 through 3.11, and is fully type-hinted. It is mature and dormant\u2014last released in November 2022 with a final commit in May 2024\u2014indicating stability rather than active development. Real-world use includes projects like Hy (a Lisp dialect embedded in Python), Splash (a JavaScript rendering service), and blockdiag (a diagram generator), all of which rely on funcparserlib to parse their respective DSLs.","worth_installing":"Yes, if you need to parse a custom language or DSL and want a lightweight, dependency-free solution. The library is mature, well-documented, and proven in production use. Its dormant status is not a concern\u2014it is feature-complete and stable. Install it only if you are comfortable with recursive descent parsing's performance characteristics (adequate for small to medium grammars but slower than LR/LALR parsers for large ones)."},"id":"funcparserlib","links":{"html":"https://skillfed.io/packages/funcparserlib","md":"https://skillfed.io/packages/funcparserlib.md","pypi":"https://pypi.org/project/funcparserlib/"},"maintenance":{"status":"dormant"},"meta":{"latest_release":"2022-11-03","license_spdx":null,"license_treatment":"permissive","name":"funcparserlib","python_support":"supports_current","summary":"Recursive descent parsing library based on functional combinators"},"popularity":{"monthly_downloads":202314,"position":9649,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"1.0.1"}
