logoalt Hacker News

thomasahle • today at 10:27 AM • 1 reply • view on HN

Rather than migrating all code to some new program language, I've been building ProgLib: https://github.com/thomasnormal/proglib which is like "MathLib for Programming".

It allows you to import code from any programming language (So far, Python, C++, Rust, and SystemVerilog are partially supported,) and prove stuff about it in Lean.

You don't need a "verifiable programming language". All you need is formalized semantics for the programming language you are already using.


Replies

le-mark • today at 1:32 PM

> All you need is formalized semantics for the programming language you are already using.

Iirc that in itself is a large hurdle to clear for most programming languages. I guess llms make that easier too?

➕ show 1 reply