carol-computer / carol

Programmable third party
12 stars 2 forks source link

Machines should get called when they are created #9

Open LLFourn opened 1 year ago

LLFourn commented 1 year ago

Binaries should have something like a "constructor" function to create a machine from them. The constructor takes the paramteriztion vector and can fail (in which case the machine fails to be created) i.e. It returns Result<(), String> where the String describes the failure reason. The constructor should run in the normal activation environment and I suppose it can be retried again later if it fails.