A-binary-parser-generator icon indicating copy to clipboard operation
A-binary-parser-generator copied to clipboard

This project aims to create a tool that can turn a spec file into a parser skeleton for binary data files such as OpenType fonts, PNG images, etc.

Results 7 A-binary-parser-generator issues
Sort by recently updated
recently updated
newest added

Hey, this tool is awesome, thanks for making this. One suggestion would be to make the file illustrations self-describing. So allow each field in the file spec to have a...

enhancement
help wanted

The RegExp for this is currently ``` search = "([ \\t]*)([\\w_]+)\\[([^\\.\\s]+(\\s*[\\+\\-\\*\\/]\\s*[^)]+)*)\\]\\s*(\\w+)($|\s*[^O])"; ``` but this should be ``` search = "([ \\t]*)([\\w_]+)\\[([^\\.\\s]+(\\s*[\\+\\-\\*\\/]\\s*[^\\]]+)*)\\]\\s*(\\w+)($|\s*[^O])"; ``` difference is in matching until ^] rather than...

loading Ubuntu Mono works fine for GSUB, Adobe Garamond Pro causes parse errors in GSUB on LangSysTable

bug

Does it make sense to add an include for sub specs, such as the CFF spec inside the OpenType spec?

not all data types are created equal, and some binary files have a strict endian policy, whereas others do not. This needs some kind of spec indicator, probably the easiest...

CFF and PNG required additional data unpacking, using more than just byte sequence reading. Find out what a good way is to get this to work without introducing a specific...

several opentype tables are empty collections at the moment, and should be filled in.