rhombus-prototype
rhombus-prototype copied to clipboard
Make an RFC for embedding types, contracts, and other specifications
A key idea, for me, is to be able to separate specifications from the code that uses them, so multiple modules can use the same specification. Here specification is types, contracts, tests, theorems that are true about the software, and so on.
Can you see this as a mechanism to compile code without contracts?
Yup. My perspective is that we should write down very expressive specifications (theorems and contracts with lots of dependencies and precision) and be able to smoothly compile them in a variety of policies from full enforcement and testing to no-seatbelts-or-helmets.
Categorizing as "yep moving on" on the grounds that annotations fit this idea.