Simon Cruanes
5e0052af14
Bij.TrBencode with more functions;
...
Bencode.parse_resume function to resume parsing of buffer
2013-09-28 10:40:25 +02:00
Simon Cruanes
e1064845a7
much simpler Bij module:removed the generic encoding/decoding
...
stuff, replaced by translation to/from Bencode;
switch now based on strings rather than chars to choose branch;
fix uses a lazy value rather than a function
2013-09-28 01:31:19 +02:00
Simon Cruanes
ec41b0397d
added a few helpers to Bij
2013-05-20 12:36:55 +02:00
Simon Cruanes
44bd29766c
in bij, EOF -> DecodingError
2013-05-15 18:09:24 +02:00
Simon Cruanes
5c11f945b9
update of Bij.version
2013-05-15 17:59:19 +02:00
Simon Cruanes
a893e6c0eb
4-ary and 5-ary tuples in Bij
2013-05-15 16:41:32 +02:00
Simon Cruanes
9d1843ecf8
Bij.{guard,fix} helpers
2013-05-15 15:11:54 +02:00
Simon Cruanes
98ce2aa394
removed the useless argument of Bij.BranchTo
2013-05-15 12:09:29 +02:00
Simon Cruanes
fb04d0e1c5
better, although more complicated, system for switch
2013-05-15 12:05:02 +02:00
Simon Cruanes
1e72332ac6
easier to use interface for Bij.Sexpr
2013-05-15 11:23:36 +02:00
Simon Cruanes
a570a34951
modules everywhere for sources, sinks, encoders, decoders...;
...
more primitives in Sink; direct access to eof/cur/junk in Source
2013-05-15 11:12:53 +02:00
Simon Cruanes
a41baa1174
Bij.decode starts to work;
...
more thorough tests (for big int lists)
2013-05-15 10:31:12 +02:00
Simon Cruanes
20097ddae3
Bij module, a try at the serialization problem using GADT
2013-05-14 18:32:23 +02:00