Skip to content

Drunken Dragon

Latest
Compare
Choose a tag to compare
@vygr vygr released this 02 May 10:16
· 1 commit to master since this release

Drunken Dragon

Mainly API improvements to give easier usage for most common forms. The nice side benefit is that we have seen a 30% speed up in system build times along with that.

API changes

  • Addition of \q wildcard, double quote, to regexp and charclass libs.

  • Addition of (files-all-depends) and (files-depends) to
    lib/files/files.inc library.

  • (split), (trim), (trim-start) and (trim-end) functions now takes an optional char-class as the split/trim string !

  • New (flatten list) -> list function in root.inc.

  • Change the argument ordering for the (sort list [cmp start end]) function and made the comparison function optional and default to cmp.

  • New (usort list [cmp start end]) utility function.

  • Iterator functions (each!), (some!), (map!) and (reduce!) now take arguments other than the lambda and the list of sequences as optionals !

  • (elem-set) and (dim-set) now return the target array not the value.

  • (elem-get), (elem-set), (dim-get) and (dim-set) now take the target array as the first argument.

  • (slice) now takes the target sequence as the first argument.

  • Introduce (redefun) and (redefmacro) ! If you are overriding an existing function or macro you must now use this declaration.

APP changes

  • Editor and Viewer app now support :top and :bottom cursor actions. cntl-home and cntl-end bindings.

  • Editor and Viewer app support for a cursor stack. cntl-d and cntl-D bindings for (action-push) and (action-pop). File will reload on pop, unless they have been deleted.

  • Editor now has key bindings for (action-load-depends) and (action-load-all-depends) on cntl-e and cntl-E. Acts on the current file as the source for the action.

  • Editor (action-find-function) binding on cntl-j, with (action-pop) on cntl-J for convenience.

  • Slowly but surely adding the usage lines for all the ffi bindings. This is particularly important now we have the jump to function, push/pop actions.

  • Added -d, -i and -a options to files command.

  • Fix for forward.lisp defs regexp !

  • (char-to-num) recoded to use ranges to specify the character regions.

  • Introduce the lambda shortcut macro early in the root.inc file.

As usual check the STATUS.md file for summaries of the changes.

Regards to all

Chris