Hands up: who likes reading and writing binary structures?
Hands up: who likes parsing and writing binary structures?
OK, great. All of you are free to go.
OK, just a few of you, in the back. You're free to go.
Everyone else: keep reading. This library is for you.
Everyone else: Xenomorph eases the pain of working with binary formats. Instead of fiddling with counting bytes:
@italic{Derived principally from Devon Govett's @link["https://github.com/devongovett/restructure"]{@tt{restructure}} library for Node.}
@itemlist[#:style 'ordered
@item{You build up a declaration of the binary format from its parts —like integers, strings, arrays, and pointers.}
@item{This declaration can then be used as a binary parser, converting a binary file to Racket values.}
@item{This same declaration can @emph{also} be used as a binary compiler, converting Racket values to a binary file.}
]
Derived principally from Devon Govett's @link["https://github.com/devongovett/restructure"]{@tt{restructure}} library for Node. Thanks for figuring out the hard parts, dude.
@section{Installation}
@ -31,7 +39,20 @@ After that, you can update the package from the command line:
Invoke the library in a source file by importing it in the usual way: @code{(require xenomorph)}.