{"name":"chevrotain-allstar","version":"0.1.6-next.1","description":"LL(*) lookahead strategy for the Chevrotain parser library","keywords":["parser","lookahead","chevrotain","langium"],"license":"MIT","main":"lib/index.js","types":"lib/index.d.ts","scripts":{"test":"vitest","build":"tsc","watch":"tsc -w","clean":"shx rm -rf lib tsconfig.tsbuildinfo"},"dependencies":{"lodash":"^4.17.21"},"peerDependencies":{"chevrotain":"^10.4.1"},"devDependencies":{"@types/jest":"^29.2.1","@types/lodash":"^4.14.186","shx":"^0.3.4","typescript":"^4.8.4","vitest":"^0.24.4"},"repository":{"type":"git","url":"git+https://github.com/langium/chevrotain-allstar.git"},"bugs":{"url":"https://github.com/langium/chevrotain-allstar/issues"},"author":{"name":"TypeFox","url":"https://www.typefox.io"},"readme":"# Chevrotain Allstar\r\n\r\nThis is a lookahead plugin package for the [Chevrotain parser library](https://chevrotain.io/).\r\nIt implements the [ALL(*) lookahead algorithm](https://www.antlr.org/papers/allstar-techreport.pdf) introduced for ANTLR4.\r\nThe algorithm features unbounded lookahead, compared to the normal LL(*k*) behavior of Chevrotain.\r\n\r\n## Usage\r\n\r\nWhen creating your parser, pass an instance of the `LLStarLookaheadStrategy` to the `lookaheadStrategy` property of the base parser constructor options.\r\n\r\n```ts\r\nimport { LLStarLookaheadStrategy } from \"chevrotain-allstar\";\r\n\r\nclass Parser extends EmbeddedActionsParser {\r\n    constructor() {\r\n        super(tokens, {\r\n            lookaheadStrategy: new LLStarLookaheadStrategy()\r\n        });\r\n        this.performSelfAnalysis()\r\n    }\r\n}\r\n```\r\n","readmeFilename":"README.md","gitHead":"bd33d40a6fabc4182cba1156510e76d244971bf6","homepage":"https://github.com/langium/chevrotain-allstar#readme","_id":"chevrotain-allstar@0.1.6-next.1","_nodeVersion":"16.18.0","_npmVersion":"9.6.2","dist":{"integrity":"sha512-WHcb6VFCQoG1kyfy8Iu7GUBCnCIPmsRZH+HIxgZEkgAm297zEVKpe+sZvHDihgrbLlPPlI+qDCfdN5UizHooHw==","shasum":"fdbea5d54ee182d558273afb37ecafcd7fa39aa6","tarball":"http://registry-npm.ywwl.com/chevrotain-allstar/download/chevrotain-allstar-0.1.6-next.1.tgz","fileCount":24,"unpackedSize":141921,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCX7tL+Di6CbYK/qxIt1XVRWDL6N391L89x17ZanMwehwIgP8WlNcwjk8kxZrVwQYpXE5YgsucRRs/X3t890TYqRgs="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkIsCWACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpZOw//Ulf4t0gzXMUw3NmiLJ2Z3+Ee9PzAm44tknTiqEO0MT5HWJmD\r\nWcgeSzrn6mKbNUN2DR/txJIbbrIpGRU3lReb2GmwVQR7LBey+q8WvC61NydK\r\nEaAQ3JVZ+MpbOSpdCKQYphxh95YfZtFFlaa64D1FWU+xqC1feEiF9qeq6Pr1\r\ngi21C2MLb6npTv5pR1g7YwlNr1SsH2jq5qrvJH7sp6/KGUHlrQFO1wvwoVb3\r\nQk9mFjUBKkc0/egFGGI/XsJBwx0Ng1CrpR2zA4CGqP0OpzizspumlV2RzDLV\r\nUoy7SQ9wTOGNv/0fnKxWJUWxuhvVhVtXBw2Gg3e8ar2HaAVTsYUuNvJCUmDw\r\nQWNJlC1fHxS4KAnZpmiJKBu9VTtI+ZU4mgbjQauv2YDAUMuDYCmtzkmatIgT\r\nVoxrdsJ5xqUiXqVqLChumhB1uGVWcTqVLnaXMJmdguBtq2RJgu5gDp1bwoUN\r\nFZNi2Wpm3RdHX6Ls3rvUKkX1FgpnBhIyqeFKiNtcAV6dlnPMOeFh4+kZYgDi\r\nGzIgtAIrmh1ZyM0VXMT2Qfe7Zgzajg0WLYUxRTTG2ZQyrUfmoBqDX1qmx1Kg\r\n6aP/g96UVrzq86JcM/yud9E1R4Mvtx5Gb7R5NYEf/2iLsJfh8CQ22BpIFIwL\r\nYGaRbnH3nDHbWBiK6xeFBOHeEBv6PzLSvSY=\r\n=44Zf\r\n-----END PGP SIGNATURE-----\r\n","size":28529,"noattachment":false,"key":"/chevrotain-allstar/-/chevrotain-allstar-0.1.6-next.1.tgz"},"_npmUser":{"name":"msujew","email":"mark.sujew@typefox.io"},"directories":{},"maintainers":[{"name":"msujew","email":"mark.sujew@typefox.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/chevrotain-allstar_0.1.6-next.1_1679999126260_0.007635977223372059"},"_hasShrinkwrap":false,"publish_time":1679999126528,"_cnpm_publish_time":1679999126528,"dist-tags":{"latest":"0.5.0","next":"0.1.6-next.1"}}