feat(plugins): migrate Python family to TypeBox v2; complete first‑party v2 set (Regex/Net/Path/Math/Time/File)\n\nfeat(smoke): add Net round‑trip sample and wire to plugin v2 smoke\n\nfeat(cli): add --emit-mir-json and runner emit+exit path\n\nchore(config): register Python v2 boxes in nyash.toml\n\nchore(loader): improve v2 diagnostics and ensure v2 shim dispatch\n\nchore(build): integrate ny-llvmc env gate in build_llvm.sh\n\nchore(tasks): update CURRENT_TASK with v2 Python/Net/emit flag

This commit is contained in:
Selfhosting Dev
2025-09-17 22:01:29 +09:00
parent fcf8042622
commit 8aa01668ff
19 changed files with 1782 additions and 19 deletions

View File

@ -0,0 +1,12 @@
// Plugin v2 functional smoke (regex + response only)
local r = new RegexBox()
r.compile("h.llo")
print(r.isMatch("hello"))
print(r.isMatch("HALLO"))
local resp = new ResponseBox()
resp.setStatus(201)
resp.setHeader("X-Test", "ok")
resp.write("body-123")
print(resp.getStatus())
print(resp.readBody())