{"id":25074982,"url":"https://github.com/karanraj06/bmm-lexer-parser","last_synced_at":"2026-01-08T09:36:57.538Z","repository":{"id":163544598,"uuid":"627123056","full_name":"Karanraj06/bmm-lexer-parser","owner":"Karanraj06","description":"Lexical and Syntax Analyzer  for a simple programming language called B--","archived":false,"fork":false,"pushed_at":"2023-05-31T13:59:01.000Z","size":23,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-07T00:20:45.866Z","etag":null,"topics":["bison","flex","lexical-analyzer","syntax-analyzer"],"latest_commit_sha":null,"homepage":"","language":"Lex","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/Karanraj06.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}},"created_at":"2023-04-12T20:41:33.000Z","updated_at":"2024-12-07T02:19:06.000Z","dependencies_parsed_at":null,"dependency_job_id":"f32e4b52-b944-4756-b250-883bd4d36fde","html_url":"https://github.com/Karanraj06/bmm-lexer-parser","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Karanraj06%2Fbmm-lexer-parser","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Karanraj06%2Fbmm-lexer-parser/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Karanraj06%2Fbmm-lexer-parser/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Karanraj06%2Fbmm-lexer-parser/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Karanraj06","download_url":"https://codeload.github.com/Karanraj06/bmm-lexer-parser/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246531975,"owners_count":20792736,"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":["bison","flex","lexical-analyzer","syntax-analyzer"],"created_at":"2025-02-07T00:19:58.987Z","updated_at":"2026-01-08T09:36:57.510Z","avatar_url":"https://github.com/Karanraj06.png","language":"Lex","funding_links":[],"categories":[],"sub_categories":[],"readme":"# bmm-lexer-parser\n\n## Summary\n\nThis project aims to build a compiler for a simple programming language called B--. It utilizes Flex and Bison to create a lexical analyzer and syntax analyzer capable of recognizing B-- source code. The compiler provides helpful error messages for identifying syntax errors in B-- sample code.\n\n## File Structure\n\n```\n.\n├── .gitattributes\n├── .gitignore\n├── LICENSE\n├── Makefile\n├── README.md\n├── bmm_main.c\n├── bmm_parser.y\n├── bmm_scanner.l\n├── correct_sample.bmm\n├── incorrect_sample.bmm\n└── test_lexer.txt\n```\n\n## Prerequisites\n\nDownload\n\n- [Bison](https://www.gnu.org/software/bison/)\n- [Flex](https://github.com/westes/flex)\n- [Make](https://www.gnu.org/software/software.html)\n\n## Usage\n\nBuild the lexer and parser\n\n```\nmake\n```\n\nRun the lexer and parser on a sample B-- program\n\n```\n./a.out correct_sample.bmm\n```\n\nClean the directory\n\n```\nmake clean\n```\n\n## Authors\n\n- Harsh Raj Srivastava ([@Harsh290803](https://github.com/Harsh290803))\n- Karanraj Mehta ([@Karanraj06](https://github.com/Karanraj06))","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkaranraj06%2Fbmm-lexer-parser","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkaranraj06%2Fbmm-lexer-parser","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkaranraj06%2Fbmm-lexer-parser/lists"}