Implementation of a simple dimensionality checking system in Ada 2012

Edmond Schonberg, Vincent Pucci · 2012

We present the design and implementation of a dimensionality checking system in Ada 2012. The system is implemented in the GNAT compiler, and performs compile-time checks to verify the dimensional consistency of physical computations. The system allows the user to define his own system of units, and imposes no run-time changes nor multiple compilation passes on the user.

Read the paper · More papers on PaperTik