{"id":24974391,"url":"https://github.com/narendraysf/ast2db","last_synced_at":"2025-04-19T03:21:17.600Z","repository":{"id":275401422,"uuid":"925975199","full_name":"NarendraYSF/AST2DB","owner":"NarendraYSF","description":"AST2DB is a powerful tool that utilizes clang to parse C/C++ source code, extract Abstract Syntax Tree (AST) information, and store it in an SQLite database.","archived":false,"fork":false,"pushed_at":"2025-02-21T06:51:44.000Z","size":28,"stargazers_count":22,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-29T06:44:54.661Z","etag":null,"topics":["ast","c","code-parsing","compiler-tool","cpp","sqlite","syntax-analysis"],"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/NarendraYSF.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":"2025-02-02T08:13:07.000Z","updated_at":"2025-03-27T08:38:18.000Z","dependencies_parsed_at":"2025-02-02T09:22:06.968Z","dependency_job_id":null,"html_url":"https://github.com/NarendraYSF/AST2DB","commit_stats":null,"previous_names":["narendraysf/ast2db-"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NarendraYSF%2FAST2DB","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NarendraYSF%2FAST2DB/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NarendraYSF%2FAST2DB/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NarendraYSF%2FAST2DB/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NarendraYSF","download_url":"https://codeload.github.com/NarendraYSF/AST2DB/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249598558,"owners_count":21297465,"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":["ast","c","code-parsing","compiler-tool","cpp","sqlite","syntax-analysis"],"created_at":"2025-02-03T20:03:55.814Z","updated_at":"2025-04-19T03:21:17.582Z","avatar_url":"https://github.com/NarendraYSF.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AST2DB\n\nAST2DB uses `clang` to parse C/C++ code and stores AST node information into an SQLite database.\n\n## Dependencies\n- [clang](https://clang.llvm.org/)\n\n## Development Environment\n\nCurrent development is completed in the following environment:\n- **Operating System**: linux-x86_64\n- **Compiler**: g++ (gcc version 14.2.1)\n- **Dependencies**\n  - **clang**: clang version 19.1.7\n\n## Usage\n```bash\n$ make # Compile\n$ make help # View help information\n$ ./build/demo \u003cTarget C/CPP File\u003e # Run\n```\n\n### Example\nUsing `./tests/slight.cc` as the target file for testing:\n```bash\n$ ./build/demo ./tests/slight.cc\n```\n\n## Features\n- [ ] Parse C/C++ code\n  - [x] Record variable declaration \u0026 reference nodes\n  - [x] Record function declaration \u0026 call nodes\n  ...\n- [ ] Store AST node information in an SQLite database\n- [ ] Support exporting query results as CSV files\n...\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnarendraysf%2Fast2db","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnarendraysf%2Fast2db","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnarendraysf%2Fast2db/lists"}