migrate: own the text and UTF-8 sources and their baseline assertions
Move the official stdlib text modules to their unique source authority and freeze the bundle-root paths (std:text, std:text/utf8). text.utf8编码 becomes a thin wrapper over the single UTF-8 implementation in text/utf8.mq.md. Carry the pre-migration product assertions into component-owned cases with the baseline observation terminal values, plus an explicit-input test entry point (MARQDO_BIN + MARQDO_STDLIB_DIR). No parser, host or CLI change. Refs cflmy/marqdo#9, cflmy/marqdo-std-text#1
This commit is contained in:
1 parent
9f1e862953
commit
e15256300f
10 files changed
+602
-6
No files matched your search
@@ -0,0 +1,13 @@
|
||||
---
|
||||
import:
|
||||
utf8: "./text/utf8.mq.md"
|
||||
---
|
||||
|
||||
# @exec text
|
||||
## utf8编码
|
||||
|
||||
`params(文本, 内存, 基址)`
|
||||
|
||||
把 Unicode 标量序列按 UTF-8 写入 Memory,返回字节长度。
|
||||
|
||||
`return utf8.编码(文本, 内存, 基址)`
|
||||
Reference in new issue
Block a user