Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/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.
https://github.com/Pomax/A-binary-parser-generator
Last synced: 28 days ago
JSON representation
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.
- Host: GitHub
- URL: https://github.com/Pomax/A-binary-parser-generator
- Owner: Pomax
- Created: 2012-04-04T22:47:59.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2023-08-19T23:34:10.000Z (over 1 year ago)
- Last Synced: 2024-10-31T18:37:59.440Z (about 1 month ago)
- Language: JavaScript
- Homepage:
- Size: 305 KB
- Stars: 38
- Watchers: 8
- Forks: 13
- Open Issues: 7
-
Metadata Files:
- Readme: README
Awesome Lists containing this project
- awesome-typography - 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. (JavaScript)
README
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.