Extend network stack: session/auth, WebSocket, cookie/multipart primitives

Add the network-extension wave to lib/net and the web ABI plugin:
- lib/net cookie_parse / multipart_parse host primitives (EN/ZH)
- plugins/web session store + /admin login gate + WebSocket client/server
- ext/web author surface (EN/ZH) for session, auth, ws
- form update flow and page-level validation echo tests
- fix string escapes: \xHH, \u{...}, unknown escapes kept verbatim
- map Chinese component slots (导航/侧栏/页脚) so sidebar renders
- resolve relative static/db paths against the entry script dir (entry_dir)
- new tutorial chapter 14, EN/ZH example sites, and gold tests

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
cflmyandCursor committed 2026-08-25 14:58:46 +08:00
1 parent 7dfa161422
commit 7645dd4c1f
47 files changed
+3380 -75

No files matched your search

+12 -1
View File
@@ -5,5 +5,16 @@ title: quoted string literal
# main
*s = "a\nb"*
> print text=`s`
*s2 = "hex \x22 quote\x27 single"*
> print text=`s2`
*s3 = "\u{4e2d}\u{6587}"*
> print text=`s3`
*s4 = "keep \q verbatim"*
> print text=`s4`
*s5 = "\x41\x42\x43"*
> print text=`s5`