path: root/lib/bld.sub
AgeCommit message (Collapse)Author
2018-05-31libflate (DEFLATE decoding)Quentin Carbonneaux
Hi, As an official summer of cod entry, here is a start for the libflate library, which will eventually contain Myrddin's [de]compression equipment. It currently exposes a single function const decode : (outf : bio.file#, inf : bio.file# -> std.result(void, err)) that decodes a DEFLATE stream in the inf file into the outf file. The function guarantees that it will not read more than necessary from inf to either, figure out that the stream is bogus, or fully uncompress the stream. I did my due diligence with respect to testing but I am not fully confident about the correctness of the implementation; feel free to add more tests, or test it on example files. I wish: - it was fast (don't expect gunzip's speed) - it was better tested - it had stricter format checks (e.g., checking for invalid Huffman codes) - I had implemented zlib/gzip decompression On the other hand, the current implementation is quite simple and appears to work. Cheers, -- q
2018-03-12Implement a few simple floating-point functionsS. Gilles
Proof of concept. Trunc/floor/ceil are probably the simplest FP functions that require bit-poking.
2017-12-30Start cleaning up libstd.Ori Bernstein
minor formatting, factoring out iterutil.
2017-09-10Fix typo.Ori Bernstein
2017-02-09Merge libjsonOri Bernstein
2016-11-24Rename 'libcryptohash' to 'libcrypto'Ori Bernstein
The ciphers are coming. Hold on to your hats. The ciphers are coming.
2016-09-08Add start of general string escaping library.Ori Bernstein
2016-06-02Add a file walking library.Ori Bernstein
2016-05-24Add testr library.Ori Bernstein
A simple, half-assed test framework.
2016-05-17New syntax for casts.Ori Bernstein
2016-05-05Integrate libthread into the build.Ori Bernstein
2015-11-24Add ini file parser.Ori Bernstein
2015-09-04Split lib/sys out of lib/stdOri Bernstein
2015-08-26Add missing build file.Ori Bernstein