Repository navigation
docs: roadmap for Ariadne scripting hosts (arix, ariglx, arisrvx) - #992
Merged
Merged
Conversation
Host variants that embed CPython with pycvc, pycvc_gl and numpy, natively and in one wasm module: what already exists (static CPython/numpy/vtk-python/pycvc_gl for wasm, the Python host in #985, VolRover3's embedded interpreter), the naming, the engine and host module, a python: block for documents with a trust rule, the arigl-py-web link and its risks, server documents and sandboxed client scripts on arisrv (RestrictedPython in worker processes), and where Lua fits later. Design only; nothing is built.
The x marks the extended host (the stock runtime plus its scripting engines), so a Lua engine can join the same binaries without the names going stale. Lua's hosting now lands in the x hosts beside Python; the stock hosts stay a separate decision.
This was referenced Nov 3, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
A design for Ariadne hosts that embed a CPython interpreter with pycvc, pycvc_gl, numpy and the science packages, natively and in one WebAssembly module, so the Python Ariadne demos and GRL-SNAM's demos run in an arigl page. Docs only:
docs/roadmap/ARIADNE_SCRIPTING_HOSTS.md. Nothing is built.What it covers
What exists (§1), checked against master and cvcpkg.org today:
Verdict: feasible. The remaining work is integration.
Names (§2):
arix,ariglx,arisrvxandariglx-web(chosen in review). Thexmarks the extended host, so Lua can join the same binaries later. Documents ask forpythoninrequires:, never for a binary.Engine (§3): a
python_enginelibrary, the_arihostbuiltin module, and anembeddedmode for pycvc_gl.ariadne: a Python host for Ariadne documents #985'sHost, so one script runs underpython app.pyandariglx run app.py.Documents (§4): a
python:block whose exports become host functions;python.*capability tokens; a trust rule (--python-allow ORIGINfor anything that isn't a local file); a console widget.Browser (§5): one link that merges arigl-web with link-host.sh, a manifest convention for wasm C-extension packages, lean and full tiers, and the Asyncify question.
arisrv (§6):
Demos and VolRover (§7), Lua later (§8), risks (§9), phases (§10).
Open questions for review
--python-allowenough (§4.3)?