migrate: own format/io/console/stream sources and preserve the print alias target

Move the official stdlib IO modules to their unique source authority and keep
the frozen public paths, including io.mq.md#写值 as the official print/打印 alias
target. Carry the pre-migration product assertions into component cases with
real resource-endpoint evidence for console.

Refs cflmy/marqdo#9, cflmy/marqdo-std-io#1
This commit was merged in pull request #2.
This commit is contained in:
cflmy committed 2026-11-26 23:30:27 +08:00
1 parent 945e76eed8
commit e18b0b1b40
16 files changed
+1043 -6

No files matched your search

+36
View File
@@ -0,0 +1,36 @@
{
"schema": "marqdo.stdlib-test-case",
"schema_version": 1,
"name": "format",
"file": "format.mq.md",
"require_module": "format.mq.md",
"args": [],
"stdin": "",
"env": {},
"expected_stdout": "",
"expected_terminal": {
"items": [
{
"decimal": "3",
"type": "int"
},
{
"type": "text",
"value": "[\"文本\", 2, 1.5]"
},
{
"type": "text",
"value": "{a: 1}"
},
{
"type": "text",
"value": "[\"a\", 2]"
},
{
"type": "text",
"value": "None"
}
],
"type": "list"
}
}