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