{"library":"lop","type":"library","category":null,"description":"lop is a JavaScript parsing library using parser combinators that emphasizes helpful error messages. Current stable version is 0.4.2, with infrequent releases. Unlike many parser libraries (e.g., PEG.js, nearley), lop integrates directly with tokenisers and provides cut operators to control backtracking and produce precise error locations. Its unique selling point is the generation of detailed, file-and-line-anchored error messages when parsing fails. It supports both automatic regex-based tokenisation and custom tokenisers. The library is untyped (no TypeScript definitions). It is lightweight with no dependencies.","language":"javascript","status":"active","version":"0.4.2","tags":["javascript","parse","parser","combinator"],"install":[{"cmd":"npm install lop","imports":["import { Parser } from 'lop';","import { RegexTokeniser } from 'lop';","import { rules } from 'lop';","import { StringSource } from 'lop';","import * as lop from 'lop';"]},{"cmd":"yarn add lop","imports":[]},{"cmd":"pnpm add lop","imports":[]}],"homepage":null,"github":"https://github.com/mwilliamson/lop","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/lop","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/lop/compatibility"},"provenance":{"verified_status":null,"verified_at":null,"last_verified":"Wed Jun 17","next_check":"Fri Jul 24","install_tag":null}}