{"id":20997627,"url":"https://github.com/v-pan/do-compiler","last_synced_at":"2025-07-16T07:47:49.306Z","repository":{"id":189409834,"uuid":"679941665","full_name":"v-pan/do-compiler","owner":"v-pan","description":"Experimenting with creating a data oriented compiler, inspired by Carbon","archived":false,"fork":false,"pushed_at":"2024-10-29T16:44:10.000Z","size":144,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-13T13:22:52.093Z","etag":null,"topics":["compiler","data-oriented"],"latest_commit_sha":null,"homepage":"","language":"Rust","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/v-pan.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":"2023-08-18T01:25:39.000Z","updated_at":"2024-10-29T16:44:14.000Z","dependencies_parsed_at":"2024-01-09T17:42:47.650Z","dependency_job_id":"7175bb3a-aefa-4084-9927-cc084d8685fd","html_url":"https://github.com/v-pan/do-compiler","commit_stats":null,"previous_names":["v-pan/llvm-compiler","v-pan/do-compiler"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/v-pan/do-compiler","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/v-pan%2Fdo-compiler","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/v-pan%2Fdo-compiler/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/v-pan%2Fdo-compiler/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/v-pan%2Fdo-compiler/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/v-pan","download_url":"https://codeload.github.com/v-pan/do-compiler/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/v-pan%2Fdo-compiler/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265493422,"owners_count":23776247,"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","data-oriented"],"created_at":"2024-11-19T07:41:07.805Z","updated_at":"2025-07-16T07:47:49.246Z","avatar_url":"https://github.com/v-pan.png","language":"Rust","readme":"# do-compiler\nExperimenting with creating a data oriented compiler, inspired by [this talk](https://youtu.be/ZI198eFghJk) about Carbon.\n\nAs the current purpose of this compiler implementation is mostly to learn, this is a \"half-blind\" implementation.\nThis means that features are first implemented using as little research as possible to begin with, to as high of a standard as I'm currently able.\nI then research and implement more standard techniques, with my prior implementation serving as a comparison point for my own learning.\n\nDespite being a basis to learn about compilers, this project is intended to seriously strive to reach a pair of goals:\n\n1. Compilation should be fast.\n    - Specifically I'm aiming for the same average runtime goals as mentioned in [the above talk](https://youtu.be/ZI198eFghJk) of:\n      - Lexing and parsing at 100 ns/line.\n      - Semantic analysis at 1 μs/line.\n2. Compilation should be descriptive. Error diagnostics should be clear, reference related code as precisely as possible, and suggest context sensitive helpful changes.\n\nWhile inspiration will inevitably be taken from Carbon's toolchain, I expect this project to diverge in approach with time as the above goals are reconsidered, and I learn about other language/compiler's approaches (eg. Zig).\n\nCurrently there is no specific language syntax being implemented, and this is intentional.\nI expect that this approach to writing a compiler will impose restrictions on, or benefit greatly from language design that is aware of compiler internals.\nCurrently the syntax is being heavily inspired by Rust, Kotlin and Crystal.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fv-pan%2Fdo-compiler","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fv-pan%2Fdo-compiler","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fv-pan%2Fdo-compiler/lists"}