{"id":29077004,"url":"https://github.com/chalarangelo/cfg-parser","last_synced_at":"2025-06-27T16:36:01.799Z","repository":{"id":279042414,"uuid":"933575120","full_name":"Chalarangelo/cfg-parser","owner":"Chalarangelo","description":"Context free grammar parser based on Earley parsing","archived":false,"fork":false,"pushed_at":"2025-02-23T12:19:24.000Z","size":22,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-23T12:19:38.671Z","etag":null,"topics":["context-free-grammar","earley-parser","parser"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/Chalarangelo.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,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-02-16T09:53:47.000Z","updated_at":"2025-02-23T12:19:27.000Z","dependencies_parsed_at":"2025-02-23T12:19:43.889Z","dependency_job_id":"4d2d43f7-6bf3-402e-88ef-956524b53c5f","html_url":"https://github.com/Chalarangelo/cfg-parser","commit_stats":null,"previous_names":["chalarangelo/cfg-parser"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Chalarangelo/cfg-parser","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Chalarangelo%2Fcfg-parser","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Chalarangelo%2Fcfg-parser/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Chalarangelo%2Fcfg-parser/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Chalarangelo%2Fcfg-parser/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Chalarangelo","download_url":"https://codeload.github.com/Chalarangelo/cfg-parser/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Chalarangelo%2Fcfg-parser/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262294112,"owners_count":23288880,"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":["context-free-grammar","earley-parser","parser"],"created_at":"2025-06-27T16:35:57.383Z","updated_at":"2025-06-27T16:36:01.790Z","avatar_url":"https://github.com/Chalarangelo.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cfg-parser\nContext free grammar parser based on Earley parsing\n\n## How to use\n\nAllow the `console` script to be executed:\n\n```sh\nchmod +x ./bin/console\n\n./bin/console\n```\n\nIn the `console`, you can use the following commands:\n\n- `tokenize(\u003cinput\u003e)`: Tokenize the input string using the grammar defined in the loaded grammar.\n- `parse(\u003cinput\u003e)`: Parse the input string using the grammar defined in the loaded grammar.\n- `evaluate(\u003cinput\u003e)`: Evaluate the input string using the grammar defined in the loaded grammar.\n\nThe default grammar is defined in `./src/samples/math.js`. You can define your own an export it from a file, then import it in the `console` and use it.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchalarangelo%2Fcfg-parser","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchalarangelo%2Fcfg-parser","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchalarangelo%2Fcfg-parser/lists"}