{"id":29905526,"url":"https://github.com/project-tsurugi/takatori","last_synced_at":"2025-10-25T19:17:46.426Z","repository":{"id":197954645,"uuid":"220916679","full_name":"project-tsurugi/takatori","owner":"project-tsurugi","description":"Generic SQL intermediate representation for tsurugidb","archived":false,"fork":false,"pushed_at":"2025-06-13T03:23:44.000Z","size":1350,"stargazers_count":1,"open_issues_count":2,"forks_count":0,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-06-13T04:29:14.838Z","etag":null,"topics":["compiler","intermediate-representation","sql","tsurugidb"],"latest_commit_sha":null,"homepage":"https://tsurugidb.com","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/project-tsurugi.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":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2019-11-11T06:34:53.000Z","updated_at":"2025-06-13T03:23:47.000Z","dependencies_parsed_at":null,"dependency_job_id":"2b6102b7-4cfd-4d71-a885-9c89ff9410f9","html_url":"https://github.com/project-tsurugi/takatori","commit_stats":null,"previous_names":["project-tsurugi/takatori"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/project-tsurugi/takatori","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/project-tsurugi%2Ftakatori","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/project-tsurugi%2Ftakatori/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/project-tsurugi%2Ftakatori/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/project-tsurugi%2Ftakatori/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/project-tsurugi","download_url":"https://codeload.github.com/project-tsurugi/takatori/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/project-tsurugi%2Ftakatori/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268282397,"owners_count":24225164,"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","status":"online","status_checked_at":"2025-08-01T02:00:08.611Z","response_time":67,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["compiler","intermediate-representation","sql","tsurugidb"],"created_at":"2025-08-01T19:14:12.211Z","updated_at":"2025-10-25T19:17:46.343Z","avatar_url":"https://github.com/project-tsurugi.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Takatori - A generic SQL intermediate representation\n\n## Requirements\n\n* CMake `\u003e= 3.16`\n* C++ Compiler `\u003e= C++17`\n* and see *Dockerfile* section\n\n```sh\n# retrieve third party modules\ngit submodule update --init --recursive\n```\n\n### Dockerfile\n\n```dockerfile\nFROM ubuntu:22.04\n\nRUN apt update -y \u0026\u0026 apt install -y git build-essential cmake ninja-build libboost-container-dev libboost-stacktrace-dev libicu-dev flex bison\n```\n\noptional packages:\n\n* `doxygen`\n* `graphviz`\n* `clang-tidy-14`\n\n### Install dependent modules\n\n#### mpdecimal++ (`\u003e= 2.5.1`)\n\nNOTE: in Ubuntu 22.04, `libmpdec-dev` package is available.\n\n```sh\ncurl https://www.bytereef.org/software/mpdecimal/releases/mpdecimal-2.5.1.tar.gz | tar zxv\n\ncd mpdecimal-2.5.1\n./configure --prefix=/path/to/install\nmake -j4\nmake install # or sudo make install\n```\n\n#### GNU Bison `\u003e= 3.6`\n\nThis project requires GNU Bison `\u003e= 3.6`.\nPlease run `bison --version` and check the printed version.\n\n```sh\n# install packages to build bison\nsudo apt update -y\nsudo apt install -y curl m4\n\ncurl http://ftp.jaist.ac.jp/pub/GNU/bison/bison-3.6.4.tar.gz | tar zxv\ncd bison-3.6.4\n./configure --prefix=/path/to/install\nmake -j4\nmake install # or sudo make install\n```\n\nIf you install the above to a non-standard path, please specify `-DCMAKE_PREFIX_PATH=\u003c/path/to/install\u003e` to cmake.\n\n## How to build\n\n```sh\nmkdir -p build\ncd build\ncmake -G Ninja -DCMAKE_BUILD_TYPE=Release ..\ncmake --build .\n```\n\navailable options:\n\n* `-DCMAKE_INSTALL_PREFIX=/path/to/install-root` - change install location\n* `-DBUILD_SHARED_LIBS=OFF` - create static libraries instead of shared libraries\n* `-DBUILD_TESTS=OFF` - don't build test programs\n* `-DBUILD_DOCUMENTS=OFF` - don't build documents by doxygen\n* `-DBUILD_STRICT=OFF` - don't treat compile warnings as build errors\n\n### install\n\n```sh\ncmake --build . --target install\n```\n\n### run tests\n\n```sh\nctest\n```\n\n### generate documents\n\n```sh\ncmake --build . --target doxygen\n```\n\n## License\n\n[Apache License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fproject-tsurugi%2Ftakatori","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fproject-tsurugi%2Ftakatori","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fproject-tsurugi%2Ftakatori/lists"}