{"id":24714104,"url":"https://github.com/1ilit/oracle-sql-parser","last_synced_at":"2025-06-23T07:03:43.549Z","repository":{"id":273233202,"uuid":"853163258","full_name":"1ilit/oracle-sql-parser","owner":"1ilit","description":"Spec compliant SQL parser and AST explorer for Oracle","archived":false,"fork":false,"pushed_at":"2025-04-18T18:30:33.000Z","size":1347,"stargazers_count":6,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-19T16:19:12.534Z","etag":null,"topics":["ast","ast-explorer","oracle","oracle-database","parser","pegjs"],"latest_commit_sha":null,"homepage":"https://1ilit.github.io/oracle-sql-parser/","language":"PEG.js","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/1ilit.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":"2024-09-06T05:40:22.000Z","updated_at":"2025-04-18T18:30:06.000Z","dependencies_parsed_at":"2025-01-19T17:26:57.296Z","dependency_job_id":"96596a4f-925a-42df-ac3c-6756d6cc630a","html_url":"https://github.com/1ilit/oracle-sql-parser","commit_stats":null,"previous_names":["1ilit/oracle-sql-parser"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/1ilit/oracle-sql-parser","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/1ilit%2Foracle-sql-parser","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/1ilit%2Foracle-sql-parser/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/1ilit%2Foracle-sql-parser/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/1ilit%2Foracle-sql-parser/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/1ilit","download_url":"https://codeload.github.com/1ilit/oracle-sql-parser/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/1ilit%2Foracle-sql-parser/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261392182,"owners_count":23151719,"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","ast-explorer","oracle","oracle-database","parser","pegjs"],"created_at":"2025-01-27T08:15:07.147Z","updated_at":"2025-06-23T07:03:38.535Z","avatar_url":"https://github.com/1ilit.png","language":"PEG.js","funding_links":[],"categories":[],"sub_categories":[],"readme":"# oracle-sql-parser\n\nSimple SQL parser and [AST explorer](https://1ilit.github.io/oracle-sql-parser/) for Oracle SQL following the [Oracle Database Language Reference](https://docs.oracle.com/en/database/oracle/oracle-database/21/sqlrf/index.html).\n\n## Usage\n\n#### Install the package:\n\n```sh\nnpm i oracle-sql-parser\n```\n\n#### Parse and print:\n\n```js\nconst { Parser } = require('oracle-sql-parser');\n\nconst parser = new Parser();\n\nconst sql = 'CREATE TABLE users (id integer);';\nconst ast = parser.parse(sql);\n\nconsole.log(ast);\n```\n\n## Run locally\n\n```sh\ngit clone https://github.com/1ilit/oracle-sql-parser.git\ncd oracle-sql-parser\nnpm i\nnpm test\n```\n\n## Scripts\n\nGenerate the parser in `./build/parser.js`\n\n```sh\nnpm run generate\n```\n\nGenerate and minify the parser in `./build/parser.js`\n\n```sh\nnpm run build\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F1ilit%2Foracle-sql-parser","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F1ilit%2Foracle-sql-parser","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F1ilit%2Foracle-sql-parser/lists"}