FCP is an interface description language to exchange information independently of language and platform.
$ pip install fcp
version: "3"
use temperature::Temperature;
/*this is a comment*/
enum SensorState {
Off;
On;
Error;
};
struct SensorInformation {
temperature @ 0: Temperature;
sensor_state @ 1: SensorState
};
See readthedocs.io