Hi,
 
i want to encode my network protocols inside a state machine which i derive from an abnf specification. Ideally i would like to generate the client and server side from
a single ABNF spec. Is this a valid approach and if so is there some OCaml open source project for reading abnf specs? 
 
I would also be very interested in how others approach encoding network protocols for distributed systems, especially with OCaml.
 
Best regards,
 
Florian