{"id":13415932,"url":"https://github.com/jneen/parsimmon","last_synced_at":"2025-04-10T23:27:58.137Z","repository":{"id":5547999,"uuid":"6752066","full_name":"jneen/parsimmon","owner":"jneen","description":"A monadic LL(infinity) parser combinator library for javascript","archived":false,"fork":false,"pushed_at":"2023-04-14T23:41:19.000Z","size":1421,"stargazers_count":1250,"open_issues_count":5,"forks_count":130,"subscribers_count":18,"default_branch":"master","last_synced_at":"2025-04-10T10:21:33.414Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jneen.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2012-11-18T22:25:59.000Z","updated_at":"2025-04-06T16:45:36.000Z","dependencies_parsed_at":"2024-05-30T05:09:59.350Z","dependency_job_id":"80bb4367-7795-47fc-805c-facb9418b979","html_url":"https://github.com/jneen/parsimmon","commit_stats":{"total_commits":449,"total_committers":45,"mean_commits":9.977777777777778,"dds":0.6124721603563474,"last_synced_commit":"1f3282d08bf9cd142fd18d36c2c04b1ef88642e8"},"previous_names":[],"tags_count":44,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jneen%2Fparsimmon","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jneen%2Fparsimmon/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jneen%2Fparsimmon/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jneen%2Fparsimmon/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jneen","download_url":"https://codeload.github.com/jneen/parsimmon/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248314222,"owners_count":21083012,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-07-30T21:00:53.098Z","updated_at":"2025-04-10T23:27:58.112Z","avatar_url":"https://github.com/jneen.png","language":"JavaScript","funding_links":[],"categories":["JavaScript","📦 Legacy \u0026 Inactive Projects"],"sub_categories":[],"readme":"\u003ca href=\"https://badge.fury.io/js/parsimmon\"\u003e\u003cimg src=\"https://badge.fury.io/js/parsimmon.svg\" alt=\"\"\u003e\u003c/a\u003e\n\u003ca href=\"https://opensource.org/licenses/MIT\"\u003e\u003cimg alt=\"\" src=\"https://img.shields.io/badge/License-MIT-yellow.svg\"\u003e\u003c/a\u003e\n\u003ca href=\"https://coveralls.io/github/jneen/parsimmon?branch=master\"\u003e\u003cimg alt=\"\" src=\"https://coveralls.io/repos/github/jneen/parsimmon/badge.svg?branch=master\"/\u003e\u003c/a\u003e\n\u003ca href=\"https://travis-ci.org/jneen/parsimmon\"\u003e\u003cimg alt=\"\" src=\"https://api.travis-ci.org/jneen/parsimmon.svg\"\u003e\u003c/a\u003e\n\n\u003ca href=\"https://github.com/jneen/parsimmon\"\u003e\u003cimg align=\"right\" src=\"https://i.imgur.com/wyKOf.png\" alt=\"Parsimmon\"\u003e\u003c/a\u003e\n\n\u003e **!!! PARSIMMON IS CURRENTLY UNMAINTAINED !!!**\n\u003e \n\u003e Please contact [@jneen][] if you would like to become the new maintainer.\n\n# Parsimmon\n\n**Original Authors:** [@jneen][] and [@laughinghan][]\n\n**Previous Maintainer:** [@wavebeem][]\n\nParsimmon is a small library for writing big parsers made up of lots of little parsers. The API is inspired by [parsec][] and [Promises/A+][promises-aplus].\n\nParsimmon supports IE7 and newer browsers, along with [Node.js][]. It can be used as a standard Node module through [npm][] (named `parsimmon`), or directly in the browser through a script tag, where it exports a global variable called `Parsimmon`. To download the latest browser build, use the [unpkg version][]. For more information on how to use unpkg, see the [unpkg homepage][].\n\n## Code of Conduct\n\nEveryone is expected to abide by the [Contributor Covenant](CODE_OF_CONDUCT.md).\n\n\u003c!-- Please send reports to _nobody_. --\u003e\n\n## API Documentation\n\n- [Full API documentation in `API.md`](API.md)\n- [Guide with additional questions](GUIDE.md)\n- [Tutorial by Max Tagher](https://medium.com/mercury-bank/a-magic-date-input-using-parser-combinators-in-typescript-3c779741bf4c)\n\n## Examples\n\nSee the [examples][] directory for annotated examples of parsing JSON, Lisp, a Python-ish language, and math.\n\n## Common Functions\n\n- [`.createLanguage(parsers)`](API.md#parsimmoncreatelanguageparsers)\n- [`.string(string)`](API.md#parsimmonstringstring)\n- [`.regexp(regexp)`](API.md#parsimmonregexpregexp)\n- [`.seq(p1, p2, ...pn)`](API.md#parsimmonseqp1-p2-pn)\n- [`.sepBy(content, separator)`](API.md#parsimmonsepbycontent)\n- [`.alt(p1, p2, ...pn)`](API.md#parsimmonaltp1-p2-pn)\n- [`.whitespace`](API.md#parsimmonwhitespace)\n- [`.index`](API.md#parsimmonindex)\n- [`parser.map(fn)`](API.md#parsermapfn)\n- [`parser.node(name)`](API.md#parsernodename)\n- [`parser.skip(otherParser)`](API.md#parserskipotherparser)\n\n## Questions\n\nFeel free to ask a question by filing a GitHub Issue. I'm happy to help point you in the right direction with the library, and hopefully improve the documentation so less people get confused in the future.\n\n## Contributing\n\nContributions are _not_ just pull requests.\n\nIssues clearly describing bugs or confusing parts of Parsimmon are welcome! Also, documentation enhancements and examples are very desirable.\n\nFeeling overwhelmed about contributing? Open an issue about what you want to contribute and I'm happy to help you through to completion!\n\n## Performance\n\nThanks to [@bd82][] we have a good [benchmark comparing Parsimmon CPU performance to several other parser libraries][perf] with a simple JSON parser example.\n\n\u003ca href=\"https://github.com/fantasyland/fantasy-land\"\u003e\u003cimg align=\"right\" alt=\"Fantasy Land\" src=\"https://github.com/fantasyland/fantasy-land/raw/master/logo.png\"\u003e\u003c/a\u003e\n\n## Fantasyland\n\nParsimmon is also compatible with [fantasyland][]. It implements Semigroup, Apply, Applicative, Functor, Chain, and Monad.\n\n[@bd82]: https://github.com/bd82\n[@laughinghan]: https://github.com/laughinghan\n[@jneen]: https://github.com/jneen\n[@wavebeem]: https://github.com/wavebeem\n[examples]: https://github.com/jneen/parsimmon/tree/master/examples\n[unpkg homepage]: https://unpkg.com/#/\n[unpkg version]: https://unpkg.com/parsimmon\n[npm]: https://www.npmjs.com/\n[node.js]: https://nodejs.org/en/\n[promises-aplus]: https://promisesaplus.com/\n[parsec]: https://hackage.haskell.org/package/parsec\n[fantasyland]: https://github.com/fantasyland/fantasy-land\n[perf]: https://chevrotain.io/performance/\n[es5]: https://kangax.github.io/compat-table/es5/\n[es5-shim]: https://github.com/es-shims/es5-shim\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjneen%2Fparsimmon","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjneen%2Fparsimmon","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjneen%2Fparsimmon/lists"}