Your comments

Maybe something like libinfinity could be used? http://gobby.0x539.de/trac/