{"id":18864567,"url":"https://github.com/euantorano/compile-time-string-validation","last_synced_at":"2026-05-07T05:33:03.986Z","repository":{"id":149063533,"uuid":"271121974","full_name":"euantorano/compile-time-string-validation","owner":"euantorano","description":"Companion repository for my \"Validating strings at compile time\" log post","archived":false,"fork":false,"pushed_at":"2020-06-10T07:21:13.000Z","size":10,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-30T14:20:31.223Z","etag":null,"topics":["compile-time-checking","dlang","nim","zig"],"latest_commit_sha":null,"homepage":"https://www.euantorano.co.uk/posts/compile-time-string-validation/","language":"Zig","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/euantorano.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":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-06-09T22:23:29.000Z","updated_at":"2023-10-17T09:52:48.000Z","dependencies_parsed_at":null,"dependency_job_id":"3d350439-1bcc-4feb-9f2d-2eac6c336360","html_url":"https://github.com/euantorano/compile-time-string-validation","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/euantorano/compile-time-string-validation","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/euantorano%2Fcompile-time-string-validation","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/euantorano%2Fcompile-time-string-validation/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/euantorano%2Fcompile-time-string-validation/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/euantorano%2Fcompile-time-string-validation/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/euantorano","download_url":"https://codeload.github.com/euantorano/compile-time-string-validation/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/euantorano%2Fcompile-time-string-validation/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32724522,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-07T02:14:30.463Z","status":"ssl_error","status_checked_at":"2026-05-07T02:14:29.405Z","response_time":62,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":["compile-time-checking","dlang","nim","zig"],"created_at":"2024-11-08T04:42:03.398Z","updated_at":"2026-05-07T05:33:03.970Z","avatar_url":"https://github.com/euantorano.png","language":"Zig","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Compile Time String Validation\n\nCompanion repository for my blog post [\"Compile Time String Validation\"](https://www.euantorano.co.uk/posts/compile-time-string-validation/)\n\nThis repository contains code for a couple of implementations of a dummy `pledge` function (based upon the [`pledge(2)`](https://man.openbsd.org/pledge.2) system call in OpenBSD) that validates its arguments at compile time rather than run time.\n\nThe aim is to explore the compile time facilities of different languages.\n\n## CI Status\n\n| Language | Status |\n| -------- | ------ |\n| D | [![builds.sr.ht status](https://builds.sr.ht/~euantorano/compile-time-string-validation/commits/d.yml.svg)](https://builds.sr.ht/~euantorano/compile-time-string-validation/commits/d.yml?) |\n| Nim | [![builds.sr.ht status](https://builds.sr.ht/~euantorano/compile-time-string-validation/commits/nim.yml.svg)](https://builds.sr.ht/~euantorano/compile-time-string-validation/commits/nim.yml?) |\n| Zig | [![builds.sr.ht status](https://builds.sr.ht/~euantorano/compile-time-string-validation/commits/zig.yml.svg)](https://builds.sr.ht/~euantorano/compile-time-string-validation/commits/zig.yml?) |","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feuantorano%2Fcompile-time-string-validation","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feuantorano%2Fcompile-time-string-validation","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feuantorano%2Fcompile-time-string-validation/lists"}