1. What have the authors contributed in "Datascript–a specification and scripting language for binary data" ?
DataScript consists of two components: a constraint-based specification language that uses DataScript types to describe the physical layout of data and a language binding that provides a simple programming interface to script binary data.. The authors show examples that demonstrate that DataScript is simple, yet powerful enough to describe many commonly used formats.
read more
2. What are some of the constraints that are included in binary formats?
Many binary formats include constraints that guarantee the consistency of the data, such as parameter ranges, length constraints, checksums and others.
read more
3. What is the purpose of the constraints in DataScript?
DataScript borrows its set of operators, associativity, and precedence rules from Java and C in the hope that doing so will facilitate adoption by tapping into programmers’ existing skill sets.
read more
4. What does the code generator do when parsing input?
When parsing input, it simply sets a mark in the input stream and reads the necessary numbers of bytes for the next field, performs byte-order swapping if necessary, and initializes the field.
read more




