Open dorkamotorka opened 3 years ago
I have minimal experience with SPARK, but my understanding is that compilation is the same, and so it should work for SPARK client code. As for verification, my intuition is that running the prover after setting the appropriate environment should be doable too.
The Ada library itself is heavily reliant on the C client library, so there are lots of hidden pointers. I'm unsure about how hard would be to provide some SPARK assurances on RCLAda itself as it is now. There should be no heap allocations after initialization in RCLAda though.
We have a mid-term plan on trying to implement some algorithm with some level of SPARK assurance, so definitely this is something we are going to attempt at some point.
Thanks for a lengthy answer.
Can integration of Ada and ROS2 be used/tested with SPARK?