Comments (2)
As noted in 29e897a I just removed the spaces from the definition source lines and all was well. If I left the spaces embedded, e.g.
USHORT[segCountX2 / 2] startCount
then it would leave trash at end of the following line.
That is, this was surprising and distressing, but there was a workaround. :)
from a-binary-parser-generator.
aye. turning the parser into a true AST builder (probably using the struct.js from the CFF-Glyphlet-Font repo) should solve this problem later, taking out the spaces for now seems imminently sensible
from a-binary-parser-generator.
Related Issues (8)
- fill in empty OpenType.spec tables
- figure out how to add custom decoders
- add Endian indicators
- consider an include for sub specs?
- GSUB spec errors on Adobe Garamond Pro
- Opentype.spec missing ClassDef tables HOT 1
- Thank you for making this + suggestion to make parser output more human-understandable HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from a-binary-parser-generator.