{"id":20712103,"url":"https://github.com/imharshag/json-parser-using-lex-yacc","last_synced_at":"2026-02-08T19:04:02.449Z","repository":{"id":239689320,"uuid":"800255786","full_name":"imharshag/JSON-parser-using-Lex-Yacc","owner":"imharshag","description":"This project is a JSON parser implemented using Lex and Yacc on Ubuntu. The parser reads JSON data from input files or standard input, parses it, and displays the parsed data.","archived":false,"fork":false,"pushed_at":"2024-05-14T03:03:17.000Z","size":5,"stargazers_count":8,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-11T06:29:57.191Z","etag":null,"topics":["flex-bison","json-parser","lex-yacc","ubuntu"],"latest_commit_sha":null,"homepage":"","language":"Yacc","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/imharshag.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":"2024-05-14T01:53:13.000Z","updated_at":"2024-11-21T16:57:37.000Z","dependencies_parsed_at":"2024-05-14T03:51:40.613Z","dependency_job_id":null,"html_url":"https://github.com/imharshag/JSON-parser-using-Lex-Yacc","commit_stats":null,"previous_names":["imharshag/json-parser-using-lex-yacc"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/imharshag/JSON-parser-using-Lex-Yacc","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imharshag%2FJSON-parser-using-Lex-Yacc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imharshag%2FJSON-parser-using-Lex-Yacc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imharshag%2FJSON-parser-using-Lex-Yacc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imharshag%2FJSON-parser-using-Lex-Yacc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/imharshag","download_url":"https://codeload.github.com/imharshag/JSON-parser-using-Lex-Yacc/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imharshag%2FJSON-parser-using-Lex-Yacc/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260953944,"owners_count":23088129,"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":["flex-bison","json-parser","lex-yacc","ubuntu"],"created_at":"2024-11-17T02:18:14.209Z","updated_at":"2026-02-08T19:04:01.204Z","avatar_url":"https://github.com/imharshag.png","language":"Yacc","funding_links":[],"categories":[],"sub_categories":[],"readme":"# JSON Parser using Lex \u0026 Yacc\n\n### Overview\n🔍📄 This project is a JSON parser implemented using Lex and Yacc on Ubuntu. The parser reads JSON data from input files or standard input, parses it, and displays the parsed data. Additionally, it highlights any errors and displays the word near the error for easy identification.\n\n### Prerequisites\n- Ubuntu operating system.\n- Lex and Yacc installed (sudo apt install flex bison).\n\n### Compilation\n- Compile the Lex file (json.l): flex json.l\n- This will generate a file named lex.yy.c.\n- Compile the Yacc file (json.y): yacc -d json.y\n- This will generate files named y.tab.c and y.tab.h.\n- Compile the parser: gcc lex.yy.c y.tab.c -o json-parser -ll -ly\n- This will generate an executable named json-parser.\n\n### Usage Run the parser\n- ./json-parser \u003c input.json\nReplace input.json with the path to your JSON input file.\n\n### Document\nProject documentation can be found [here!](https://drive.google.com/file/d/1uxOyHRdZt6acDpSJiHbNwzTORLxZTxuC/view?usp=drive_link).\n\n### Contact Information\nFor inquiries or feedback, please contact **[Harsha G](mailto:harshag3106@gmail.com)**\n\n### Contributing\n🛠️ Contributions are welcome! Feel free to open an issue or submit a pull request with any improvements or bug fixes.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimharshag%2Fjson-parser-using-lex-yacc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fimharshag%2Fjson-parser-using-lex-yacc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimharshag%2Fjson-parser-using-lex-yacc/lists"}