{"name":"chevrotain-allstar","version":"0.1.0","description":"","author":"","license":"MIT","main":"lib/index.js","scripts":{"test":"vitest","build":"tsc","watch":"tsc -w"},"dependencies":{"chevrotain":"^10.4.1","lodash":"^4.17.21"},"devDependencies":{"@types/jest":"^29.2.1","@types/lodash":"^4.14.186","typescript":"^4.8.4","vitest":"^0.24.4"},"gitHead":"a40ed0046955f9c274077f53b687eeb9f62acc69","_id":"chevrotain-allstar@0.1.0","_nodeVersion":"16.18.0","_npmVersion":"7.16.0","dist":{"integrity":"sha512-dAB6IBoLIVsTFkka0lVLs//7z6FzxLVA1OLCzPzdK8ZOc3fQUsfN8kAlU5qEMVQVXW4WUo6dd2ce0tjc/3Nn2Q==","shasum":"04923d1fdaa978ca474ad034f12aaae32361182f","tarball":"http://registry-npm.ywwl.com/chevrotain-allstar/download/chevrotain-allstar-0.1.0.tgz","fileCount":23,"unpackedSize":137040,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCID6fjpLxuk5KFCnA/ktZouZ801zUdHZoVoCSo5tGsURyAiEAxxFEMoic+53vOCFeaeTYU3jN9+6dBnNluVNX3gX/bnI="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjZQkyACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqjIg/9FkyNWcnVqyFY4W9GOk6HKcHI55GovdwmRwvwOxo8/fjIZkGv\r\nOCShRqFrnmyV0Ri69+8al4R9UKHX96td9s9AE6BwVgPQmq/5fEVM5ukKDvnl\r\nH5RXSNb8Dlcw1O0w0+pNR/1kX2z3e1wl0HK8cGgQ4wRIjEUG+oC4OFyfCzMP\r\nWF3L8CTEXfLBwhbluNisx+AAXrLbQoA0l5yul9EKwXu7SJ6CTXtkvB9tJp8t\r\nntKFlLCdVNlvDzB7LL7aNYgowlvfmWEsOaNXZj3d3eVp/kk1zcRHh93JPjNA\r\nThxqStRg6zypfTLzlpd+cRnmVlBERDjcuG52ACPeioFtZty+ttykE2fb+2zt\r\nbXHC9s+HULdtTUxmYFAmTnAiQiemqA83BqYBZaZrsOgWEozaMIDZ9a6uPqf+\r\nuu7rgfTi8HFZBouoNfqGiVqeMI6EpZ5Ijb7UWrJALCGEwCDqq7z6hTfGf6i3\r\npVx0cebogFQqDlW4NuWltQulfJ73r+aMXXH0S98ojELRCo/a6+WXv6cKbLY7\r\nbL5elwRZjWIdHlB/FtDcFkrjpN4CcxO2JyjzMpS8ijXIjYMASCs8oY6qjlpb\r\na7eU86NueOZmadK4bmxr1qVw9IbEFg2Z531HtyOh9okpAjyU+agvAko+kNXI\r\nY5BMYS5cBMlDsagXdj+hz4Rnvwe40VEguZ4=\r\n=1519\r\n-----END PGP SIGNATURE-----\r\n","size":27505,"noattachment":false,"key":"/chevrotain-allstar/-/chevrotain-allstar-0.1.0.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.0_1667565874530_0.09312136513846614"},"_hasShrinkwrap":false,"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","publish_time":1667565874729,"_cnpm_publish_time":1667565874729,"dist-tags":{"latest":"0.5.0","next":"0.1.6-next.1"}}