Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2020-12-26 | core: support integer expressions in various commands | Steve Bennett | 1 | -4/+4 | |
For convenience, many commands now accept integer expressions rather than only simple integers. These are: loop, range, incr, string repeat, lrepeat, pack, unpack, rand This simplifies many cases where previously expr {} or $() was required. e.g. foreach i [range 4+1 2*$b] { ... } string repeat 2**$n a Signed-off-by: Steve Bennett <steveb@workware.net.au> | |||||
2020-06-05 | core: variable names may now contain embedded nulls | Steve Bennett | 1 | -1/+1 | |
Hash tables used to store variables are now use Jim_Obj keys rather than allocated char *, so embedded nulls are supported. This is generally a performance win as the existing Jim_Obj can be used as the key. Signed-off-by: Steve Bennett <steveb@workware.net.au> | |||||
2020-05-04 | unpack: consistent error messages | Steve Bennett | 1 | -7/+5 | |
between pack and unpack Signed-off-by: Steve Bennett <steveb@workware.net.au> | |||||
2020-05-04 | tests: Add many new additional tests for code coverage | Steve Bennett | 1 | -0/+118 | |
readdir, tty, utf8, signal, alarm, kill, file, jimsh, posix, aio, history, interp, pack, unpack, eventloop, exec, load, package, regexp, regsub Signed-off-by: Steve Bennett <steveb@workware.net.au> |