{"name":"chevrotain-allstar","version":"0.1.1","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":"576c41aab5d16f8fed4983561bacba3cbac38933","_id":"chevrotain-allstar@0.1.1","_nodeVersion":"16.18.0","_npmVersion":"7.16.0","dist":{"integrity":"sha512-5uHtMrgYO693esxm3VU37GKdTPdwejdZzyFptmom2FUFXZRTv/qo0X+sXZcgJeMK4JXu/G9G3EZzTSXljKBu/w==","shasum":"8d1aa16a410619ad9f0751dac6824efdbd272f75","tarball":"http://registry-npm.ywwl.com/chevrotain-allstar/download/chevrotain-allstar-0.1.1.tgz","fileCount":23,"unpackedSize":140104,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDi27U8Q0wWBYJx6AHHnMQNJ6fT6S2yPJb5Ytwq51C3bgIgd3StMu7aXlWiDD3+9IPGaDSMCLT2gm3Cyg1DxEU5IUk="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjZRpYACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmqe9w/+J5dWCT2K+xYljQoTDmBYrxSEF2VVAqqDxtZvgGJ0hvRarsZy\r\nkdgKPjnf0ID/gRv/ErSNnWNBqe2795AvTqfKOjxbP5MoL44k6GpRtQw47oYi\r\n7zkhpveuDF4w5maKqEqa2YXayNh3PZo238tWyH9FBSrlFH9KkyXG0cJ0RHSz\r\nLfXrutDCpUJoRbtK99TrRvLru8wB06hhMwj0V4I74TzYRWKj5z/gqX6QAqYc\r\nNbKjrOPpmSysSxzY0oD76BF7y30OYGIfYKyTn1TJTDSg6kNgJ/KLyrG3/qxo\r\ndQznjqqZhjOG7QOtWiDt2oZH2Q5dVzkgaIUKGeySxIaQnkwiExBZwL/Wa/Ef\r\ns0XQnoxUrpz632M+OJiymSffmdkjkNnZ/KIw5EpfqlpjLZX5Mo/VDJqS5kXu\r\nXi/IKzG9bia/Ro1MZzAH6qgUil7M/0aFylfFX9DkYsaLVeOJoafm9QTxCem8\r\nPBUCIAtoICewmOXbszl3hCyGI3ub7MtgdcGgPYVToCWj3Mox1cSDDFimh2oi\r\n3IRvxO+ZpuFKEzlHvF0YadwL/vMt9XiORVUwqrQaDk8ACJRSEQ//2MtDciQA\r\nT8dsIgUmc7dh1qPS193w4RLqhAkkS87kpmq3wlO9DdDo4sYZ+HYrsnORC171\r\nAJ95wam4lzX4dJrEBBmYs8HvJii9Z5rQQFU=\r\n=gBEi\r\n-----END PGP SIGNATURE-----\r\n","size":27935,"noattachment":false,"key":"/chevrotain-allstar/-/chevrotain-allstar-0.1.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.1_1667570264718_0.8296539735094393"},"_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":1667570264897,"_cnpm_publish_time":1667570264897,"dist-tags":{"latest":"0.5.0","next":"0.1.6-next.1"}}