I've written universal library for parsing binary files or their parts into
Racket objects.
You may install it with 'raco pkg install binary-class'. This library has
verbose documentation and easy syntax.
You simply describe your data in terms of class fields and load the object from
the file.
I've written parsers for MP3 ID3 tags (binary-class-mp3 package) and DBF files
(binary-class-dbf package, no docs yet, only Readme at
https://github.com/Kalimehtar/binary-class-dbf ). You may treat them as usage
examples for the library.
Please, give me feedback. Maybe I can do something better, or maybe somebody
write another file format to the library.
--
Roman Klochkov
____________________
Racket Users list:
http://lists.racket-lang.org/users