{"id":29436591,"url":"https://github.com/wzid/phi","last_synced_at":"2025-07-13T05:03:31.837Z","repository":{"id":283741200,"uuid":"945584424","full_name":"wzid/phi","owner":"wzid","description":"A compiler written in C using LLVM","archived":false,"fork":false,"pushed_at":"2025-07-12T17:22:33.000Z","size":62,"stargazers_count":31,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-12T19:29:07.002Z","etag":null,"topics":["c","compiler","llvm","llvm-frontend"],"latest_commit_sha":null,"homepage":"","language":"C","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/wzid.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,"zenodo":null}},"created_at":"2025-03-09T18:59:36.000Z","updated_at":"2025-07-10T18:35:02.000Z","dependencies_parsed_at":"2025-04-30T05:24:19.113Z","dependency_job_id":"8b375d35-c5d8-40a5-be5f-f13ab38f2aab","html_url":"https://github.com/wzid/phi","commit_stats":null,"previous_names":["wzid/spunc","wzid/phi"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/wzid/phi","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wzid%2Fphi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wzid%2Fphi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wzid%2Fphi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wzid%2Fphi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wzid","download_url":"https://codeload.github.com/wzid/phi/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wzid%2Fphi/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265091726,"owners_count":23710031,"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":["c","compiler","llvm","llvm-frontend"],"created_at":"2025-07-13T05:01:56.676Z","updated_at":"2025-07-13T05:03:31.770Z","avatar_url":"https://github.com/wzid.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# phi φ\nA compiler written in C using LLVM\n\nThe name is inspired from [Euler's totient function](https://en.wikipedia.org/wiki/Euler%27s_totient_function) which is also called Euler's phi function.\n\nWatch my devlogs on YouTube [here](https://www.youtube.com/watch?v=QPHYcFLAWoo\u0026list=PLEgtx_e7NiZeAXGu8U04pLPKDU5zTNG4M\u0026index=3)!\n\n\n## syntax\n```\nfunc get_name(): string =\u003e \"phi\";\n\n// it would be cool if I could remove the : int and just infer the return type\nfunc add_five(a: int): int =\u003e a + 5;\n\nfunc main() {\n    string name = get_name();\n    int result = add_five(5);\n    print(name);\n    print(result);\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwzid%2Fphi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwzid%2Fphi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwzid%2Fphi/lists"}