Previous Entry Share Next Entry
05:31 pm, 22 Mar 04

xmlreader, aggregator

New version of my OCaml-libxml2-xmlreader bindings at the usual place. I know at least Josh has played with it... it now properly finalizes the pointer and has some fancy functions for handing in lists of parser options, etc.

I feel pretty comfortable about writing C-OCaml bindings now. It's weird how you handle things like options and lists; pretty unlike any other binding language I've ever seen.

By the way, is there any functionality like Perl's "pack" function? I wanted to write some network packets out but all I could think to do was do it in C and pass in data structures, which is definitely not The Way.

I figure that project is small enough to be finishable, so I ought to at least do that so all of my efforts don't go to waste.

I like OCaml a lot, but don't get me wrong: I also am quite frustrated by its limitations. I read about G'Caml and lust. Etc., etc.

Too many LiveJournals for me to read, and LJ is too slow for me to be able to read them at a pace I'm comfortable with. I keep thinking about fun things I could do in an aggregator. Erik is a personal friend and I like following his life, but he tends to just repost articles from Slate 90% of the time—wouldn't it be fun if I could just filter those posts out automatically?