act
act copied to clipboard
Further Refine AST
The following changes to the AST would proabaly be nice:
- Add a
Contracttype that bundles all constructors / methods / invariants / storage declarations for a particular contract. It would be nice if this had some constraints on the constructors (e.g. only one passing constructor). - Add a
Systemtype that is a collection of related contracts. In the future this could perhaps contain system level invariants
This opens some questions about modules and imports that I think requires a bit of thought
modules and imports at the haskell level or for the act language itself?
for act
ah, yes that is quite of an interesting rabbit hole...
Did you have some ideas in this area?
I've been having some vague thoughts around being able to export only invariants, and pre/post conditions from contracts for use in proving system level properties.