8 - Some support for Object-Oriented programming, including:
9 - A new `this' keyword.
10 - An abbreviated way of defining hashes (ala JavaScript).
12 - Several fixes to for() construction: fixed incorrect
13 calling order and for (;;) is accepted for infinite loops.
18 - A new C-like for() control flow construction.
19 - Updated to match MPDM refactoring (no more sweeping /
21 - New multithreading support:
22 - A function can be prefixed with & (ampersand) to execute
23 it in a new thread; the new thread handler is returned.
24 - Support for mutex values.
25 - Support for semaphore values.
26 - Any function argument not explicitly declared and
27 sent as argument in the function call is stored
28 in the local array _ (underscore).
29 - The adel() function no longer returns the deleted element.
30 - mpsl_compile_file() now has an additional argument
31 holding the source file search path.
32 - The following functions had had their arguments swapped:
44 * New syntax for _inverse_ calling functions; the new
45 construction `val1->func(val2)' is equivalent
46 to `func(val1, val2)'. This way, chained function
47 calls where the first argument of one is the return
48 of the other are much easier to write and understand.
49 * Numbers prefixed by `0b' are accepted as binary numbers
50 and `sprintf()' accepts `%b' to print them.
51 * New operands >> and << (bit shifting).
52 * New operands &=, |= and ^=, <<= and >>=.
53 * New operand ** (power).
54 * New function `random()'.
55 * New trapping functionality.
60 * New function `sscanf()'.
61 * New function `compile()', to compile a string of MPSL code
62 to an executable value.
63 * New function `bincall()', to create an executable value
64 given a pointer to binary code.
65 * The `mpsl' executable now ignores the first line of an MPSL
66 script if it starts with #!.
67 * Real numbers can be expressed in scientific notation.
72 * The `write()' allows a variable argument of values to write.
73 * Values are dumped as MPSL instead of MPDM's low-level format.
74 * New function `chdir()'.
79 * Fixed a strange but annoying bug regarding local variables
80 losing their values in anonymous subroutines.
85 * New `g' flag in regex().
86 * Fix backslash parsing in strings.
91 * The iterator variable in foreach() is _always_ created
92 as a local variable inside the block. Also, the old
93 construction foreach(local v, ...) issues a warning,
99 * Anonymous subroutines now run inside a block frame
100 instead of a subroutine frame. This way, they can have
101 access to local variables defined in the subroutine
102 they are called from. So, for example, if you run
103 map() inside a subroutine, its anonymous code block
104 can access the local variables defined there.
105 * getenv() doesn't crash if the environment variable
111 * Small internal refactoring regarding subroutine and
112 block frames. Frame creation code has been unified,
113 so block frames don't crash when a NULL local symbol
114 table is sent as argument, and can have arguments.
115 This change is not visible from outside; only a step
116 towards closing bug #1107.