Wednesday, June 30, 2010

MFL and Excel

I don't think anybody in his right state of mind would actually use the Format Builder graphical tool to write MFL files.

In fact the MFL file is a simple XML file, I found it very convenient to stick the structure of my binary message in an Excel file, and generate the XML using simple Excel formulas.

Most of the time you use only a few MFL options so it's pretty trivial to generate automatically the XML file.

I wish I had the time to develop some sort of DSL or something.... the MFL.DTD is here

Here I generated the equivalent XSD:

No comments: