/compile-time-string-validation

Companion repository for my "Validating strings at compile time" log post

Primary LanguageZigBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

Compile Time String Validation

Companion repository for my blog post "Compile Time String Validation"

This repository contains code for a couple of implementations of a dummy pledge function (based upon the pledge(2) system call in OpenBSD) that validates its arguments at compile time rather than run time.

The aim is to explore the compile time facilities of different languages.

CI Status

Language Status
D builds.sr.ht status
Nim builds.sr.ht status
Zig builds.sr.ht status