It should be possible to autogenerate the specification and code (in the sys module), from a data format.