Pomax / A-binary-parser-generator

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.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

A tool for generating binary data parsers, based on
a spec file that tells us what the data layout is.

Because "why on earth do I have to write a parser
from scratch when the spec is right there?"

A demonstrator is currently up on:

http://pomax.nihongoresources.com/pages/ABinaryParserGenerator/

You can also run the index.html file from the test
dir, however, you will have to get some of your own
fonts to test with, and update the test.js file so
that the ttf and cff font refernces have the right
names.

(NOTE: This project depends on jDataView, which
can be found at https://github.com/vjeux/jDataView)

See the comments in transform.js for more info.

About

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.


Languages

Language:JavaScript 48.9%Language:Python 47.4%Language:HTML 2.0%Language:CSS 1.7%