The v1.7.1 process-extension model: the signed official Registry, source builds, manifests, capabilities, Protocol 1, and callable registration.
HHY 1.7.1 implementation and compatibility
1.7.1 passes local tests, four-platform CI and release validation. Language specification 1.0 remains frozen. Official sample, HTML and macOS/Linux Database 1.0.0 extensions are verified compatible. VS Code 0.2.0 and Sublime 0.1.0 retain independent versions; syntax and editor contract checks pass.
HIR, six optimization passes, integer MIR, type-feedback guards/deopt and local List scalar replacement are implemented. Explicitly enable HHY_COMPILER=ir, HHY_FEEDBACK_SPECIALIZATION=1 and HHY_SCALAR_REPLACEMENT=1; direct Bytecode remains default. Real workloads have not met default-enablement benefit gates. Scalar replacement retains original GC/quota reservations.
JSON protocol mapping for Null, Bool, numbers, String, List, and Map
DB Stream / handle / cancel
Implemented for DB 1.0
Negotiated scoped_resources, scoped handles and cancellation; DB Streams pull cursors rather than providing generic Stream transport
Public Native ABI
Not committed
Evaluate only if measurements show the process model is insufficient
A package name is its top-level namespace: package_name may register only package_name.* and cannot replace hhy.*, std.*, core callables, or another package. Importing an uninstalled package raises ModuleNotFoundError.
Extension development or a custom local dependency combination
make -C extensions/<name>, then install the local directory
sh
# Build and install from source (html example)
git clone https://github.com/hh696-wq/hhy-vm.git
cd hhy-vm
make
make -C extensions/html
./build/hhy install ./extensions/html
# Inspect installed extensions
./build/hhy list
The extension process does not receive the complete host environment; Runtime passes only arguments explicitly supplied by the script. Errors should remain actionable without including passwords, tokens, complete connection addresses, or other sensitive information.