Agena is an easy-to-learn procedural programming language suited to be used in scientific, educational, linguistic, and many other applications, including scripting.
What’s new in version 4.10.8
The delimiter to `strings.fields` may now include patterns and if you give field numbers to the function, you may put them in a table instead of a sequence. Example: > strings.fields('a bb c dddd', [2, 4], '%A'): # the delimiter pattern %A stands for any non-letter [bb, dddd]
If you would have passed the `init` option to `strings.fields`, Agena may have crashed. This has been fixed, as the undocumented option is now completely ignored by the function.
The factory produced by `strings.gseparate` missed the last word if a string ended with the delimiter. There was also a chance that in unfortunate circumstances, the factory returned by the function accessed invalid memory, ultimately crashing Agena. Both issues have been fixed.
`strings.remove` did not correctly support pattern matching, now it does.
This release has been Valgrind-checked on x86 Linux to ensure there are no internal errors or memory leaks.