{"id":16328950,"url":"https://github.com/TypeFox/chevrotain-allstar","last_synced_at":"2025-10-25T21:30:48.943Z","repository":{"id":65379426,"uuid":"561747074","full_name":"TypeFox/chevrotain-allstar","owner":"TypeFox","description":"Plugin module for the ALL(*) lookahead algorithm in Chevrotain","archived":false,"fork":false,"pushed_at":"2023-08-31T21:50:11.000Z","size":180,"stargazers_count":10,"open_issues_count":5,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-02-05T10:01:21.224Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/TypeFox.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null},"funding":{"github":"TypeFox"}},"created_at":"2022-11-04T11:58:29.000Z","updated_at":"2024-10-03T05:41:16.000Z","dependencies_parsed_at":"2024-01-18T15:26:10.897Z","dependency_job_id":"662b2b6b-6512-4c07-a796-355d075f7443","html_url":"https://github.com/TypeFox/chevrotain-allstar","commit_stats":null,"previous_names":["langium/chevrotain-allstar"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TypeFox%2Fchevrotain-allstar","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TypeFox%2Fchevrotain-allstar/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TypeFox%2Fchevrotain-allstar/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TypeFox%2Fchevrotain-allstar/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TypeFox","download_url":"https://codeload.github.com/TypeFox/chevrotain-allstar/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238212350,"owners_count":19434946,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-10T23:14:36.683Z","updated_at":"2025-10-25T21:30:48.625Z","avatar_url":"https://github.com/TypeFox.png","language":"TypeScript","funding_links":["https://github.com/sponsors/TypeFox"],"categories":["TypeScript"],"sub_categories":[],"readme":"# Chevrotain Allstar\n\nThis is a lookahead plugin package for the [Chevrotain parser library](https://chevrotain.io/).\nIt implements the [ALL(*) lookahead algorithm](https://www.antlr.org/papers/allstar-techreport.pdf) introduced for ANTLR4.\nThe algorithm features unbounded lookahead, compared to the normal LL(*k*) behavior of Chevrotain.\n\n## Usage\n\nWhen creating your parser, pass an instance of the `LLStarLookaheadStrategy` to the `lookaheadStrategy` property of the base parser constructor options.\n\n```ts\nimport { LLStarLookaheadStrategy } from \"chevrotain-allstar\";\n\nclass Parser extends EmbeddedActionsParser {\n    constructor() {\n        super(tokens, {\n            lookaheadStrategy: new LLStarLookaheadStrategy()\n        });\n        this.performSelfAnalysis()\n    }\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FTypeFox%2Fchevrotain-allstar","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FTypeFox%2Fchevrotain-allstar","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FTypeFox%2Fchevrotain-allstar/lists"}