{"id":48448571,"url":"https://github.com/thezaplang/zap","last_synced_at":"2026-04-06T19:02:41.521Z","repository":{"id":328636014,"uuid":"1115877197","full_name":"thezaplang/zap","owner":"thezaplang","description":"The Zap Programing Language","archived":false,"fork":false,"pushed_at":"2026-04-05T19:51:09.000Z","size":7020,"stargazers_count":27,"open_issues_count":21,"forks_count":7,"subscribers_count":2,"default_branch":"main","last_synced_at":"2026-04-05T21:17:07.982Z","etag":null,"topics":["compiler","programming-language","zap"],"latest_commit_sha":null,"homepage":"https://zaplang.xyz","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/thezaplang.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":"SECURITY.md","support":null,"governance":null,"roadmap":"ROADMAP.md","authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-12-13T18:28:16.000Z","updated_at":"2026-04-05T19:50:43.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/thezaplang/zap","commit_stats":null,"previous_names":["ignislang/ignis","thezaplang/zap"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/thezaplang/zap","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thezaplang%2Fzap","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thezaplang%2Fzap/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thezaplang%2Fzap/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thezaplang%2Fzap/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thezaplang","download_url":"https://codeload.github.com/thezaplang/zap/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thezaplang%2Fzap/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31485516,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-06T17:22:55.647Z","status":"ssl_error","status_checked_at":"2026-04-06T17:22:54.741Z","response_time":112,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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","programming-language","zap"],"created_at":"2026-04-06T19:02:31.726Z","updated_at":"2026-04-06T19:02:41.505Z","avatar_url":"https://github.com/thezaplang.png","language":"C++","readme":"\u003ch1 align=\"center\"\u003eZap Programming Language\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"art/Logo.svg\" alt=\"Zap Logo\" width=\"275\" /\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://img.shields.io/badge/Status-Early%20Alpha-FF9800?style=for-the-badge\" /\u003e\n  \u003cimg src=\"https://img.shields.io/badge/License-Apache%202.0-4CAF50?style=for-the-badge\u0026logo=apache\u0026logoColor=white\" /\u003e\n  \u003ca href=\"https://github.com/thezaplang/zap\"\u003e\n    \u003cimg src=\"https://img.shields.io/github/stars/thezaplang/zap?style=for-the-badge\" /\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n\u003e Systems programming that doesn't get in your way.\n\nYou want predictable performance. No GC pauses. Real enums.\nError handling that doesn't look like noise.\n\n**Zap is a systems language built for developers who know Go\nor are ready to step into systems programming.** ARC memory\nmodel, LLVM backend, modern syntax. Write low-level software\nwithout low-level frustration.\n\n[Discord](https://discord.gg/cVGqffBA6m) · [Roadmap](ROADMAP.md)\n\n---\n\n## Why Zap?\n\n\u003e [!WARNING]\n\u003e Early alpha — not everything is implemented yet.\n\n| Problem | Zap's answer |\n|---|---|\n| GC pauses \u0026 unpredictable latency | ARC, memory freed deterministically |\n| No real enums | Enums with exhaustive pattern matching |\n| Verbose error handling | Failable functions |\n| Limited generics | Full static generics |\n| Concise conditional expressions | Ternary operator `?:` |\n| Single-platform compilers | LLVM: x86, ARM, RISC-V, WASM, embedded |\n| No lightweight concurrency | Fibers, like goroutines without the runtime cost |\n\n---\n\n## Error Handling\n\n\u003e [!WARNING]\n\u003e Not yet implemented.\n\nZap uses **failable functions**: functions that can fail declare it explicitly in their return type.\n\n```zap\nenum MathError { DivisionByZero, Overflow }\n\nfun divide(a: Int, b: Int) Int!MathError {\n    if b == 0 { fail MathError.DivisionByZero; }\n    return a / b;\n}\n\nfun main() Int {\n    // propagate up with ?\n    var x: Int = divide(10, 2)?;\n\n    // fallback value\n    var y: Int = divide(10, 0) or 0;\n\n    // handle locally\n    var z: Int = divide(10, 0) or err {\n        return 1;\n    };\n\n    return 0;\n}\n```\n\n---\n\n## Contributing\n\nZap is in early alpha. **Your feedback directly shapes the language.**\n\n- open issues\n- discuss language design\n- implement features\n- improve diagnostics\n- write documentation\n\n---\n\n## Star History\n\n\u003ca href=\"https://www.star-history.com/?repos=thezaplang%2Fzap\u0026type=date\u0026legend=top-left\"\u003e\n \u003cpicture\u003e\n   \u003csource media=\"(prefers-color-scheme: dark)\" srcset=\"https://api.star-history.com/image?repos=thezaplang/zap\u0026type=date\u0026theme=dark\u0026legend=top-left\" /\u003e\n   \u003csource media=\"(prefers-color-scheme: light)\" srcset=\"https://api.star-history.com/image?repos=thezaplang/zap\u0026type=date\u0026legend=top-left\" /\u003e\n   \u003cimg alt=\"Star History Chart\" src=\"https://api.star-history.com/image?repos=thezaplang/zap\u0026type=date\u0026legend=top-left\" /\u003e\n \u003c/picture\u003e\n\u003c/a\u003e\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthezaplang%2Fzap","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthezaplang%2Fzap","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthezaplang%2Fzap/lists"}