conformance fixtures: pure lib, plugin, kernel, provider, tool

This commit is contained in:
Marqdo Extension Fixtures committed 2026-11-21 23:41:32 +08:00
commit 40bf1f932e
31 files changed
+2361

No files matched your search

+15
View File
@@ -0,0 +1,15 @@
# @knowledge 示例数学库
## @exec 加倍
`params(x: Int)`
`return x * 2`
## @exec 双倍面积
`params(r: Int)`
调用另一个模块的纯函数,再调用本模块的 `加倍`;不需要任何 Rust/Host 改动。
`return 加倍(x=geometry.面积(r=r))`
+3
View File
@@ -0,0 +1,3 @@
project:
name: example-math
version: 0.1.0
+12
View File
@@ -0,0 +1,12 @@
---
import:
helper: "./helper.mq.md"
---
# @knowledge 几何
## @exec 面积
`params(r: Int)`
`return helper.平方(x=r)`
+7
View File
@@ -0,0 +1,7 @@
# @knowledge 基础
## @exec 平方
`params(x: Int)`
`return x * x`