Repository navigation
AlxLib 1.2.2
Patch release — carried over v1.1.0 it also holds the unreleased 1.2.0 line, so the jump spans two version steps.
The script semantics redo and the base descent (1.2.0): delete dispatches at run time — the module top layer reaches the module store, a frame deletes its own layer only, and a literal / call result / slice target is a TypeError; link data is shielded at any depth and an area's native table is not writable; a handle's m_parent is the entity that holds it, rebound recursively; = is always a store and op= resolves its target once after the RHS (P0145R3 order); bytes/string elements are int 0–255 and read-write, [null] reads the size and writes an append, and the four linear containers take a same-type count-matched slice assignment; the host probe resolves to a slot or nothing (fwrap::nload → iload); '...' is a code-point literal now ('A' = 65), with '' and multi-point forms compile errors; and aes, verify and datetime moved from libalxcore.so to libalxbase.so — the host must relink, the SONAME going .so.1.1 → .so.1.2.
The 1.2.2 round: a call scans its arguments first, then the callee's path expressions run and the address is taken — nothing runs script code between the address and the invoke; @ is an object alias, so a detour that evaluates expressions inside the reflection string (a call, a slice) is refused with NameError; a callable and a link area are not values — a copy throws wherever the walk attempts one — while the engine's own duplications take explicit clones, and a callable slot refuses assignment through every port (the @ and :: ports included); an import/link alias is an ordinary value, a copy of the instance re-bound at its binding site, with only a link's sub-data left opaque; a link copy clones its data and re-runs LINK_CREATE; exec() refuses a result holding an anyptr (released on the spot, the engine reset) while call() stays the unrestricted channel, and the engine-state rule — a run that fails during execution resets the engine — is written down, call() discarding an idle interrupt at its entry like exec(); and anyptr's copy assignment leaves a clean null handle when the copy throws.
Migration notes: no opcode or AST change anywhere in this, so vtype is untouched and .axp products need no recompilation; the SONAME stays .so.1.2. One source-level break: an existing source that used '...' as a string must be rewritten — a multi-point form is a compile error, a single-point one silently changes value. The migration record is in doc/scpt/design.md §10.1.
Build package — AlxLib-1.2.2-linux-x64-g58e1d97-slim.tar.gz (+ .sha256, 7.9 MB): the public headers, the merged static library (lib/libalxlib.a, debug info stripped), and the notices — the package the AlxRun README unpacks into lib/alxlib/. The shared libraries and per-module archives stay in the developer package and are not published; the upstream libraries are supplied by the caller.