CB2XML (CopyBook to XML) is a COBOL CopyBook to XML converter written in Java and based on the SableCC parser generator. This project includes utilities to convert an XML instance file into its COBOL copybook equivalent string buffer and vice versa.
Source is now available in GitHub: https://github.com/bmTas/cb2xml
From a description of a protocol in OpenDocument format, generate a C parser for this protocol.
For now supports only binary protocols with fixed-size frames (several frames can have different sizes but a frame shall always have the same size).
- Verify validity of each field of a frame before validating the frame and copying its content to a destination dictionnary.
Can be used to generate parsers for CAN protocols like J1939, custom serial protocols...