{"id":16755761,"url":"https://github.com/simplydanny/bitsy-llvm","last_synced_at":"2025-04-10T16:50:48.542Z","repository":{"id":42908395,"uuid":"301179528","full_name":"SimplyDanny/bitsy-llvm","owner":"SimplyDanny","description":"Compiler for the Bitsy language based on LLVM.","archived":false,"fork":false,"pushed_at":"2023-12-06T19:22:39.000Z","size":97,"stargazers_count":7,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-24T14:41:10.158Z","etag":null,"topics":["compiler","llvm"],"latest_commit_sha":null,"homepage":"","language":"C++","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/SimplyDanny.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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":"2020-10-04T16:55:00.000Z","updated_at":"2025-03-18T14:55:24.000Z","dependencies_parsed_at":"2023-12-06T20:28:19.545Z","dependency_job_id":"98153933-e034-4c05-b557-dc8383395151","html_url":"https://github.com/SimplyDanny/bitsy-llvm","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/SimplyDanny%2Fbitsy-llvm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SimplyDanny%2Fbitsy-llvm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SimplyDanny%2Fbitsy-llvm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SimplyDanny%2Fbitsy-llvm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SimplyDanny","download_url":"https://codeload.github.com/SimplyDanny/bitsy-llvm/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248255792,"owners_count":21073381,"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":["compiler","llvm"],"created_at":"2024-10-13T03:23:42.856Z","updated_at":"2025-04-10T16:50:48.519Z","avatar_url":"https://github.com/SimplyDanny.png","language":"C++","readme":"# BitsyLLVM\n\n![CMake Build](https://github.com/SimplyDanny/bitsy-llvm/workflows/CMake%20Build/badge.svg)\n\nBitsyLLVM (also \"bitsyc\") is a compiler for the\n[Bitsy](https://github.com/apbendi/bitsyspec) language implemented in C++ using\nthe [LLVM](https://llvm.org) framework to handle the code generation step.\n\n## Building\n\nAfter cloning this repository, create a `build` folder at the project root,\nenter it\n\n    mkdir -p bitsy-llvm/build\n    cd bitsy-llvm/build\n\nand run CMake like:\n\n    cmake                                       \\\n        -DCMAKE_C_COMPILER=clang                \\\n        -DCMAKE_CXX_COMPILER=clang++            \\\n        -DLLVM_DIR=/path/to/llvm/installation   \\\n        ..\n\nMake sure that there is an installation of LLVM on your system. Although not\nstrictly necessary, it is recommended to use the Clang compiler bundled with the\nLLVM installation to build bitsyc. The same compiler may be used at runtime if\nbitsyc is asked to produce an executable of a given Bitsy program instead of\nexecuting it just-in-time. CMake needs to find the LLVM configuration\n(`LLVM_DIR`). In case you do not use your system's default compiler, make sure\nthat the values of `CMAKE_C_COMPILER` and `CMAKE_CXX_COMPILER` can be found in\nthe `PATH` or use absolute paths.\n\nFinally, build bitsyc with the build tool (Make, Ninja, ...) CMake has chosen or\nwhich you specified in the `cmake` call above with the `-G` argument. Depending\non the chosen build tool, the bitsyc executable is located somewhere in `build`,\ntypically (for Make, Ninja, ...) it is `build/bitsyc`.\n\n## Usage\n\nThe compiler bitsyc accepts some command line options. They can be displayed by\n`bitsyc --help`. By default the compiler executes the given Bitsy program\ndirectly and prints its output to standard output. All intermediate files will\nbe put into a temporary directory on your system.\n\nYou may pass the path to bitsyc to the `runspec` script in the\n[Bitsy](https://github.com/apbendi/bitsyspec) repository to run all its\n[reference tests](https://github.com/apbendi/bitsyspec#usage) against it.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimplydanny%2Fbitsy-llvm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsimplydanny%2Fbitsy-llvm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimplydanny%2Fbitsy-llvm/lists"}