Re: [racket] Binary class: general approach to binary data parsing and writing

2014-07-01 Thread Roman Klochkov
I made package 'binary-class-exif' It does nearly the same that racket-mediafile, but uses binary-class, and so may write changes back I cant't understand, why it gives different result for exif:user-comment when reading canon-ixus.jpg from examples from racket-mediafile. binary-class-exif giv

Re: [racket] Binary class: general approach to binary data parsing and writing

2014-06-15 Thread Roman Klochkov
> read a value that  is an offset from some other position (from top of file, start of  header, current position...) It is possible. In my DBF file parser I have goto-bof and goto-record. I'll think about generalization/standartization for it. > to follow linked lists Not yet understand, how l

Re: [racket] Binary class: general approach to binary data parsing and writing

2014-06-15 Thread Neil Van Dyke
Roman, this looks good. I think one good test of your abstractions would be to parse JPEG Exif with some MakerNotes. IIRC, you have to things like read a value that is an offset from some other position (from top of file, start of header, current position...), to follow linked lists, and to h