Re:Show HN: Holos – Configure Kubernetes with CUE data struc...
by adsharma on Tuesday December 10, 2024 @07:46PM
(#42383445)
> Many general purpose languages support type checking, but few support constraints and validation of data. We must write our own validation logic which often means validation happens haphazardly, if at all.
Python with z3 and some AST magic can support constraint validation.
In fact, type checking can be seen as a form of that. I have a fork of typpete, a z3 based type checker from 3 years ago that should still work.
Python with z3 and some AST magic can support constraint validation.
In fact, type checking can be seen as a form of that. I have a fork of typpete, a z3 based type checker from 3 years ago that should still work.
https://adsharma.github.io/pysmt/