{"id":29091182,"url":"https://github.com/krishnazawar/cfgvalidator","last_synced_at":"2025-06-28T06:05:48.123Z","repository":{"id":300340553,"uuid":"1005919430","full_name":"krishnaZawar/cfgValidator","owner":"krishnaZawar","description":"CFG validation using CLR parsing technique.","archived":false,"fork":false,"pushed_at":"2025-06-21T05:13:36.000Z","size":205,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-06-21T06:21:03.931Z","etag":null,"topics":["cfg","compiler-design","cpp","parsers"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/krishnaZawar.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2025-06-21T04:57:27.000Z","updated_at":"2025-06-21T05:15:27.000Z","dependencies_parsed_at":"2025-06-21T06:21:16.887Z","dependency_job_id":"3527cc7f-26c0-49e3-8d44-d12dab84531b","html_url":"https://github.com/krishnaZawar/cfgValidator","commit_stats":null,"previous_names":["krishnazawar/cfgvalidator"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/krishnaZawar/cfgValidator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krishnaZawar%2FcfgValidator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krishnaZawar%2FcfgValidator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krishnaZawar%2FcfgValidator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krishnaZawar%2FcfgValidator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/krishnaZawar","download_url":"https://codeload.github.com/krishnaZawar/cfgValidator/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krishnaZawar%2FcfgValidator/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262382732,"owners_count":23302296,"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":["cfg","compiler-design","cpp","parsers"],"created_at":"2025-06-28T06:05:46.850Z","updated_at":"2025-06-28T06:05:48.107Z","avatar_url":"https://github.com/krishnaZawar.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# \u003cp align = \"center\"\u003eCFG validator\u003c/p\u003e\nThis a handwritten CLR parser to validate CFG syntax.\nCFG (Context Free Grammar) is an essential representation tool used while working on compilers.\n This parser validates whether the structure followed for writing CFG has been followed.\n\n\n# How to Use\nTo validate your grammar, follow these simple steps:\n1. write your program and save it in \"testFile.txt\" provided.\n2. Run the main file\n\n# Expected File Structure\n```\nTokens : \u003c token names separated by commas, this is optional\u003e.\nproductionHead1 : productionBody1;\nproductionHead2 : productionBody2;\n.\n.\n```\n## examples\nexample 1:\nCFG to validate inputs like {'a', 'aa', 'aaa', ... , 'aaa.....'}.\n```\nTokens: .\nA : 'a' A;\nA : 'a';\n```\nexample 2:\nCFG to validate assignment statement\n```\nTokens : identifier, number.\nStart : AssignmentStatement;\nAssignmentStatement : identifier '=' Value ';' ;\nValue : identifier;\nValue : number;\n```\n\n# Future scope of Development\n1. Validate the semantics of the written CFG.\n2. Allow the user to validate the input expected by his CFG.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkrishnazawar%2Fcfgvalidator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkrishnazawar%2Fcfgvalidator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkrishnazawar%2Fcfgvalidator/lists"}