Version 131 is out.

 new new list compose Reply to this message Top page
Attachments:
+ (text/plain)
+ (text/html)

Delete this message
Author: Kaz Kylheku
Date:  
To: TXR Users
Subject: Version 131 is out.

Hi all,

TXR 131 is out. (Binaries at bintray).

This has some bugfixes only; see release notes.

I hadn't announced 130, which I put out on January 5. That introduced some cool new stuff.

I created a "stream adapter" object via which you can alter how a text stream is delimited into lines: it supports regex-based delimiting.

For instance if s is a stream, (record-adapter regex s) returns a stream which behaves just like s except that the the get-line stream operation uses the regular expression as a delimiter instead of the newline character. If the stream param is omitted, then *stdin* is used.

For instance: read null-character-separated environment strings from /proc/self/environ:

txr -p '(get-lines (record-adapter #/\xDC00/))' < /proc/self/environ

Cheers ...