Hi all,
TXR 100 is out today.
Binaries are available from SourceForge, as usual.
I wanted 100 to be somewhat of a "big" release. Not everything that I wanted made it in.
There are 9 new features and 10 bugfixes.
Among the highlights:
- Complementing the existing load directive, there is an include directive which loads code immediately an integrates it into the syntax tree. This is useful for files that contain Lisp macros, because those macros can then be used later in the same file where the @(include) appears.
- Macros are provided to make it easier to use the power of pattern functions out of Lisp code. These wrap the cumbersome match-fun function.
- New line and chr directives make it possible to anchor the matching to a line number or character position, or to capture the current line number or character position into a variable. For instance @(line 3) fails unless the current line is 3, and if foo has no binding, then @(line foo) captures the current line into foo.
A feature which didn't make it, which will probably be in 101 instead, is the ability load and run pure TXR Lisp files with no @ directive syntax. I have some of the work under way in a private branch. Lisp files will probably use a .txl suffix. I already have a working Vim syntax highlighting file for this. :)
Cheers ...