{"id":24231536,"url":"https://github.com/robinblomberg/sqlite-compiler","last_synced_at":"2026-04-24T12:02:34.132Z","repository":{"id":122865925,"uuid":"322793503","full_name":"RobinBlomberg/sqlite-compiler","owner":"RobinBlomberg","description":"Well-tested SQLite compiler that covers the entire SQLite specification.","archived":false,"fork":false,"pushed_at":"2024-01-02T10:02:51.000Z","size":847,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-14T14:20:05.828Z","etag":null,"topics":["sqlite"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/RobinBlomberg.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}},"created_at":"2020-12-19T07:38:18.000Z","updated_at":"2021-12-02T20:52:09.000Z","dependencies_parsed_at":"2023-12-14T10:43:03.731Z","dependency_job_id":null,"html_url":"https://github.com/RobinBlomberg/sqlite-compiler","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/RobinBlomberg%2Fsqlite-compiler","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RobinBlomberg%2Fsqlite-compiler/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RobinBlomberg%2Fsqlite-compiler/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RobinBlomberg%2Fsqlite-compiler/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RobinBlomberg","download_url":"https://codeload.github.com/RobinBlomberg/sqlite-compiler/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241828200,"owners_count":20026863,"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":["sqlite"],"created_at":"2025-01-14T14:20:07.122Z","updated_at":"2026-04-24T12:02:29.111Z","avatar_url":"https://github.com/RobinBlomberg.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SQLite compiler\r\n\r\nA library for compiling SQLite AST nodes into SQLite.\r\n\r\n## Installation\r\n\r\n```sh\r\nnpm install @robinblomberg/sqlite-compiler\r\n```\r\n\r\n## Usage\r\n\r\n```js\r\nimport { Nodes } from '@robinblomberg/sqlite-ast';\r\nimport { compile } from '@robinblomberg/sqlite-compiler';\r\n\r\ncompile(\r\n  Nodes.SelectStmt(\r\n    null,\r\n    [\r\n      Nodes._SelectClause(\r\n        null,\r\n        [Nodes.ResultColumn(Nodes._Identifier('result-column'))],\r\n        [\r\n          Nodes._TableQueryClause([\r\n            Nodes._TableSelectClause(\r\n              Nodes.SelectStmt(\r\n                null,\r\n                [\r\n                  Nodes._SelectClause(\r\n                    null,\r\n                    [Nodes.ResultColumn(Nodes._NumericLiteral(1))],\r\n                    [],\r\n                    null,\r\n                    null,\r\n                    [],\r\n                  ),\r\n                ],\r\n                null,\r\n              ),\r\n              null,\r\n            ),\r\n            Nodes.QualifiedTableName(\r\n              Nodes._Identifier('table-name'),\r\n              Nodes._Identifier('table-alias'),\r\n              null,\r\n            ),\r\n          ]),\r\n        ],\r\n        null,\r\n        null,\r\n        [],\r\n      ),\r\n    ],\r\n    null,\r\n  ),\r\n);\r\n// 'SELECT result-column FROM ((SELECT 1), table-name AS table-alias)'\r\n```\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobinblomberg%2Fsqlite-compiler","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frobinblomberg%2Fsqlite-compiler","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobinblomberg%2Fsqlite-compiler/lists"}