You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 20, 2026. It is now read-only.
Shorten image and type tooling; improve portability and docs
Add runtime TYPE builtin to return a value's type name (INT/FLT/STR/TNS), preserving extension types.
Add OS-aware cleanup in tests: use del on Windows and rm on other platforms.
Improve image extension:
Ensure JPEG save unwraps interpreter Value objects safely with _expect_int before writing bytes.
Expand supported image extension files list (image.py, win32.py) and library bindings.
Add SHOW helper to stdlib lib/image.asmln to open saved images on Windows.
Tidy README code block formatting for PowerShell install steps.
Update SPECIFICATION wording for identifier character ranges and tensor literal types.
- `ISINT(SYMBOL: x):INT` ; returns `1` if the identifier `x` exists and is of type `INT`, otherwise returns `0`. The argument must be an identifier; supplying any other expression is a runtime error.
345
345
- `ISSTR(SYMBOL: x):INT` ; returns `1` if the identifier `x` exists and is of type `STR`, otherwise returns `0`. The argument must be an identifier; supplying any other expression is a runtime error.
346
346
- `ISTNS(SYMBOL: x):INT` ; returns `1` if the identifier `x` exists and is of type `TNS`, otherwise returns `0`. The argument must be an identifier; supplying any other expression is a runtime error.
347
+
- `TYPE(ANY: obj):STR` ; returns the runtime type name of `obj` as a `STR` — one of `INT`, `FLT`, `STR`, or `TNS` (extension-defined type names are returned unchanged when extensions are enabled).
347
348
- `SLEN(STR: s):INT` returns the length of the supplied `STR` in characters as an `INT`. The argument must be a `STR`; passing an `INT` raises a runtime error.
348
349
- `ILEN(INT: n):INT` returns the length in binary digits of the absolute value of the supplied `INT`. `ILEN(0)` returns 1. The argument must be an `INT`; passing a `STR` raises a runtime error.
0 commit comments