Hi all,
TXR 136 is out. Binaries at Bintray, as usual.
- TXR pattern language: In this release there are some improvements in the output side of the TXR extraction language. The @(output) directive can take a stream object as a destination. The @(repeat) and @(rep) directives can bind variables over their block scope: the purpose is that you can bind the value of some expression to a variable, and then occurrences of that variable in the block will be repeated over.
- streams: There are improvements in the open-file mode strings. There are more options (for specifying buffer sizes, and unbuffered and line-buffered mode) and the syntax is less strict. For instance if you want "r+" you can just write "+" and "1" is a complete mode string which means "r1": read with a buffer size of order 1 (2048 bytes).
- sockets: The sock-connect and sock-accept functions now have an optional timeout. I/O operations can also be set up to time out. The new buffer size control on streams (via the mode string) sets up the capture size for datagram sockets.
Plus some little bug fixes.
Cheers ...