{"name":"chevrotain-allstar","version":"0.1.2","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"},"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"},"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"},"gitHead":"a6c15d5f94aaf25815ee2c2abca1a42ea8431ec9","homepage":"https://github.com/langium/chevrotain-allstar#readme","_id":"chevrotain-allstar@0.1.2","_nodeVersion":"16.18.0","_npmVersion":"7.16.0","dist":{"integrity":"sha512-nmtaF9Icr6cgqeOcINIG0AjdsBJwQyoAWPMm9w/7GYlNdBNdXtfLZx+5cyRog3oCZaN/cQoICfSc38VIhTIfxw==","shasum":"a9d4d0b54307cdb8ffc3b27c97fcf1e36dd54f4d","tarball":"http://registry-npm.ywwl.com/chevrotain-allstar/download/chevrotain-allstar-0.1.2.tgz","fileCount":23,"unpackedSize":140819,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICZhR+Gs4OpTt5P/CGtMuZwrCxjoj8Z1WuFAgQoFZUJ0AiEAxdjIxt68lCtHBevhs7bbWk1PJvR+bmou8m7XNN0Az+c="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjhe+BACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmqpyw/8DV4qe2mVk9tn83UNwTo+vW/4w9X0Jqo9oEozn2awq/5rKe5z\r\nuXx5ayKJ1l5YKpyeDsZTa0iRHTjiIjgqUa0QAH1sqkcrETzzL2YS6q49r5p7\r\n35ELoaZabc6IncuHUTV2QVKLIdvvK3CeLQNamYUwkZrf/X8mV2p6JTz3H9hv\r\nzD/ZewSH97Ma4r7g4dFi9f7w14baYe/zItENFL2CF49MMvo3dqGxnb4gOlCK\r\n8Q2xOdYqZ8bvhMpg7MSX+0vkAAfR9n6iiCNuMvOhHwfQQs/ry1zVqzLPakbg\r\nKdRAX6gO6yUIVBDCniaafBBSqRPnRdxmAh/GI6vDdqOadYOoEEP9KmkR0vQz\r\nqgX89tSBKtnvJi3Go1b5V8KvKR/yMzjW3OjyLPLp2ZquN87FEj9SybAxE2W9\r\nR9gOSM5GOmjo+LUXHfsP1dO33AIKcsTzL3FMNL9kk2m8elqsm4t9VcZiFNDN\r\nmKO6iPpo0TPVXJzfT3JAItL9je7evL/cqQQLtELi6bK3VfjI8OFFnp2W9fxc\r\n7ztG/s9czodxTCptuyfJC3Lmkx9da9lDA1BBapp327Yr2fLRZ+ePeQQnr6Kt\r\nx+E68K8K8eA0/lEioA/BKfMGLeOzIITNU9p3HBWiTGprphPgfRwOqng9YIaI\r\n3wd9dVH7s9133xk4bv8e91tTHqX9iCZorOo=\r\n=GZL4\r\n-----END PGP SIGNATURE-----\r\n","size":28083,"noattachment":false,"key":"/chevrotain-allstar/-/chevrotain-allstar-0.1.2.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.2_1669721985699_0.9062822138931581"},"_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":1669721985964,"_cnpm_publish_time":1669721985964,"dist-tags":{"latest":"0.5.0","next":"0.1.6-next.1"}}