{"id":28140441,"url":"https://github.com/kingcitaldo125/cppearley","last_synced_at":"2025-08-17T16:05:34.580Z","repository":{"id":124326043,"uuid":"370824812","full_name":"Kingcitaldo125/CppEarley","owner":"Kingcitaldo125","description":"Earley parser in C++","archived":false,"fork":false,"pushed_at":"2022-07-13T20:52:51.000Z","size":45,"stargazers_count":3,"open_issues_count":3,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-26T11:24:21.887Z","etag":null,"topics":["context-free-grammar","cpp11","earley-parser","parser"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Kingcitaldo125.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,"zenodo":null}},"created_at":"2021-05-25T20:52:32.000Z","updated_at":"2025-03-22T13:08:04.000Z","dependencies_parsed_at":null,"dependency_job_id":"de12160b-82c6-4eb8-9c9d-3dbe31a38fce","html_url":"https://github.com/Kingcitaldo125/CppEarley","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/Kingcitaldo125/CppEarley","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kingcitaldo125%2FCppEarley","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kingcitaldo125%2FCppEarley/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kingcitaldo125%2FCppEarley/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kingcitaldo125%2FCppEarley/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Kingcitaldo125","download_url":"https://codeload.github.com/Kingcitaldo125/CppEarley/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kingcitaldo125%2FCppEarley/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270869932,"owners_count":24659897,"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","status":"online","status_checked_at":"2025-08-17T02:00:09.016Z","response_time":129,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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","cpp11","earley-parser","parser"],"created_at":"2025-05-14T18:11:31.335Z","updated_at":"2025-08-17T16:05:34.571Z","avatar_url":"https://github.com/Kingcitaldo125.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CppEarley\nBasic C++ Earley Parser, based heavily on the [Earley parser](https://en.wikipedia.org/wiki/Earley_parser) article found on Wikipedia.\nThis is meant to be a very simplistic implementation of the Earley algorithm and pseudocode found in that article.\n\n## Requirements\n\n- [Google Test](https://github.com/google/googletest) for unit tests\n\n## Usage\n\n### Linux\n\nEither `git clone https://github.com/Kingcitaldo125/CppEarley.git` to a directory of your choice, or retrieve the source code from a release of your choice.\n\nTo build using CMake:\n\n``` bash\nmkdir build\ncd build\ncmake ..\nmake\n```\n\nTo run using the basic Earley grammar found in the Wikipedia article:\n\n``` bash\n./main ../grammars/grammar.txt\n```\n\nThe output from pointing the main target to the basic Earley grammar should be similar to the following:\n\n``` bash\n../grammars/grammar.txt\nInput \u003c1\u003e = true\nInput \u003c1+\u003e = false\nInput \u003c1+2\u003e = true\nInput \u003c2+3*4\u003e = true\n```\n\n### Windows\n\nComing Soon - Windows is still in `Dev`.\n\n## License\n\nSee the [LICENSE](https://github.com/Kingcitaldo125/CppEarley/blob/main/LICENSE) file for details\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkingcitaldo125%2Fcppearley","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkingcitaldo125%2Fcppearley","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkingcitaldo125%2Fcppearley/lists"}